issue with Zenphoto version 1.4.4-DEV [10882]

hi

I want to have a first look on Zp 1.4.4.

I can't see any pictures of albums because I have thie fatal error :

`

Fatal error: MySQL Error: ( SELECT * FROM ```[prefix]images`WHERE`albumid`= 26 ORDER BY manual ) failed. MySQL returned the error Unknown column 'manual' in 'order clause' in /home/.../zenphoto_dev/zp-core/functions-db-MySQL.php on line 61

Comments

  • Do you have more information, for instance the stack trace. Should be able to find it in your debug log.
  • fretzl Administrator, Developer
    I can reproduce the error. It happens if images are sorted manually.
    My stack trace:

    `
    USER ERROR: MySQL Error:( SELECT * FROM ''[prefix]images' WHERE 'albumid'= 4 ORDER BY manual ) failed. MySQL returned the error: Unknown column 'manual' in 'order clause'. in .../zp-core/functions-db-MySQL.php on line 61

    trigger_error called from query (functions-db-MySQL.php [61])

    from Album->sortImageArray (class-album.php [969])

    from Album->getImages (class-album.php [911])

    from printAlbumEditRow (admin-functions.php [2012])

    from printNestedAlbumsList (admin-functions.php [3476])

    from admin-edit.php [1673]
    `
  • acrylian Administrator, Developer
    I can reproduce it as well.
  • Thanks, got it. Fix will be in tonight's build.
Sign In or Register to comment.