Skinning and designing Serendipity (CSS, HTML, Smarty)
- Posts: 16
- Joined: Wed Nov 09, 2005 6:12 pm
how to handle with following error message?
Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 2010 is not allowed to access /hp/aa/ab/na/www//templates/perun_red/img/ owned by uid 33 in /hp/aa/ab/na/www/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 225
is it something I can change or do I have to contact my hosting provider?
- Core Developer
- Posts: 30020
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
Actually, using Spartacus with SafeMode is hard to achieve, if not impossible. For that, your provider needs to setup PHP so, that files created by PHP can also be accessed by the scripts you uploaded via FTP.
So either PHP needs to create files as the owner of your FTP username, or your FTP username needs to be able to change the owner of the PHP files to the ownername of the Webserver user.
I don't think that's really possible, so the only really way would be to disable safemode, and tell your provider to only apply open_basedir restrictions. Safemode will be removed in PHP6 and isn't really a good mean today...