I loaded phpformgen v2.09. I produced a form, and when I hit submit form button this page comes up:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mbnatural.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.mbnatural.com Port 80
*******************************************************************************************
I checked my error log and it has this listing:
*******************************************************************************************
[Thu Sep 20 13:22:47 2007] [error] [client 72.192.81.223] File does not exist: /home/mbnat3/public_html/500.shtml
[Thu Sep 20 13:22:47 2007] [error] [client 72.192.81.223] Premature end of script headers: /home/mbnat3/public_html/phpFG/use/CustomerInformation/process.php
*******************************************************************************************
I also, ran a linkscan which came up with this:
*******************************************************************************************
00001 <form enctype='multipart/form-data' action='process.php' method='post'>
00001 Possible Error: 500 Server Error phpFG/use/CustomerInformation/process.php <Form>
So can anyone tell me where I went wrong.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can not tell you where you went wrong except it probably was not you. Have you contacted your host to explain what you are doing and what went wrong? I can tell you I have used this version extensively and do not have any issues.
You can try running very simple php scripts like "Hello World".
hello.php
<?php
echo "Hello World";
?>
<?php
function ss_timing_start ($name = 'default') {
global $ss_timing_start_times;
$ss_timing_start_times[$name] = explode(' ', microtime());
}
function ss_timing_stop ($name = 'default') {
global $ss_timing_stop_times;
$ss_timing_stop_times[$name] = explode(' ', microtime());
}
function ss_timing_current ($name = 'default') {
global $ss_timing_start_times, $ss_timing_stop_times;
if (!isset($ss_timing_start_times[$name])) {
return 0;
}
if (!isset($ss_timing_stop_times[$name])) {
$stop_time = explode(' ', microtime());
}
else {
$stop_time = $ss_timing_stop_times[$name];
}
// do the big numbers first so the small ones aren't lost
$current = $stop_time[1] - $ss_timing_start_times[$name][1];
$current += $stop_time[0] - $ss_timing_start_times[$name][0];
return $current;
}
I loaded phpformgen v2.09. I produced a form, and when I hit submit form button this page comes up:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mbnatural.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.mbnatural.com Port 80
*******************************************************************************************
I checked my error log and it has this listing:
*******************************************************************************************
[Thu Sep 20 13:22:47 2007] [error] [client 72.192.81.223] File does not exist: /home/mbnat3/public_html/500.shtml
[Thu Sep 20 13:22:47 2007] [error] [client 72.192.81.223] Premature end of script headers: /home/mbnat3/public_html/phpFG/use/CustomerInformation/process.php
*******************************************************************************************
I also, ran a linkscan which came up with this:
*******************************************************************************************
00001 <form enctype='multipart/form-data' action='process.php' method='post'>
00001 Possible Error: 500 Server Error phpFG/use/CustomerInformation/process.php <Form>
So can anyone tell me where I went wrong.
I can not tell you where you went wrong except it probably was not you. Have you contacted your host to explain what you are doing and what went wrong? I can tell you I have used this version extensively and do not have any issues.
You can try running very simple php scripts like "Hello World".
hello.php
<?php
echo "Hello World";
?>
or display lots of php environment stuff
phpenv.php
<html><body><center>
<a href="/a/">Back</a><br><br>
<?php
function ss_timing_start ($name = 'default') {
global $ss_timing_start_times;
$ss_timing_start_times[$name] = explode(' ', microtime());
}
function ss_timing_stop ($name = 'default') {
global $ss_timing_stop_times;
$ss_timing_stop_times[$name] = explode(' ', microtime());
}
function ss_timing_current ($name = 'default') {
global $ss_timing_start_times, $ss_timing_stop_times;
if (!isset($ss_timing_start_times[$name])) {
return 0;
}
if (!isset($ss_timing_stop_times[$name])) {
$stop_time = explode(' ', microtime());
}
else {
$stop_time = $ss_timing_stop_times[$name];
}
// do the big numbers first so the small ones aren't lost
$current = $stop_time[1] - $ss_timing_start_times[$name][1];
$current += $stop_time[0] - $ss_timing_start_times[$name][0];
return $current;
}
ss_timing_start();
phpinfo();
ss_timing_stop();
?>
<hr><br><font color="red" size=4> The page was executed in: <?php echo ss_timing_current();?> seconds. </font><br><br>
<a href="/a/">Back</a>
</center></body></html>