News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

[Solved]: Critical error: There was an error while processing a database query.

Started by .holdme, June 13, 2008, 04:49:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

.holdme

Hey. Like an ediot I clicked on 'Restore Factory Settings' and as soon as i clicked another page I got this error message:

Critical error
There was an error while processing a database query.

While executing query "DELETE FROM cpg_mod_online WHERE last_action < NOW() - INTERVAL  MINUTE" 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 '' at line 1

File: /home/kellyima/public_html/include/functions.inc.php - Line: 248

I enabled debug mode but i don't understand what its about. I think its something to do with the mod_online table in the database?

http://kellyimages.org/index.php Thats my gallery, the debug infomation is there or if you want me to post it here I will. Thanks for any help!

Nibbler

Delete the online stats plugin from the plugins table manually using phpmyadmin and then reinstall it.

.holdme

Thankyou so much. I looked all over this board trying to find the answer. Thankyou again!