Warnings after creating album

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::set(), 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

Comments

  • acrylian Administrator, Developer
    Anything else in the error logs? Also check your permissions.
  • 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 ?
  • acrylian Administrator, Developer
    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.
  • 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::set(), 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]
  • It was a typographical error. Fixed in the support build.
Sign In or Register to comment.