#34870 [Fbk->Csd]: 404 ErrorDocument in safe mode
ID: 34870 User updated by: petr at kodytek dot net Reported By: petr at kodytek dot net -Status: Feedback +Status: Closed Bug Type: Safe Mode/open_basedir Operating System: linux PHP Version: 5.1.0RC1 New Comment: 5.1.0RC2-dev looks to be OK. So I'm closing this BUG. Thanx. Previous Comments: [2005-10-14 13:13:07] petr at kodytek dot net OK, I'll try to use it and I'll send a report. Thanx. [2005-10-14 13:04:36] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Works perfectly fine here. [2005-10-14 12:53:36] petr at kodytek dot net I think that it's not OK, i can't find way to run ErrorDocument script on 404 error. UID of script who calls 404.phtml is different in each access. [2005-10-14 12:05:24] [EMAIL PROTECTED] The eror message is quite clear, isn't it ? ---- [2005-10-14 11:54:59] petr at kodytek dot net Description: If Apache server uses PHP script as 404 ErrorDocument returns following error message when 404 Error invoked. Previous versions of PHP are gone OK. Direct access to the script is OK and it's running fine accessing by URL. Expected result: running script Actual result: -- Warning: Unknown: SAFE MODE Restriction in effect. The script whose uid is 2286 is not allowed to access /path/to/404.phtml owned by uid 23708 in Unknown on line 0 Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Warning: Unknown: Failed opening '/path/to/404.phtml' for inclusion (include_path='.') in Unknown on line 0 -- Edit this bug report at http://bugs.php.net/?id=34870&edit=1
#34870 [Fbk->Opn]: 404 ErrorDocument in safe mode
ID: 34870 User updated by: petr at kodytek dot net Reported By: petr at kodytek dot net -Status: Feedback +Status: Open Bug Type: Safe Mode/open_basedir Operating System: linux PHP Version: 5.1.0RC1 New Comment: OK, I'll try to use it and I'll send a report. Thanx. Previous Comments: [2005-10-14 13:04:36] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Works perfectly fine here. [2005-10-14 12:53:36] petr at kodytek dot net I think that it's not OK, i can't find way to run ErrorDocument script on 404 error. UID of script who calls 404.phtml is different in each access. [2005-10-14 12:05:24] [EMAIL PROTECTED] The eror message is quite clear, isn't it ? ---- [2005-10-14 11:54:59] petr at kodytek dot net Description: If Apache server uses PHP script as 404 ErrorDocument returns following error message when 404 Error invoked. Previous versions of PHP are gone OK. Direct access to the script is OK and it's running fine accessing by URL. Expected result: running script Actual result: -- Warning: Unknown: SAFE MODE Restriction in effect. The script whose uid is 2286 is not allowed to access /path/to/404.phtml owned by uid 23708 in Unknown on line 0 Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Warning: Unknown: Failed opening '/path/to/404.phtml' for inclusion (include_path='.') in Unknown on line 0 -- Edit this bug report at http://bugs.php.net/?id=34870&edit=1
#34870 [Bgs->Opn]: 404 ErrorDocument in safe mode
ID: 34870 User updated by: petr at kodytek dot net Reported By: petr at kodytek dot net -Status: Bogus +Status: Open Bug Type: Safe Mode/open_basedir Operating System: linux PHP Version: 5.1.0RC1 New Comment: I think that it's not OK, i can't find way to run ErrorDocument script on 404 error. UID of script who calls 404.phtml is different in each access. Previous Comments: [2005-10-14 12:05:24] [EMAIL PROTECTED] The eror message is quite clear, isn't it ? [2005-10-14 11:54:59] petr at kodytek dot net Description: If Apache server uses PHP script as 404 ErrorDocument returns following error message when 404 Error invoked. Previous versions of PHP are gone OK. Direct access to the script is OK and it's running fine accessing by URL. Expected result: running script Actual result: -- Warning: Unknown: SAFE MODE Restriction in effect. The script whose uid is 2286 is not allowed to access /path/to/404.phtml owned by uid 23708 in Unknown on line 0 Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Warning: Unknown: Failed opening '/path/to/404.phtml' for inclusion (include_path='.') in Unknown on line 0 -- Edit this bug report at http://bugs.php.net/?id=34870&edit=1
#34870 [NEW]: 404 ErrorDocument in safe mode
From: petr at kodytek dot net Operating system: linux PHP version: 5.1.0RC1 PHP Bug Type: Safe Mode/open_basedir Bug description: 404 ErrorDocument in safe mode Description: If Apache server uses PHP script as 404 ErrorDocument returns following error message when 404 Error invoked. Previous versions of PHP are gone OK. Direct access to the script is OK and it's running fine accessing by URL. Expected result: running script Actual result: -- Warning: Unknown: SAFE MODE Restriction in effect. The script whose uid is 2286 is not allowed to access /path/to/404.phtml owned by uid 23708 in Unknown on line 0 Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Warning: Unknown: Failed opening '/path/to/404.phtml' for inclusion (include_path='.') in Unknown on line 0 -- Edit bug report at http://bugs.php.net/?id=34870&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34870&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34870&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34870&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=34870&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=34870&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34870&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34870&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34870&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34870&r=support Expected behavior: http://bugs.php.net/fix.php?id=34870&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34870&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34870&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=34870&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34870&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=34870&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34870&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34870&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34870&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34870&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34870&r=mysqlcfg