Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003084Piwigoalbumspublic2014.05.25 01:262014.05.25 01:26
Assigned To 
PlatformOSLinuxOS Version
Product Version2.6.2 
Target VersionFixed in Version 
Summary0003084: Batch-managing a since-deleted album gives SQL error

I had the batch-manager open for a single album, then in another window deleted that album (it no longer had any photos in it), and when I came back to the batch-manager to move to a different album it gave me the following error:

Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3

   FROM image_category
   WHERE category_id IN ()
 ; in /home/user/photos.example.com/include/dblayer/functions_mysqli.inc.php on line 798

Fatal error: Call to a member function fetch_assoc() on a non-object in /home/user/photos.example.com/include/dblayer/functions_mysqli.inc.php on line 181

The URL was: http://photos.example.com/admin.php?page=batch_manager [^]

Please let me know if I can provide any more information.
TagsNo tags attached.
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014.05.25 01:26 samwilson New Issue
2014.05.25 01:26 samwilson browser => any
2014.05.25 01:26 samwilson Web server => Apache 1.3.x

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker