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: There was an error whileThere was an error while processing a database query  (Read 2584 times)

0 Members and 1 Guest are viewing this topic.

vega77

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

I kind of forgot my admin password.
Then got banned.........
Logged into phpmyadmin and looked at cpg140_banned.
I dropped the line with ipxxxxxx
That was stupid i guess beacause now i get

Code: [Select]
Critical error
There was an error while processing a database query

any way to fix this without a reinstall ? ???
« Last Edit: March 09, 2006, 05:02:04 pm by TranzNDance »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

always make a backup before you mess with the database.

I do not know exactly what you've done but it may work to delete the table cpg140_banned and then run update.php
Just emptying the table won't give an error.

To verify what happened you should enable debug mode (directly in the database cpg140_config -> set debug_mode to 1) and then post the exact mysql error


vega77

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

deleting the table and running update worked just fine.

Thank you very much! ;D ;D ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.