Image

Imagesirstompsalot wrote in Imagephp

SAFE MODE Restriction in effect. The script whose uid is 505 is not allowed to access /home/virtual/path__/var/www/html/mysite.com/foldername owned by uid 48

Though I've been developing for years, this is the absolute first time I've ever had to work with safe mode. I've checked the PHP docs on safe mode, and I just need confirmation before I start revamping someone else's code.

I have taken over a site, that, for some unknown reason, has a couple hundred files in a couple hundred more directories. Here's my question:

Currently, the files are being stored on mysite.com/foldername/. The file trying to unlink these files are in mysite.com/main/myscript.php

The solution I think will solve the problem would be to move foldername to mysite.com/main/foldername

Yes? no? maybe?