1.2.1 to 1.5.1 safe mode issue ...

ukbeg

Joined: 2005-10-27
Posts: 16
Posted: Sat, 2005-11-12 17:00

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:1.5.1
Apache version:
PHP version (don't just say PHP 4, please):2.0.18
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

Hi all,

We used to run gallery version 1.2.1 with safemode running, but since upgrading to 1.5.1, it will not run without errors. OUr service provider will not turn Safemode off for us ...

on the top we get the error

Quote:
Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/bike-pix.com/httpdocs/forum/modules/gallery/init.php on line 68

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /usr/local/psa/home/vhosts/bike-pix.com/httpdocs/forum/modules/gallery/lib/lang.php on line 352

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /usr/local/psa/home/vhosts/bike-pix.com/httpdocs/forum/modules/gallery/lib/lang.php on line 353

Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LC_ALL' - it's not in the allowed list in /usr/local/psa/home/vhosts/bike-pix.com/httpdocs/forum/modules/gallery/lib/lang.php on line 355

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/psa/home/vhosts/bike-pix.com/httpdocs/forum/modules/gallery/init.php:68) in /usr/local/psa/home/vhosts/bike-pix.com/httpdocs/forum/modules/gallery/lib/lang.php on line 366

and a huge string or error messeges that are the same down the right hand side

Quote:
Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/bike-pix.com/httpdocs/forum/modules/gallery/util.php on line 1902

the link to our gallery is

http://www.bike-pix.com/forum/modules/gallery/

Any help would be very much appreciated ...

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2005-11-12 23:23

Gallery 1.x doesn't run with safemode enabled. Sorry.


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
ukbeg

Joined: 2005-10-27
Posts: 16
Posted: Sun, 2005-11-13 12:09

We had 1.2.1 running with our version of PHP in the CGI BIN because of the SAFEMODE problems. 1.2.1 worked this way for several years. Now we upgraded to 1.5.1 and it doesn't work. As you can see from the errors above. What's changed? What do we have to do to get 1.5.1 to work with PHP in the CGI BIN folder?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2005-11-13 12:24

Exactly the same as before. You probably need to go through the installation of the cgi-php binary again, as it's obviously not using that now.


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org