forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Ron on February 04, 2005, 11:27:29 am

Title: Admin account not accepted after latest CVS
Post by: Ron on February 04, 2005, 11:27:29 am
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.
Title: Re: Admin account not accepted after latest CVS
Post by: omniscientdeveloper on February 04, 2005, 11:29:14 am
This was just fixed. Update your coppermine.inc.php bridge file.

NOTE: It should be at least version 1.7.
Title: Re: Admin account not accepted after latest CVS
Post by: Ron on February 04, 2005, 12:57:14 pm
The CVS is still 1.6 :(
Title: Re: Admin account not accepted after latest CVS
Post by: omniscientdeveloper on February 04, 2005, 01:06:28 pm
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
Title: Re: Admin account not accepted after latest CVS
Post by: Ron on February 04, 2005, 01:35:18 pm
That solved the problem, thanks.

Ron.
Title: Re: Admin account not accepted after latest CVS
Post by: Casper on February 05, 2005, 09:22:50 pm
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';

Quote
While 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;

Code: [Select]
$remember_sql = ",remember = true ";
to this;

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

Committed to dev, version 1.8