forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: a1nerd on February 10, 2007, 08:54:06 pm

Title: Wont Let Me Login
Post by: a1nerd on February 10, 2007, 08:54:06 pm
I'm trying to login to my galleries and it wont let me login. It just keeps redirecting me to the login page.

http://chickvenue.com/models is the gallery.
Title: Re: Wont Let Me Login
Post by: a1nerd on February 10, 2007, 09:27:02 pm
I forgot to mention i didn't upgrade or anything. The gallery was untouched. I just tried to login this morning and it wont let me.
Title: Re: Wont Let Me Login
Post by: Tai on February 10, 2007, 11:09:58 pm
Have you tried clearing your Coppermine cookies and relogging in?
Title: Re: Wont Let Me Login
Post by: a1nerd on February 12, 2007, 08:57:50 am
That worked but why does that happen? Allot of my members never come back because of that. Is there any way to fix it?



Have you tried clearing your Coppermine cookies and relogging in?
Title: Re: Wont Let Me Login
Post by: Joachim Müller on February 12, 2007, 10:08:36 am
Choose another cookie name in coppermine's config - this will equal the clearing all cookies for your users.
Title: Re: Wont Let Me Login
Post by: a1nerd on February 12, 2007, 08:37:59 pm
Is there instructions on how to do that? I don't know anything about PHP :(
Title: Re: Wont Let Me Login
Post by: Tai on February 12, 2007, 10:29:25 pm
Is there instructions on how to do that? I don't know anything about PHP :(

If you just click Config in your Admin menu, and scroll down to the Cookie Settings part and add your cookie name there.

I think the default is;

Cookie Name: cpg143
Cookie Path: /

To quote the help file:

Default value is "/". Don't change this unless you know what you are doing. This may prevent you from logging in.

If you have broken your gallery by modifying this value, use phpMyAdmin to edit the xxxx_config table in your database and restore the default value.
Title: Re: Wont Let Me Login
Post by: a1nerd on February 13, 2007, 07:51:51 am
How often do i need to do that?


Choose another cookie name in coppermine's config - this will equal the clearing all cookies for your users.
Title: Re: Wont Let Me Login
Post by: Joachim Müller on February 13, 2007, 07:56:10 am
Once. Don't change the cookie path, but the cookie name. Make sure to use a valid name (no dots or special chars, just alphanumerical).
Title: Re: Wont Let Me Login
Post by: a1nerd on February 13, 2007, 08:17:03 am
Can i use a name like tacos or does it have to contain numbers and letters?
Title: Re: Wont Let Me Login
Post by: Joachim Müller on February 13, 2007, 08:35:59 am
"tacos" is fine. Doesn't matter very much - end users usually don't see the cookie name.
Title: Re: Wont Let Me Login
Post by: a1nerd on February 15, 2007, 01:18:12 am
I changed the cookie name and it did it again. I had to change the cookie name twice because it kept doing it. It only lasts for a day max and then everyone has to still clear there cookies.
Title: Re: Wont Let Me Login
Post by: Joachim Müller on February 15, 2007, 07:24:49 am
Post a non-admin test user account.
Title: Re: Wont Let Me Login
Post by: a1nerd on February 15, 2007, 12:20:29 pm
username davetest

password 1976dt
Title: Re: Wont Let Me Login
Post by: Joachim Müller on February 16, 2007, 12:24:24 am
Can not replicate your issues. Loging in and out works fine for me. Check your browser's cookie settings and any third-party-apps on your desktop that might interfere (especially silly "internet security suites" like "Norton Internet Security").