Update History plugin for cpg1.5.x issue Update History plugin for cpg1.5.x issue
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Update History plugin for cpg1.5.x issue

Started by altenae, November 17, 2011, 03:40:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

altenae

Hi,

When a new album is created and not in a category there is a critical error:

While executing query 'SELECT a.aid, a.title, a.description, a.thumb, a.keyword, category, visibility, filepath, filename, url_prefix, pwidth, pheight, a.owner  FROM cpg132_albums as a  LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid  WHERE a.category= ORDER BY a.pos, a.aid LIMIT 0,1' in index.php on line 771

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 'ORDER BY a.pos, a.aid LIMIT 0,1' at line 1

When the new album is moved into a category it works fine.

ΑndrĂ©

You'd really help us/me if you post more information in your starting posts.

I had to search the plugin, which I found here: http://forum.coppermine-gallery.net/index.php/topic,70073.0.html

Which plugin version do you use?

When exactly does the error occur?

Please post a link to your gallery.

altenae

I use version 1.1.

When the new album is created the error occures when hitting the home button.
Right now I have moved the album in a category as a temporary fix.

So only albums which are not in a category causes the critical error in combination with this plugin.

The url is www.aviationpix.nl