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: [Solved]: Critical error: There was an error while processing a database query.  (Read 2453 times)

0 Members and 1 Guest are viewing this topic.

.holdme

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

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!
« Last Edit: June 13, 2008, 06:06:38 pm by Nibbler »
Logged

Nibbler

  • Guest

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

.holdme

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

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

Nibbler

  • Guest

Great. You need to update to 1.4.18 though.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.