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: same old critical error message  (Read 3608 times)

0 Members and 1 Guest are viewing this topic.

crazydad

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
same old critical error message
« on: February 26, 2007, 08:50:23 pm »

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

« Last Edit: February 26, 2007, 10:03:48 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: same old critical error message
« Reply #1 on: February 26, 2007, 08:56:07 pm »

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

crazydad

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: same old critical error message
« Reply #2 on: February 26, 2007, 09:09:05 pm »

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:
Logged

Nibbler

  • Guest
Re: same old critical error message
« Reply #3 on: February 26, 2007, 09:55:28 pm »

Can you try a minor code change please.

bridge/smf10.inc.php

find

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

change to

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

crazydad

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: same old critical error message
« Reply #4 on: February 26, 2007, 10:07:18 pm »

brilliant!!! thats it sorted. thanks for your help nibbler ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.