|
Re: Install issue [message #4243 is a reply to message #4239] |
Fri, 19 July 2002 18:21 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
How big is the decompressed archive file?
FUDforum Core Developer
|
|
|
|
|
Re: Install issue [message #4248 is a reply to message #4246] |
Fri, 19 July 2002 20:12 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
True, BUT
inside install.php there is also:
if( !isset($HTTP_SERVER_VARS['PATH_TRANSLATED']) && isset($HTTP_SERVER_VARS['SCRIPT_FILENAME']) )
$HTTP_SERVER_VARS['PATH_TRANSLATED'] = $GLOBALS['HTTP_SERVER_VARS']['PATH_TRANSLATED'] = $HTTP_SERVER_VARS['SCRIPT_FILENAME'];
That will try to create PATH_TRANSLATED if it is not avaliable.
Does your system have SCRIPT_FILENAME variable?
FUDforum Core Developer
|
|
|
Re: Install issue [message #4249 is a reply to message #4244] |
Fri, 19 July 2002 20:13 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
kolerij wrote on Fri, 19 July 2002 14:41 | If you're referring to the install.php file, about 2,939 KB.
That is from the FUDforum2_20020712 build.
Is that what your mean?
|
Yeah.
FUDforum Core Developer
|
|
|
|
Re: Install issue [message #4251 is a reply to message #4250] |
Fri, 19 July 2002 20:18 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Oh I see, you are running PHP as cgi module right?
Here is a possible fix:
change
if( !isset($HTTP_SERVER_VARS['PATH_TRANSLATED']) && isset($HTTP_SERVER_VARS['SCRIPT_FILENAME']) )
$HTTP_SERVER_VARS['PATH_TRANSLATED'] = $GLOBALS['HTTP_SERVER_VARS']['PATH_TRANSLATED'] = $HTTP_SERVER_VARS['SCRIPT_FILENAME'];
to
if( !isset($HTTP_SERVER_VARS['PATH_TRANSLATED']) ) {
if( isset($HTTP_SERVER_VARS['SCRIPT_FILENAME']) )
$HTTP_SERVER_VARS['PATH_TRANSLATED'] = $GLOBALS['HTTP_SERVER_VARS']['PATH_TRANSLATED'] = $HTTP_SERVER_VARS['SCRIPT_FILENAME']
else
$HTTP_SERVER_VARS['PATH_TRANSLATED'] = $GLOBALS['HTTP_SERVER_VARS']['PATH_TRANSLATED'] = realpath('install.php');
}
If it works, please let me know.
FUDforum Core Developer
|
|
|
Re: Install issue [message #4252 is a reply to message #4251] |
Fri, 19 July 2002 20:19 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If possible, could you give me URL to phpinfo() on your server or if not send me the html output of the function via forum PM or email (ilia(at)prohost(dot)org).
FUDforum Core Developer
|
|
|
|
Re: Install issue [message #4254 is a reply to message #4253] |
Fri, 19 July 2002 20:26 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Interesting, which version of PHP is this?
FUDforum Core Developer
|
|
|
|
|
|
Re: Install issue [message #4258 is a reply to message #4257] |
Fri, 19 July 2002 20:49 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You definately want to upgrade, because php < 4.1.0 contains a remote buffer exploit vunreability via file upload as well as other security related bugs.
FUDforum Core Developer
|
|
|
|
Re: Install issue [message #4260 is a reply to message #4259] |
Fri, 19 July 2002 21:01 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Good policy, although usually security faults are something that force your hand a little bit.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
|
|
|