Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with 'Send Email'
#1
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.
Reply
#2
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.
Reply
#3
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.
Reply
#4
That's rather odd.

What is your "Fancy URL's" setting?
Clients always want to be able to change the content of their pages, but they are unwilling to do so.

Have you ever coded in your underwear before?
Reply
#5
cumbe - that should work fine, even if in the future you change to use fancy URLs. Glad to see it working.
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#6
Ok ccagle8 Smile.

internet54: fancy urls=off.

Regards.
Reply




Users browsing this thread: 1 Guest(s)