coppermine-gallery.com/forum

Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: Davyboy on November 26, 2003, 06:00:13 AM

Title: Critical error
Post by: Davyboy on November 26, 2003, 06:00:13 AM
Not sure what to make out of this with debug so i figure i would post it.
I have the stand alone version and i have a couple of parent catgories with serveral child catgories under each. Any how when i click on parent catgory and then click on a thumb on that page from lastest additions, i get this error!!


Critical error

There was an error while processing a database query.

While executing query "SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES' Array"

mySQL error: You have an error in your SQL syntax near 'Array' at line 1



here is debug info::
USER:
Array
(
    [ID] => b41cc4f7a28003dd918a91bad4313b5f
    [am] => 1
)



GET :
Array
(
    [album] => lastup
    [cat] => 8
    [pos] => 1
)



POST :
Array
(
)


and here is url to site i will leave debug on

http://www.cloud9pools.com/gallery/index.php

and the 2 parent catgories i amd having problems with are:

pictures of each job, start to finish
Construction Process


Thank-you any help would be greatly appreciated.
Davyboy
Title: Critical error
Post by: Joachim Müller on November 26, 2003, 08:27:47 AM
what version of mySQL are you running (click on the link at the bottom of your debug info to find out)?

GauGau
Title: Critical error
Post by: Davyboy on November 26, 2003, 09:19:24 AM
i dont see a link at bottom of debug info, sorry i miss spoke i just checked this is version 1.1 coppermine i shall upgrade my bad

But any how my version of my sql is 3.23.57