updated to 1.2.4, getting error

Just updated to 1.2.4. on my 3 zenphoto installations. On only one of them I am getting this error, if I refresh the page it goes away:

Notice: session_start() [function.session-start]: ps_files_cleanup_dir: opendir(/shared/sessions) failed: Permission denied (13) in /path to zenphoto/zp-core/admin-functions.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at /path to zenphoto/zp-core/admin-functions.php:9) in /path to zenphoto/index.php on line 112

Warning: Cannot modify header information - headers already sent by (output started at /path to zenphoto/zp-core/admin-functions.php:9) in /path to zenphoto/index.php on line 113

Thanks

Comments

  • This should be no different from prior versions of Zenphoto. Admin has always (so far as I know) maintained state through sessions. Given the error, it would seem that the one failing site has some security restrictions on sessions.
  • The failing site actually resides on the same server as the other two sites which are working fine. It is under a sub-domain and uses its own separate DB. The two sites that are OK are under separate domains and use separate DBs.

    Could it be something to do with being under a sub-domain i.e:

    domain (with zenphoto install functioning OK in root with own DB)/folder (with 2nd zenphoto install with session problem own DB) sub-domain name points to this folder

    It seemed to function OK before upgrading to 1.2.4 perhaps I should try a re-install?

    Thanks
  • Zenphoto should actually be unaware if it is under a subdomain or not. But since you seem to be having multiple problems with this installation, maybe something did go wrong with the install. Try removing all the Zenphoto script files and reinstalling.
  • Did a reinstall and I am no longer getting the error!

    I think in future when I update all my zenphoto installations, and one of the installations gives an error but the others don't, I'll reinstall first before looking for other causes.

    Thanks for your help.

    Steve
  • I have started getting this error again, its been fine since I did the reinstall, then today I got it again. Refreshing the page clears it. All that's changed since last weeks reinstall is I have added a new 'zenpage' page.

    I'll monitor it and post again if it continues to happen.

    Thanks
Sign In or Register to comment.