Installed gallery and am receiving this message...

yodaddy

Joined: 2002-08-27
Posts: 11
Posted: Tue, 2002-08-27 03:12

I've installed gallery and have the netpbm and jhead set correctly but upon the last setup screen I get there error messages. What are the problems?

Warning: SAFE MODE Restriction in effect. The script whose uid is 514 is not allowed to access /home/virtual/singlepics.com/var/www/html/albums/.users/1030416372:1755202938.0 owned by uid 48 in /home/virtual/site11/fst/var/www/html/modules/gallery/platform/fs_unix.php on line 53

Warning: fopen("/home/virtual/singlepics.com/var/www/html/albums/.users/1030416372:1755202938.0", "r") - Success in /home/virtual/site11/fst/var/www/html/modules/gallery/platform/fs_unix.php on line 53

Fatal error: Call to a member function on a non-object in /home/virtual/site11/fst/var/www/html/modules/gallery/classes/gallery/UserDB.php on line 180

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-08-27 05:31

Gallery doesn't work with safe mode on. This is discussed all over the site; enter "safe mode" in a search and read the info in the FAQ, forums.

 
yodaddy

Joined: 2002-08-27
Posts: 11
Posted: Tue, 2002-08-27 16:13

I've searched for turning off safe mode, but there is no explanation other than it doesn't work with safe mode on. I also went to my servers /etc/php.ini file and looked through it and safe mode is supposed to be off. Why is it coming up as being on?

 
TheWatcher
TheWatcher's picture

Joined: 2002-08-21
Posts: 120
Posted: Wed, 2002-08-28 02:50
Quote:
I've searched for turning off safe mode, but there is no explanation other than it doesn't work with safe mode on. I also went to my servers /etc/php.ini file and looked through it and safe mode is supposed to be off. Why is it coming up as being on?

If you're running Apache server, you need to disable this through the httpd.conf

ex.
edit httpd.conf file of your apache web server using vi or pico or other text editor

/etc/httpd/conf/httpd.conf

You can edit the line to say
php_admin_flag safe_mode on <---- to OFF

This will solve your issue ...
Cheers,
TheWatcher

 
TheWatcher
TheWatcher's picture

Joined: 2002-08-21
Posts: 120
Posted: Wed, 2002-08-28 02:53
Quote:
>>I've searched for turning off safe mode, but there is no explanation other than it doesn't work with safe mode on. I also went to my servers /etc/php.ini file and looked through it and safe mode is supposed to be off. Why is it coming up as being on?<<

If you're running Apache server, you need to disable this through the httpd.conf

ex.
edit httpd.conf file of your apache web server using vi or pico or other text editor

/etc/httpd/conf/httpd.conf

You can edit the line to say
php_admin_flag safe_mode on <---- to OFF

This will solve your issue ...
Cheers,
TheWatcher

And this is another way of safe mode off implementation.
http://216.127.83.210/live/modules.php?op=modload&amp;name=News&amp;file=article&amp;sid=135&amp;mode=thread&amp;order=0&amp;thold=0
or visit http://www.needguide.com site.

So much information to learn ... of course.