same old critical error message same old critical error message
 

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

same old critical error message

Started by crazydad, February 26, 2007, 08:50:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

crazydad

hi

i have a little site with coppermine on. i have a few albums on that anyone one can view ok. i have one password protected album which works fine when the password is entered by any visitor. i have tried to create another "private" album (password protected) and i get the message "There was an error while processing a database query". i can enter the password, get to the thumbnail but when i click on the thumbnail, thats the message i get, and have to close down all open windows so that i can log onto the site again. i have tried it on another of my sites with cm on and it is the same result. if i take the password protection off the album, i can view the pics just fine.

any ideas.

p.s. please, i really do not understand any of this "script talk" that i have seen in the forums, so, simple answers if possible, please  ;)

thanks


Nibbler

Enable debug mode in config and post the mysql error message you get (not the entire debug output) when you replicate the error.

crazydad

hi again

is this what you mean?

While executing query "SELECT aid, MD5(alb_password) as md5_password FROM cpg149_albums WHERE aid IN ()" on 0

mySQL error:

Nibbler

Can you try a minor code change please.

bridge/smf10.inc.php

find


require_once($BRIDGE['relative_path_to_config_file'] . 'SSI.php');


change to


$old_cookie = $_COOKIE;
require_once($BRIDGE['relative_path_to_config_file'] . 'SSI.php');
$_COOKIE = $old_cookie;

crazydad

brilliant!!! thats it sorted. thanks for your help nibbler ;)