Support > cpg1.5 miscellaneous
1.5.46 Users can't create albums, Critical Error
wbeddoe:
When a User tries to create an album, it results in a critical error:
While executing query 'SELECT aid, title FROM cpg15x_albums WHERE category = AND owner = 3312 ORDER BY pos ASC' in albmgr.php on line 154
mySQL error: 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 'AND owner = 3312 ORDER BY pos ASC' at line 1
Running V1.5.46
Thank you!
phill104:
Has your host upgraded to PHP 7? I am guessing that is the case. If so an upgrade to CPG 6.x will do the trick
wbeddoe:
Thanks for the feedback. Will upgrade to v6 ASAP.
wbeddoe:
When is that release going to be available?
ron4mac:
CPG 1.6.x (currently 1.6.04) is available now.
http://forum.coppermine-gallery.net/index.php/topic,79013.0.html
But I don't believe that has anything to do with your problem. It looks to me like there is an issue with your database (categories table).
Perhaps you could provide a test user account or some way for us to investigate the issue in more depth so we may possibly come up with a solution.
[ Thank you for your service. ]
Navigation
[0] Message Index
[#] Next page
Go to full version