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
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972

Attachment: pgp8pIyqOJf8w.pgp
Description: PGP signature

Reply via email to