Admin account not accepted after latest CVS Admin account not accepted after latest CVS
 

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

Admin account not accepted after latest CVS

Started by Ron, February 04, 2005, 11:27:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ron

I updated my system with the latest CVS I can login as admin (it says welkom... ), but I am not actualy loged in. The admin screen does not appear. I have updated the databases after the new CVS.
Ron.

omniscientdeveloper

This was just fixed. Update your coppermine.inc.php bridge file.

NOTE: It should be at least version 1.7.

Ron


omniscientdeveloper

Here's the most recent....until it's updated in CVS...


Delete the ".txt" from the end, and place it in your bridge folder. Let me know, if this solves your problem.


-omni

Ron


Casper

Just found and fixed a bug in this include/coppermine.inc.php file, which caused a mysql error when trying to log in with the remember me button checked .

Mysql error';

QuoteWhile executing query "update `coppermine_cpg`.cpg11d_sessions set user_id=4 ,remember = true where session_id=md5('76a89cd4ed1afc3b763ef3cfc2a8445f418ede6f6504309aa9ea81521726bc25');" on Resource id #6

mySQL error: Unknown column 'true' in 'field list'

Fixed by changing line 137 from this;

$remember_sql = ",remember = true ";

to this;

Quote$remember_sql = ",remember = 'true' ";

Committed to dev, version 1.8
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here