Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Admin account not accepted after latest CVS  (Read 5048 times)

0 Members and 1 Guest are viewing this topic.

Ron

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 28
Admin account not accepted after latest CVS
« 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.
« Last Edit: February 06, 2005, 04:03:06 pm by omniscientdeveloper »
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: Admin account not accepted after latest CVS
« Reply #1 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.
Logged

Ron

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 28
Re: Admin account not accepted after latest CVS
« Reply #2 on: February 04, 2005, 12:57:14 pm »

The CVS is still 1.6 :(
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: Admin account not accepted after latest CVS
« Reply #3 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
Logged

Ron

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 28
Re: Admin account not accepted after latest CVS
« Reply #4 on: February 04, 2005, 01:35:18 pm »

That solved the problem, thanks.

Ron.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Admin account not accepted after latest CVS
« Reply #5 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
Logged
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
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.