404 ErrorDocument in safe mode

From: Date: Thu, 13 Oct 2005 09:34:15 +0000
Subject: 404 ErrorDocument in safe mode
Groups: php.general 
Request: Send a blank email to php-general+get-224023@lists.php.net to get a copy of this message
Hallo, I've problem with 404 ErrorDocument in safe mode on version 5.1.0RC1. I'm using error script to redirect nonexisting URLs to pages with content from database (something like mod_rewrite). After when my webhosting provider upgrades to 5.1.0RC1 my pages returns this error message : ================================================================================================ *Warning*: Unknown: SAFE MODE Restriction in effect. The script whose uid is 46790 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 *================================================================================================ Note : /path/to/404.phtml is not real path, I'm changed it only for illustration * *When I'm trying to open 404.phtml script directly from browser everything gone OK. Have anyone idea to fix this. Sorry for my English. -- Kody

« previous php.general (#224023) next »