internal server error [message #14250] |
Tue, 11 November 2003 12:07 |
bobmurphy
Messages: 166 Registered: November 2003 Location: ireland
Karma: 0
|
Senior Member |
|
|
i am on the installation step and when i hit the next button i get an internatl server error - yet when i got to my site error log it shows no errors - i have mailed my host to find out if they have any theories as to why but do you have any ideas
|
|
|
Re: internal server error [message #14260 is a reply to message #14250] |
Tue, 11 November 2003 15:21 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I presume you are using php CGI or FastCGI?
Try installing FUDforum 2.6.0RC4.
FUDforum Core Developer
|
|
|
|
Re: internal server error [message #14272 is a reply to message #14269] |
Tue, 11 November 2003 17:29 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You are using CGI version, which would explain the problem.
Well, in some respects 2.6.0RC4 is more stable then 2.5.2 and in some it is not. If you are starting a new forum go ahead ans install RC4 and then upgrade to 2.6.0 stable when it comes out.
FUDforum Core Developer
|
|
|
|
Re: internal server error [message #14276 is a reply to message #14274] |
Tue, 11 November 2003 18:47 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
FUDforum does in fact place .htaccess file, hower in RC4 installer is it done ONLY for apache & apache2handler sapis not for the CGI ones.
FUDforum Core Developer
|
|
|
Re: internal server error [message #14277 is a reply to message #14276] |
Tue, 11 November 2003 18:49 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Try running the following script and see what you get:
<?php var_dump(PHP_SAPI); ?>
FUDforum Core Developer
|
|
|
|
Re: internal server error [message #14281 is a reply to message #14278] |
Tue, 11 November 2003 18:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Ok so let's see... You've downloaded FUDforum 2.6.0RC4 and after filling out the paths (1st step of the installer) you get error 500 when you click next?
Please open install.php and look for function called htaccess_handler()
the 2nd line of that function should be:
if (!fud_ini_get('allow_url_fopen') || strncmp(PHP_SAPI, 'apache', 6)) {
is that the case?
FUDforum Core Developer
|
|
|
|
Re: internal server error [message #14286 is a reply to message #14281] |
Tue, 11 November 2003 19:17 |
bobmurphy
Messages: 166 Registered: November 2003 Location: ireland
Karma: 0
|
Senior Member |
|
|
i think that it's really the first line of that function ....
function htaccess_handler($web_root, $ht_pass)
{
if (!fud_ini_get('allow_url_fopen') || strncmp(PHP_SAPI, 'apache', 6)) {
unlink($ht_pass);
return;
}
if (version_compare(PHP_VERSION, "4.3.0", ">=")) {
/* opening a connection to itself should not take more then 5 seconds */
ini_set("default_socket_timeout", 5);
if (@fopen($web_root . 'index.php', 'r') === FALSE) {
unlink($ht_pass);
}
} else {
$url = parse_url($web_root);
if (!($fp = @fsockopen($url['host'], (isset($url['port']) ? $url['port'] : 80), $err, $err2, 5))) {
................
|
|
|
Re: internal server error [message #14287 is a reply to message #14286] |
Tue, 11 November 2003 19:28 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If you get an error when you 1st try to access install.php then we've got a different problem all together.
Inside the directory where install.php resides put php.ini file with the following content:
error_reporting = E_ALL
display_errors = 1
display_startup_errors = 1
error_log = /domains/o/n/oneweekofdays.com/public_html/forum/php_errors
Then rerun the script, after it gives you the error, check the /domains/o/n/oneweekofdays.com/public_html/forum/php_errors for the actual error information.
FUDforum Core Developer
|
|
|
|
Re: internal server error [message #14289 is a reply to message #14288] |
Tue, 11 November 2003 20:31 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
What I was trying to get is to make your PHP log errors so that we could see what is causing the "Internal Server Error (error 500)" on your server.
FUDforum Core Developer
|
|
|
|
|
Re: internal server error [message #14293 is a reply to message #14290] |
Tue, 11 November 2003 20:44 |
Olliver
Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
More about error codes and other HTTP features see
here, as it's always useful to know what exactly is happening on the server.
Olliver
PS: rather a big document, may take a few seconds to load on slow connections
|
|
|
|
Re: internal server error [message #14295 is a reply to message #14294] |
Tue, 11 November 2003 20:51 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, it could be because PHP-cgi is unable to open install.php.
Consider this, I tried to access http://www.oneweekofdays.com/this_script_does_not_exists.php (I doubt this file exists).
The error I recieved was
"Internal Server Error, this is an error with your script, check your error log for more information."
Which is identical to the one you get when trying to install FUDforum.
When go to step #2 where the error occurs, what is the address URL and what is the address (URL) of the install.php you access initially. The error could be due to the installer not redirecting you to the correct location.
FUDforum Core Developer
|
|
|
|
|
Re: internal server error [message #14298 is a reply to message #14297] |
Tue, 11 November 2003 21:15 |
bobmurphy
Messages: 166 Registered: November 2003 Location: ireland
Karma: 0
|
Senior Member |
|
|
the website error log is the one that i have been referring to up to now ( nothing on there about the internal server error at all ) - i do not know how to access the php error log
in fact from my website control pannel i only have an option to look at one error log ---- that is --- Quote: | Error Log View this virtual server's error log
|
[Updated on: Tue, 11 November 2003 21:18] Report message to a moderator
|
|
|
|
Re: internal server error [message #14300 is a reply to message #14299] |
Tue, 11 November 2003 21:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Dunno... The basic checks that I had in mind do not appear to reveal any information. If you want give me access to the account and I can try to see how this problem can be resolved.
FUDforum Core Developer
|
|
|
|
Re: internal server error [message #14302 is a reply to message #14301] |
Tue, 11 November 2003 22:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
That's correct, you can send them via a private message or e-mail them.
FUDforum Core Developer
|
|
|
|
|
|
Re: internal server error [message #14318 is a reply to message #14314] |
Wed, 12 November 2003 13:03 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, the error itself indicates that the PHP's zlib function was unable to decompress the archive. This could be the result of a corrupt archive or broken PHP.
FUDforum Core Developer
|
|
|
|
|
|
|
Re: internal server error [message #14340 is a reply to message #14339] |
Wed, 12 November 2003 17:14 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The next release will have the problem fixed, so it is not an ISP issue per say. However, PHP running as CGI with a memory limit is somewhat buggy, which is what had caused problems for the installer originally.
FUDforum Core Developer
|
|
|
|
Re: internal server error [message #14345 is a reply to message #14344] |
Wed, 12 November 2003 18:10 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Use the admin control "Lock/Unlock Forum's Files" to unlock forum's files. That'll fix the problem.
FUDforum Core Developer
|
|
|
|
Re: internal server error [message #14347 is a reply to message #14346] |
Wed, 12 November 2003 18:42 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You should've left the files unlocked.
To resolve the situation simple chmod the forum's main & adm directories 0711 and then unlock the forum yet again.
FUDforum Core Developer
|
|
|
|