ZenphotoCMS Forum
warnings during upgrade fron zenphoto 1.0.3 to 1.0.8.2 - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: warnings during upgrade fron zenphoto 1.0.3 to 1.0.8.2 (/thread-1571.html)



warnings during upgrade fron zenphoto 1.0.3 to 1.0.8.2 - bessefr - 2007-07-29

Hello,

I hqve upgrqde my website (http://bessefr.free.fr/zenphoto) from zenphoto 1.0.3 to 1.0.8.2 and during the call to upgrade.php I got the following warning :

zenphoto setup
Upgrading tables...
Cleaning up...
Warning: Invalid argument supplied for foreach() in /mnt/146/sda/d/d/bessefr/zenphoto/zen/class-gallery.php on line 329
Done!

Now, each time I log to administrate my photos, I get 4 warnings :

Warning: session_start() [function.session-start]: open(/mnt/146/sda/d/d/bessefr/sessions/sess_b7633b0070df7bc45ec2081c269bc43b, O_RDWR) failed: No such file or directory (2) in /mnt/146/sda/d/d/bessefr/zenphoto/zen/admin.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/146/sda/d/d/bessefr/zenphoto/zen/admin.php:2) in /mnt/146/sda/d/d/bessefr/zenphoto/zen/admin.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/146/sda/d/d/bessefr/zenphoto/zen/admin.php:2) in /mnt/146/sda/d/d/bessefr/zenphoto/zen/admin.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /mnt/146/sda/d/d/bessefr/zenphoto/zen/admin.php:2) in /mnt/146/sda/d/d/bessefr/zenphoto/zen/admin-functions.php on line 48

How can I fix these warnings ?

Thank you and best regards,
Francois

PS: a normal user can view normally the albums and photos with no warning nor error




warnings during upgrade fron zenphoto 1.0.3 to 1.0.8.2 - bessefr - 2007-07-30

Hello,

I reply to my own question ... for sharing information.

I have fixed my problem : on the server there must exist a folder called 'sessions'
at the same level as ádmin, 'cache', 'themes' folders, otherwise you will have the
warnings I described above.

Best regards,

François