Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: Critical error: There was an error while processing a database query.  (Read 2938 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.022 seconds with 19 queries.