After new install, login does not work After new install, login does not work
 

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

After new install, login does not work

Started by boristhemoggy, September 11, 2009, 06:56:33 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

boristhemoggy

Hi I installled CM with no issues or hitches and set up an album. However going back to it the next day, I found that clicking on login, and giving my login details does nothing. It says welcome admin and has the continue button below it, but the page has not changed and I don't have the admin controls.
I deleted the entire installation and did it again. Same thing happened.
So now I can't login. Does anyone have any suggestions?

onthepike

Yes, post a link to your gallery and a non-admin test account.

boristhemoggy


boristhemoggy

aha. since I created the nonadmin acccount and logged in with it to make sure it was working, then logged out, the admin account has now worked.
Does that help isolate the problem?

onthepike

I don't know that there is an actual Coppermine problem at the moment. Based upon your description, and subsequent successful login, it's very possible this may have been a temporary browser/cookie/session issue. If this persists, try clearing your cache, test another browser, try another user account, etc.

Are you now able to log in and out successfully? Or does the problem persist?

boristhemoggy

Nope. I tried today, and with both logins it says welcome nonadmin or welcome admin, but then goes straight back to the home page.
Very frustrating

onthepike

My next questions are, if you can't login as admin with admin controls, how did you setup a test account?

Can you log into your gallery as admin, then take a screen capture and attach it here? I'd like to see what you see, if possible.

Also, how did you initially install CPG? Manually or via third-party installer (Simple Scripts, Fantastico, etc)?

Lastly, do you know how to use phpMyAdmin?

phill104

As we can login with yuor test account I am very sure it is related to your browser. Try loging in with a different browser. There are plenty to choose from, Firefox, Chrome, Safari ot the dreaded IE. I am sure you will find that using a different browser or a different machine you will find that there is no problem with Coppermine but a problem with your browser or even your firewall.
It is a mistake to think you can solve any major problems just with potatoes.

boristhemoggy

Well I used Opera, and the first time I logged into admin ok. After a short time offline, I tried again and same thing happened as with IE.
I turned off the firewall and no difference.

I set up a test account by clicking register on the front page.
I can't login as admin now. But it looks same as not logged in as admin, apart fomr the small toolbar across the top.
I installed from the hosting service.
I know phpmyadmin yes.

onthepike

As Phil said, I too am convinced this is a browser or cookie issue. Perhaps you have a corrupt cookie stored and use a third-party application to save certain cookies. I would suggest first delete the saved/stored cookie. Delete all cookies from your domain.

Try connecting as admin from your IP.

Another thought -- if your admin login name is actually "admin", that doesn't necessarily mean you are the board administrator. If you are not (for whatever reason) designated as the gallery administrator, "Welcome admin" welcomes an ordinary user. Therefore, since you are familiar with phpMyAdmin, open it and select cpg_users and under user_id (1) be sure user_group for "admin" is set to "1" (without quotes). If it is not "1", change it to 1 and save.

Verify there are no other admin accounts. If there are, and you didn't create them, purge them.

Try these suggestions and let us know.

phill104

It is a mistake to think you can solve any major problems just with potatoes.

boristhemoggy

Quote from: Phill Luckhurst on September 13, 2009, 11:21:50 AM
In that case you need first to follow the upgrade procedure outlined here.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14

Well you were right, I have it working. But I will have to stop it working as every time I open a browser, I have to click a prompt now 9 times before I can continue.
What a massive pain!

phill104

It is a mistake to think you can solve any major problems just with potatoes.

boristhemoggy

All seems to be working fine now, except I have to click on loads of "let this script tun" type boxes now. That's clearly a browser thing though. If I knew precisey which script to let run in the browser I could trn all the others back to disable instead of prompt

Joachim Müller

Post details about your browser if you want support on this issue. If you're happy with all the extra clutter then please resolve your thread

boristhemoggy

Quote from: Joachim Müller on September 18, 2009, 12:00:31 PM
Post details about your browser if you want support on this issue. If you're happy with all the extra clutter then please resolve your thread

I have IE7.I went into tools, internet options, security then click on custom level and said enable to all scripts. Then I cleared all cookies off my system again and this seems to have worked.
I am left however with prompts to let scripts run every time I load a webpage which is exceeedingly tedious.
Thanks for the help everyone.

boristhemoggy


Joachim Müller

Quote from: Joachim Müller on September 18, 2009, 12:00:31 PM
please resolve your thread
From that posting:
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
Resolve your threads
If you have found an answer to your question, resolve your thread. Don't just post "I have found the answer", but tell others what you actually did to solve your issues. Posting a link to the page where you found the answer might help. Describing what you did might help as well. Finally, you can tag your answer as "solved" by clicking on the little (https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fforum.coppermine-gallery.net%2FThemes%2Fcoppermine%2Fimages%2Fenglish%2Faccept.gif&hash=7fcff112ce3fe414fd83aee26a182ffdd0440c02) in your initial posting on your thread.
You failed to do anything from what I suggested. In fact you ignored my posting. The same thing will happen to you: you will be ignored!

Please do as supporters suggest if you want continued support >:(

boristhemoggy

Quote from: Joachim Müller on September 18, 2009, 04:31:51 PM
From that posting:You failed to do anything from what I suggested. In fact you ignored my posting. The same thing will happen to you: you will be ignored!

Please do as supporters suggest if you want continued support >:(

What the hell you talking about? I clearly stated exactly what I'd done to resolve the problem.
I did not ignore your posting at all you arrogant person.
Read up there are two there!!!

boristhemoggy

Quote from: boristhemoggy on September 18, 2009, 01:36:04 PM
All seems to be working fine now, except I have to click on loads of "let this script tun" type boxes now. That's clearly a browser thing though. If I knew precisey which script to let run in the browser I could trn all the others back to disable instead of prompt

Quote from: boristhemoggy on September 18, 2009, 01:36:04 PM
I have IE7.I went into tools, internet options, security then click on custom level and said enable to all scripts. Then I cleared all cookies off my system again and this seems to have worked.
I am left however with prompts to let scripts run every time I load a webpage which is exceeedingly tedious.
Thanks for the help everyone.

Just in case there's any confusion ... there's the two posts!!