[pmwiki-users] Imsets

Patrick R. Michaud pmichaud at pobox.com
Tue Mar 28 09:59:16 CST 2006


On Tue, Mar 28, 2006 at 01:04:03PM +0100, Firefly wrote:
>    Ok it was working but all of a sudden ive got this error
> 
>    Warning: filesize(): SAFE MODE Restriction in effect. The script whose uid
>    is 10066 is not allowed to access
>    uploads/ImageSets/Durn1/gir.pig.flyingmsn.jpg owned by uid 2525 in
>    /usr/local/psa/home/vhosts/fromunda.34sp.com/httpdocs/cookbook/imgset.php
>    on line 239
> 
>    and im not sure why becase ive not done anything to it. Whats the uid? And
>    why does it want to do that like that?

SAFE_MODE restrictions are a real pain to work with.  In this case
PHP is complaining that owner of the upload file doesn't match the
owner of the script, and is therefore blocking access to the file.

Since the webserver runs as a different user than the person who
owns the account, there's not much that PmWiki can do about these
situations.  You may need to see if you can get SAFE_MODE disabled
somehow.

Pm




More information about the pmwiki-users mailing list