GetSimple Support Forum

Full Version: Problems with 'Send Email'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!!
I´m testing the template Cardinal, that have in template the possibility of contacting; and when 'Send Email' I get the following errors:

Notice: Undefined variable: urls in /var/www/pruebas/admin/inc/theme_functions.php on line 83

Notice: Undefined index: subject in /var/www/pruebas/admin/inc/contactform.php on line 46


I have added the file /data/other/debug.xml to enable full PHP errors to help debug, as says in http://get-simple.info/theme-developer-tips; because when 'Send Email' nothing happened, and appears the following error:
Quote:Oops! Page not found!

We are sorry, but the page you are looking for does not exist.

It is because try to go to, http://pruebas/index.php?id=



Do you Know why happens it?

Thanks and regards.
ops... I think I know what happens...
The errors Notice:... appear when I create the file debug.xml, if delete it, no error.


But the following error continues to appear:
Quote:Oops! Page not found!

We are sorry, but the page you are looking for does not exist.

It is because try to go to, http://pruebas/index.php?id=


What should happen when we send email?
Where are the messages from your contacts?

Regards.
I have solved the problem, substituting in the template the following:

<form action="<?php get_page_url(); ?>" method="post" class="contactform" >

by
<form action="index.php?id=<?php get_page_slug(); ?>" method="post" class="contactform" >

Now 'Send Email' works good, but i dodn´t know if it´s right....

Regards.
That's rather odd.

What is your "Fancy URL's" setting?
cumbe - that should work fine, even if in the future you change to use fancy URLs. Glad to see it working.
Ok ccagle8 Smile.

internet54: fancy urls=off.

Regards.