Critical Error across entire gallery post-upgrade Critical Error across entire gallery post-upgrade
 

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]

Main Menu

Critical Error across entire gallery post-upgrade

Started by keyskeeper, August 14, 2009, 04:12:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

keyskeeper

I upgraded my gallery from 1.4.23 to 1.4.25 and can no longer access it at all.  It gives me a "Critical error: There was an error while processing a database query." message.  I turned debug mode on via phpMyAdmin and received this message:

QuoteWhile executing query "SELECT count(*) FROM   WHERE owner=2" 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 'WHERE owner=2' at line 1


File: [..]/include/functions.inc.php - Line: 248 

Searching the docs and board have failed to turn up anything that looks similar.  URL is http://ihwmedia.net/index.php.  Thanks!

François Keller

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

keyskeeper

I'm still getting the same error - perhaps because I'm still logged in from before I performed the update?


keyskeeper

I did, and when I log in again I get the same error.

phill104

Clear your browsers cache. Your site works well for me.
It is a mistake to think you can solve any major problems just with potatoes.

onthepike

It works fine for me as well, however the problem seems to persist upon Admin login. Does the issue remain using a guest or another login? Can anyone else log in?

Also, if you use any thrid-party cleaning applications, such as "CCleaner" for example, you will need to manually delete the cookie yourself, or remove the cookie from the "protected" list. Clearing the cache will not delete these cookies.

Nibbler

Must be related to some mod you have applied (Stramm's modpack maybe) since that query is not a normal part of Coppermine. Remember to fully reapply mods after updating Coppermine.

keyskeeper

Great!  I didn't think I had the mod pack enabled, but reuploaded and upgraded anyway to check and it's now working.  Thanks!