I have recently installed Windows Server 2008 at my house. I have configured PHP (with short tags) MySQL, and phpMyAdmin. I set up everything correctly ( I tested my settings by setting up wordpress) However, on my contact form on my website, I get a 500
error page when I press submit. When I fill partial of the fields in, then it prompts me to fix the "empty" spaces however when I fill in all fields and press submit that's when I get an 500 error page. Any ideas? This php contact form worked fine through
my hostgator account. So I know it's not the form.
You will want to check your php.ini configuration file for the SMTP server settings. You'll need to specify an SMTP server if there is not one specified.
You may also want to turn on "display_errors" to get the actual error message from PHP.
6 Posts
PHP Contact error-500
Sep 14, 2009 03:34 AM|dmayer|LINK
I have recently installed Windows Server 2008 at my house. I have configured PHP (with short tags) MySQL, and phpMyAdmin. I set up everything correctly ( I tested my settings by setting up wordpress) However, on my contact form on my website, I get a 500 error page when I press submit. When I fill partial of the fields in, then it prompts me to fix the "empty" spaces however when I fill in all fields and press submit that's when I get an 500 error page. Any ideas? This php contact form worked fine through my hostgator account. So I know it's not the form.
Thanks,
Danny
202 Posts
Re: PHP Contact error-500
Sep 14, 2009 12:32 PM|ServerIntellect_BH|LINK
Danny,
You will want to check your php.ini configuration file for the SMTP server settings. You'll need to specify an SMTP server if there is not one specified.
You may also want to turn on "display_errors" to get the actual error message from PHP.
Hope this helps!