Problems with 'Send Email' - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Problems with 'Send Email' (/showthread.php?tid=285) |
Problems with 'Send Email' - cumbe - 2010-01-09 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! Do you Know why happens it? Thanks and regards. Problems with 'Send Email' - cumbe - 2010-01-09 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! What should happen when we send email? Where are the messages from your contacts? Regards. Problems with 'Send Email' - cumbe - 2010-01-09 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. Problems with 'Send Email' - internet54 - 2010-01-10 That's rather odd. What is your "Fancy URL's" setting? Problems with 'Send Email' - ccagle8 - 2010-01-10 cumbe - that should work fine, even if in the future you change to use fancy URLs. Glad to see it working. Problems with 'Send Email' - cumbe - 2010-01-10 Ok ccagle8 . internet54: fancy urls=off. Regards. |