SAFE MODE Restriction in effect.....

gessi

Joined: 2002-10-01
Posts: 35
Posted: Tue, 2002-10-01 15:24

Since some days I have Problems with my gallery PN Module!
When I want to look at the page I get the following error message:

Quote:
Warning: SAFE MODE Restriction in effect. The script whose uid is 1180 is not allowed to access /usr/local/httpd/htdocs/kunden/web13/html/albums/album07/album.dat owned by uid 30 in /usr/local/httpd/htdocs/kunden/web13/html/nuke/modules/gallery/platform/fs_unix.php on line 53

Warning: fopen("/usr/local/httpd/htdocs/kunden/web13/html/albums/album07/album.dat", "r") - Success in /usr/local/httpd/htdocs/kunden/web13/html/nuke/modules/gallery/platform/fs_unix.php on line 53

What is wrong? I thought about changing the CHMOD values but that´s not possible!
I think my Internet provider changed to a new server last days. Is it possible that this has something to do with it?

Please help!

BIG thanx

 
Carl

Joined: 2002-10-02
Posts: 4
Posted: Wed, 2002-10-02 00:09

It sounds like your web host is running with safe mode on. If you check the Gallery requirements page, you will see it requires safe mode to be off. Check with your host.

I actually came to this site today for the first time to see if I could figure out if I would be able to run Gallery with the following settings enabled by my host:

safe_mode: Local value: off Master value:on

Does anybody know?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-10-02 18:02

It should work, as long as the local value of safe mode is "off". Gallery 1.3.1 should detect this correctly.

 
Majster

Joined: 2009-03-20
Posts: 1
Posted: Fri, 2009-03-20 11:57

Go to bash and check users for files fs_unix.php an file album.dat: command ls -l. I think both files have diffrent user. With command: "chown username:password filename" you should switch user. Both files should have the same user to handle the problem.