ZenphotoCMS Forum
Warnings after creating album - 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 after creating album (/thread-11450.html)



Warnings after creating album - jamesw - 2013-11-02

Hi,

I have installed new version 1.4.5.6. After creating new album as I click on Apply button getting following error :

Warning: Missing argument 2 for PersistentObject:et(), called in {PATH}/zp-core/class-album.php on line 211 and defined in {PATH}/zp-core/classes.php on line 120

Warning: Cannot modify header information - headers already sent by (output started at {PATH}/zp-core/classes.php:120) in {PATH}/zp-core/admin-edit.php on line 440

Even images not getting displayed in gallery. only Blank transparent images appears




Warnings after creating album - acrylian - 2013-11-02

Anything else in the error logs? Also check your permissions.




Warnings after creating album - jamesw - 2013-11-02

Hi,

I have installed on cpanel suPHP enabled server. So i don't think that there can be any permission issue.

Where can I find error log ?




Warnings after creating album - acrylian - 2013-11-02

There can be very well file/folder permission issues. The Zenphoto debug log is on the logs tab naturally. Where your server error log is only your host can answer.




Warnings after creating album - jamesw - 2013-11-02

Hi,

This is what I have got in debug.log

{10879:Sat, 02 Nov 2013 10:05:38 GMT} Zenphoto v1.4.5.6[6a3da277f6b655a985ced47be975644924f0f782]
WARNING: Missing argument 2 for PersistentObject:et(), called in {PATH}/zp-core/class-album.php on line 211 and defined in {PATH}/zp-core/classes.php on line 120
PersistentObject->set called from AlbumBase->setSortType (class-album.php [211])
from AlbumBase->setSubalbumSortType (class-album.php [234])
from processAlbumEdit (admin-functions.php [2268])
from admin-edit.php [244]
{10879:Sat, 02 Nov 2013 10:05:38 GMT}
NOTICE: Undefined variable: value in {PATH}/zp-core/classes.php on line 126
PersistentObject->set called from AlbumBase->setSortType (class-album.php [211])
from AlbumBase->setSubalbumSortType (class-album.php [234])
from processAlbumEdit (admin-functions.php [2268])
from admin-edit.php [244]
{10879:Sat, 02 Nov 2013 10:05:38 GMT}
WARNING: Cannot modify header information - headers already sent by (output started at {PATH}/zp-core/classes.php:120) in {PATH}/zp-core/admin-edit.php on line 440
header called from admin-edit.php [440]




Warnings after creating album - sbillard - 2013-11-02

It was a typographical error. Fixed in the support build.