Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Big error gallery dont works anymore  (Read 4979 times)

0 Members and 1 Guest are viewing this topic.

AmanM

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Big error gallery dont works anymore
« on: March 05, 2007, 12:14:00 am »

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.

Code: [Select]
[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
« Last Edit: March 05, 2007, 06:44:04 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Big error gallery dont works anymore
« Reply #1 on: March 05, 2007, 12:15:46 am »

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

AmanM

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Big error gallery dont works anymore
« Reply #2 on: March 05, 2007, 06:19:23 pm »

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.
Logged

Nibbler

  • Guest
Re: Big error gallery dont works anymore
« Reply #3 on: March 05, 2007, 06:43:26 pm »

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.
Logged

AmanM

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Big error gallery dont works anymore
« Reply #4 on: March 05, 2007, 08:30:40 pm »

Ok sorry Nibbler wont do it again
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.