Big error gallery dont works anymore Big error gallery dont works anymore
 

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

Big error gallery dont works anymore

Started by AmanM, March 05, 2007, 12:14:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AmanM

I have criticall error whith the gallery first  i've i wanted to do something whitch runs a datbase query like deleting images and more.
So i went to drop some tables and renew them but now i get this error.

[quote]While executing query "SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg1410_albums AS a  LEFT JOIN cpg1410_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN ()GROUP BY a.aid" on 0

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 ')GROUP BY a.aid' at line 1[/quote]



http://www.saifuworld.org/gallery/

User for testing

Name:test
Password:test

Thanks already

Nibbler

Looks like you emptied your config table. Repopulate it using the defaults in include/basic.sql

AmanM

Thanks it's fixed but now i have a problem i have a category named Movies and all the categorys in that are now displayed on the index and not in the movie category maby you can help me whith that.

Your the best nibbler i would searched all night to find this.

Nibbler

That's a config setting - number of levels of categories to display. Please try to keep to one question per thread as per the rule.

AmanM