cpg1.3.3 not remembering/accepting login cpg1.3.3 not remembering/accepting login
 

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

cpg1.3.3 not remembering/accepting login

Started by Mouth, May 27, 2005, 06:37:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mouth

I have installed cpg1.3.3 and after a successful login and return back to the index.php page (or any other page) the fact that I have logged-on isn't remember/accepted. (ie. It still present me with the login menu option and no logged-in menu options are shown)

The cpg133_uid and cpg133_pass cookies are successfully set on my browser with the correct value (pass being the md5 hash). The cookie is sucessful set with my servers domain and cpg path (/gallery/)

I have slightly modified the login.php page so that the db query from some user detaisl comes from another non-cpg table on my system, but that is all. Haven't adjusted any code related to cookies etc.

Where could the problem be?

Mouth

Solved it .. I didn't also update the USER_TABLE sql query inside include/init.rc  ::)

stekos

Hi,

Could you tell me more about that, cause have the same problem and i don't know how to fix it. My favorite software is photoshop....

thx

Stef

Joachim Müller

Did you update or make a fresh install? Post a link to your site, and run versioncheck.php

Joachim

P.S.
Quote from: stekos on May 29, 2005, 12:05:46 AMMy favorite software is photoshop....
My favorite drink is coffee, but how is this related?

Tranz

Quote from: GauGau on May 30, 2005, 08:16:01 AM
P.S.
Quote from: stekos on May 29, 2005, 12:05:46 AMMy favorite software is photoshop....
My favorite drink is coffee, but how is this related?
Literal LOL. :D

stekos

I've updated it, from 1.3.2 to 1.3.3

After a "versioncheck.php", all seem to be ok, no missing files...
It worked fine with the 1.3.2 version :)

clarounette.com

Thx Gaugau

Joachim Müller


stekos

Yes i did.
All files are in the 1.3.3 version.
And from now, I've got a new problem : the "log out" button don't work. I must delete the cookie to kill the session. This happens on any computer.
I'm gonna wait for a new update in order to fix it ;)

thx a lot

Joachim Müller

please post a link and non-admin test user account

stekos

oki

You can find it at http://www.clarounette.com

login: test
password: test

Just login and click on a picture. See the album thumbnails and be logged off after cliking a picture.
arf...

Thx again

kegobeer

#10
Your problem is that you have www.clarounette.com as a link in some places, but in others you have clarounette.com.  Those are two different cookies, and that's why it appears you are logged out.  On your config page, what do you have in Target address for the 'See more pictures' link in e-cards?  It should be http://www.clarounette.com/.

Have you hardcoded that link somewhere in your custom theme or in your Coppermine files?  A full URL isn't normally displayed - it's usually like this:

<a href="displayimage.php?album=2&pos=5">

but yours are like this:

<a href="http://clarounette.com/displayimage.php?album=2&pos=5">
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

stekos

That's it, had a www.clarounette.com in one link. Don't know why, but it seems to work well !
I will check it again.
So stupid...

Thank a lot  ;)