Upgrade of PHP

pibroens

Joined: 2004-11-23
Posts: 3
Posted: Mon, 2009-02-02 12:23

Hello,

There was an upgrade a PHP.
Version 4.4.8 to 5.2.6

Now my gallery gives these errors:
Warning: set_time_limit() has been disabled for security reasons in /home/k3098kru/public_html/fotos/init.php on line 68
Error: Your Userfile is not writeable
Warning: Unknown: open(/tmp/sess_753668993b2d602f1c92c0d5d4e79a5c, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

Gallery URL : http://www.kruisstraat89.be/fotos/
Gallery version:1.5.1

I can't access the site. I can go back to PHP 4, but then my CMS will not work anymore.

Pieter

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2009-02-02 12:38

Hi,

about the errors:

PHP related
1.) Enable the function in your php.ini file
3.) Check the permissions of your /tmp folder

Gallery related
2.) Do a chmod -R 777 of your albums folder

Sidenote: Gallery 1.5.1 is not fully compatible with PHP5, upgrade at least to Gallery 1.5.3

Jens
--
Gallery Developer