coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: terrymc1 on June 20, 2006, 04:29:51 AM

Title: Losing ability to login on a specific machine
Post by: terrymc1 on June 20, 2006, 04:29:51 AM
I have a very peculiar situation. I'm running CP 1.48 and if I try to login, eaither as admin or as a user, I see the screen with the "welcome admin" or whatever message and then am redirected to a screen that still has login as an option in the menu. It appears that it is not really logging me in. If I login as admin, I don't get the admin menus and options, etc. The only way around this has been to select "I forgot my password" and let CP send me another password in the process that it goes through. Then I can login and everything is as it should be. But, it does not last. The next time I try to login I'm back to the same situation as I was before.

Note that this does not seem to happening in my laptop. What could be the difference? I'm using IE6 and have refreshed till the cows came home, deleted cookies, deleted temporary files, etc. What could be going on between this particular machine and CP? Why does a password change allow proper login (temporarily)??? Any help is appreciated...
Title: Re: Losing ability to login on a specific machine
Post by: Vargha on June 20, 2006, 04:37:57 AM
post a link to your site please :)
Title: Re: Losing ability to login on a specific machine
Post by: terrymc1 on June 20, 2006, 05:04:10 AM
The site is http://www.my-resource.net/cm1/ (http://www.my-resource.net/cm1/). I have set up a user called "tester" and the password is "test". Note that this user does not have admin privileges, but when I try to login as tester on my machine it doesn't work, on my laptop it does... Thanks...
Title: Re: Losing ability to login on a specific machine
Post by: terrymc1 on June 20, 2006, 05:11:24 AM
I don't know if this is meaningful or not, but I have CP 1.33 installed on another domain and I can log in and out of that installation all day properly using the machine that won't cooperate with my 1.48 installation.
Title: Re: Losing ability to login on a specific machine
Post by: Sami on June 20, 2006, 07:12:40 AM
do you have any firewall or cookie manager app. somthing like zone alarm or norton internet security ?
Title: Re: Losing ability to login on a specific machine
Post by: terrymc1 on June 20, 2006, 09:34:14 PM
Quote from: bmossavari on June 20, 2006, 07:12:40 AM
do you have any firewall or cookie manager app. somthing like zone alarm or norton internet security ?

I am running Norton Internet Security 2005 on both the workstation that is giving me problems and the laptop that isn't giving problems. Remember, if I let CP change the password it will work ONCE so it doesn't seem like the firewall would be blocking the admin page redirect or it would never work??
Title: Re: Losing ability to login on a specific machine
Post by: Joachim Müller on June 20, 2006, 10:18:05 PM
Temporarily shut down Norton Internet Security to test if this cures your issue. If yes, look into the so called "privacy" settings. Imo, NIS sucks, luring users into a false sense of security with paranoid privacy/cookie settings.
Title: Re: Losing ability to login on a specific machine
Post by: missmandy on June 21, 2006, 01:09:10 AM
I'm having the very same issue and there aren't any Firewalls or the like on this system.

http://www.josh-jackson.net/images
Title: Re: Losing ability to login on a specific machine
Post by: terrymc1 on June 21, 2006, 01:28:24 AM
I've disabled the firewall and it made no difference. Why would cp 3.3 work fine on this machine and not 4.18? And then there is that weird thing that it works with the password change. Did maybe smething change in the way passwords are handled in version 4.xx?
Title: Re: Losing ability to login on a specific machine
Post by: Tranz on June 21, 2006, 04:35:24 AM
Well, there's now password encryption. Do you have that enabled? I don't see how that would result in different things going on on different computers, though.
Title: Re: Losing ability to login on a specific machine
Post by: fulcan on June 21, 2006, 03:22:11 PM
I am having the same problem.  I had 1.4.6 and thought that maybe it was part of the security problem so I did the upgrade to 1.4.8 and still have the problem.  Seems like its very common all of a sudden but only taking place in 1.4.X

I too have tried turniong off Norton internet security and it has not had any impact.

???

Anyone have any ideas?  Its like it recognises you but does not allow the coockie to be planted to enable you to get the admin features.
Title: Re: Losing ability to login on a specific machine
Post by: terrymc1 on June 21, 2006, 04:04:22 PM
Quote from: TranzNDance on June 21, 2006, 04:35:24 AM
Well, there's now password encryption. Do you have that enabled? I don't see how that would result in different things going on on different computers, though.

Where do I turn password encryption on and off? I'll change whatever it is set to currently and see if it makes any difference. Also, does CP ever use any port besides port 80? Thanks...
Title: Re: Losing ability to login on a specific machine
Post by: Tranz on June 21, 2006, 05:05:42 PM
Password encryption cannot be turned off once it's enabled... it's a one-way deal.

New 1.4 installations come with it enabled; there's no disabling it. Existing 1.3 galleries that upgrade have the option to enable it.
Title: Re: Losing ability to login on a specific machine
Post by: terrymc1 on June 22, 2006, 01:39:41 PM
I had my web hosting service upgrade me from php 4 to php 5 and ever since CP has been working just fine. Logs me in perfectly. Is php 5 a requirement for CP 4.xx that I somehow overlooked?
Title: Re: Losing ability to login on a specific machine
Post by: Sami on June 22, 2006, 02:06:35 PM
No! as documantation (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#what) said , CPG will work with PHP 4.1.0 or better
Title: Re: Losing ability to login on a specific machine
Post by: terrymc1 on June 22, 2006, 03:53:27 PM
Hmmmmm.... Interesting. I didn't think it required version 5 but having my hosting service upgrade me from php 4.4.1 to 5.0.4 caused the problem to "resolve itself." Whatever was messing up the ability to login properly may remain a mystery. All I care is it works now and I am happy! If it flakes out again I'll check back in.
Title: Re: Losing ability to login on a specific machine
Post by: fulcan on June 23, 2006, 12:18:40 PM
Unfortunately, this does not really solve the problem.  Previously I was able to login using 1.4.6.  Then the other day I tried to login to admin and it did not work.  Nothing had changed yet it no longer worked and it appears a lot of people have had the problem. 

I upgraded to 1.4.8 and still have the problem. 

As I was able to login on 1.4.6 and then I wasnt something appears to have affected a number of people.

If anyone has some ideas or a sbetter solution than upgrading to PHP version 5 I would be grateful to hear it.

If you dont own the server the software upgrade to PHP 5 is not necessarily an option.

Thanks