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: There was an error whileThere was an error while processing a database query  (Read 2462 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.021 seconds with 19 queries.