forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: boristhemoggy on September 11, 2009, 06:56:33 pm

Title: After new install, login does not work
Post by: boristhemoggy on September 11, 2009, 06:56:33 pm
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?
Title: Re: After new install, login does not work
Post by: onthepike on September 11, 2009, 07:06:46 pm
Yes, post a link to your gallery and a non-admin test account.
Title: Re: After new install, login does not work
Post by: boristhemoggy on September 11, 2009, 07:36:03 pm
http://softsabot.co.uk/fotgal/index.php
and the user is nonadmin and pass is test
Title: Re: After new install, login does not work
Post by: boristhemoggy on September 11, 2009, 07:38:38 pm
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?
Title: Re: After new install, login does not work
Post by: onthepike on September 11, 2009, 07:56:06 pm
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?
Title: Re: After new install, login does not work
Post by: boristhemoggy on September 12, 2009, 08:37:38 pm
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
Title: Re: After new install, login does not work
Post by: onthepike on September 12, 2009, 09:23:31 pm
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?
Title: Re: After new install, login does not work
Post by: phill104 on September 13, 2009, 12:09:26 am
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.
Title: Re: After new install, login does not work
Post by: boristhemoggy on September 13, 2009, 01:06:59 am
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.
Title: Re: After new install, login does not work
Post by: onthepike on September 13, 2009, 02:00:17 am
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.
Title: Re: After new install, login does not work
Post by: phill104 on September 13, 2009, 11:21:50 am
I installed from the hosting service.

In that case you need first to follow the upgrade procedure outlined here.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14
Title: Re: After new install, login does not work
Post by: boristhemoggy on September 17, 2009, 09:56:00 pm
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!
Title: Re: After new install, login does not work
Post by: phill104 on September 18, 2009, 10:06:54 am
What prompt do you have to click?
Title: Re: After new install, login does not work
Post by: boristhemoggy on September 18, 2009, 11:45:35 am
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
Title: Re: After new install, login does not work
Post by: 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 (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631)
Title: Re: After new install, login does not work
Post by: boristhemoggy on September 18, 2009, 01:36:04 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 (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631)

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.
Title: [Solved ] Re: After new install, login does not work
Post by: boristhemoggy on September 18, 2009, 01:38:50 pm
Sorry, this issue is resolved
Title: Re: After new install, login does not work
Post by: Joachim Müller on September 18, 2009, 04:31:51 pm
please resolve your thread (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631)
From that posting:
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://forum.coppermine-gallery.net/Themes/coppermine/images/english/accept.gif) 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 >:(
Title: Re: After new install, login does not work
Post by: boristhemoggy on September 18, 2009, 05:06:32 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!!!
Title: Re: After new install, login does not work
Post by: boristhemoggy on September 18, 2009, 05:09:06 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

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!!
Title: Re: After new install, login does not work
Post by: boristhemoggy on September 18, 2009, 05:13:05 pm
Just in case there's any confusion ... there's the two posts!!


Ahhhhhhh so you've to click on the thing to mark it solved. I didn't spot that bit why didn't you just point that out you monkey instead of being rude.
Lots of thanks again to thsoe that halped.
Title: Re: After new install, login does not work
Post by: phill104 on September 18, 2009, 07:09:19 pm
Erm, he did point that out in the thread linked to. Not reading that is just lazy and rude. You then decide to throw personnal insults around which it pushing your luck too far. As such you have earned yourself a 3 day ban. If your attuitude continues then you will no longer be welcome here.