coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: vega77 on March 09, 2006, 11:35:08 AM

Title: There was an error whileThere was an error while processing a database query
Post by: vega77 on March 09, 2006, 11:35:08 AM
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

Critical error
There was an error while processing a database query


any way to fix this without a reinstall ? ???
Title: Re: There was an error whileThere was an error while processing a database query
Post by: Stramm on March 09, 2006, 12:10:55 PM
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


Title: Re: There was an error whileThere was an error while processing a database query
Post by: vega77 on March 09, 2006, 12:56:44 PM
deleting the table and running update worked just fine.

Thank you very much! ;D ;D ;D