Page 1 of 1

How to import images?

Posted: Fri May 25, 2018 3:52 am
by anglenora2022
Here is the error I get from Serendipity:

Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid/gid is 10096/10001 is not allowed to access /home/httpd/vhosts/tersiocity.com/httpdocs/blog/uploads owned by uid/gid 48/48 in /home/httpd/vhosts/tersiocity.com/httpdocs/blog/serendipity_admin_images.inc.php on line 210

I am new to Serendipity, and do not own the host machine. I received the full path to the imagemagick convert directory. I have tried to set the permissions of the upload dir, but get a permission denied. Any help appreciated.

Re: How to import images?

Posted: Fri May 25, 2018 8:56 am
by yellowled
anglenora2022 wrote: Fri May 25, 2018 3:52 amWarning: fopen(): SAFE MODE Restriction in effect. […]I have tried to set the permissions of the upload dir, but get a permission denied.
That's just it. The host you're on uses PHP safe mode, kind of a security "extension" which likely keeps you from changing permissions. That will likely make more problems in the future, but that's not something we can help you with. You'll need to talk to your web host about this. Also, as far as I know, safe mode was removed from PHP in version 5.4, so your web host is running a horribly outdated PHP version, that no longer receives even security updates (a current version that works well with s9y is 7.0.30).

YL