coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Mouth on May 27, 2005, 06:37:07 AM

Title: cpg1.3.3 not remembering/accepting login
Post by: Mouth on May 27, 2005, 06:37:07 AM
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?
Title: Re: cpg1.3.3 not remembering/accepting login
Post by: Mouth on May 27, 2005, 08:45:43 AM
Solved it .. I didn't also update the USER_TABLE sql query inside include/init.rc  ::)
Title: Re: cpg1.3.3 not remembering/accepting login
Post by: stekos on May 29, 2005, 12:05:46 AM
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
Title: Re: cpg1.3.3 not remembering/accepting login
Post by: Joachim Müller on May 30, 2005, 08:16:01 AM
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?
Title: Re: cpg1.3.3 not remembering/accepting login
Post by: Tranz on May 30, 2005, 08:20:29 AM
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
Title: Re: cpg1.3.3 not remembering/accepting login
Post by: stekos on June 02, 2005, 10:34:19 AM
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
Title: Re: cpg1.3.3 not remembering/accepting login
Post by: Joachim Müller on June 02, 2005, 11:59:25 PM
did you run update.php
Title: Re: cpg1.3.3 not remembering/accepting login
Post by: stekos on June 03, 2005, 09:46:00 AM
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
Title: Re: cpg1.3.3 not remembering/accepting login
Post by: Joachim Müller on June 03, 2005, 09:57:47 AM
please post a link and non-admin test user account
Title: Re: cpg1.3.3 not remembering/accepting login
Post by: stekos on June 07, 2005, 02:03:29 AM
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
Title: Re: cpg1.3.3 not remembering/accepting login
Post by: kegobeer on June 07, 2005, 03:02:56 AM
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">
Title: Re: cpg1.3.3 not remembering/accepting login
Post by: stekos on June 07, 2005, 05:08:47 PM
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  ;)