Posted by Petr Kodytek on 10/14/05 12:21
darren kirby wrote:
>quoth the Petr Kodytek:
>
>
>>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
>>
>>
>
>First thing to check is that your server has permissions to read the script,
>as there seems to be a permissions problem here. More details about your
>server setup might help to diagnose this further...
>
>-d
>
>
When I open 404.phtml directly from browser ererything gone OK, no error
message displayed.
It looks like a different access method to the script on 404 error.
I've tryed to create 404 script by
other php script (to get server process uid on file), but it's still not
working.
--
kody
[Back to original message]
|