- Impact
- 9
We had our server changed from dso to
Default PHP Version (.php files) 5
PHP 5 Handler suphp
PHP 4 Handler none
Apache suEXEC on
And 2 months later I see a Form that is no longer working.. the page the form is on gets a Internal Server Error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
The Form pulls from a mysql database and puts all the data in csv format for the user for download.
There are three "pages"
the config.php
csv.php
formpage.php
The Config has the data to access the db
"<?php
defined("MYSQL_SERVER") or define("MYSQL_SERVER","localhost");
defined("MYSQL_DB") or define("MYSQL_DB","db_name");
defined("MYSQL_USER") or define("MYSQL_USER","db_user1");
defined("MYSQL_PASS") or define("MYSQL_PASS","thedbpass");
?>"
and then the csv.php and formpage.php have in the header..
<?php
include('config.php');
$db = new mysqli(MYSQL_SERVER,MYSQL_USER,MYSQL_PASS,MYSQL_DB) or die(header('HTTP/1.1 500 Internal Server Error'));
$db->set_charset("utf8");
Cant get anything anymore except the error message..
So Far I have tried
Setting up new user with full db access, new password
Tried changing permission to all 3 "pages" to 777 (just temp as I test)
and still get the Internal Server error message..
Ideas? Suggestions? I've googled and not able to zero in on the problem..the guy that wrote the script/form for me is a NP member but he hasn't posted in a couple months ..cant reach him
Rest of the site and scripts works just fine
Default PHP Version (.php files) 5
PHP 5 Handler suphp
PHP 4 Handler none
Apache suEXEC on
And 2 months later I see a Form that is no longer working.. the page the form is on gets a Internal Server Error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
The Form pulls from a mysql database and puts all the data in csv format for the user for download.
There are three "pages"
the config.php
csv.php
formpage.php
The Config has the data to access the db
"<?php
defined("MYSQL_SERVER") or define("MYSQL_SERVER","localhost");
defined("MYSQL_DB") or define("MYSQL_DB","db_name");
defined("MYSQL_USER") or define("MYSQL_USER","db_user1");
defined("MYSQL_PASS") or define("MYSQL_PASS","thedbpass");
?>"
and then the csv.php and formpage.php have in the header..
<?php
include('config.php');
$db = new mysqli(MYSQL_SERVER,MYSQL_USER,MYSQL_PASS,MYSQL_DB) or die(header('HTTP/1.1 500 Internal Server Error'));
$db->set_charset("utf8");
Cant get anything anymore except the error message..
So Far I have tried
Setting up new user with full db access, new password
Tried changing permission to all 3 "pages" to 777 (just temp as I test)
and still get the Internal Server error message..
Ideas? Suggestions? I've googled and not able to zero in on the problem..the guy that wrote the script/form for me is a NP member but he hasn't posted in a couple months ..cant reach him
Rest of the site and scripts works just fine





