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
Enable debug mode in config and post the mysql error message you get (not the entire debug output) when you replicate the error.
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:
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;
brilliant!!! thats it sorted. thanks for your help nibbler ;)