coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: vici on May 15, 2006, 06:51:39 PM

Title: Can't login after upgrading 1.3.3 to 1.4.5
Post by: vici on May 15, 2006, 06:51:39 PM
I've already read probably all the topics concerning this problem

hello,
I know it seems to be a bit boring to read the same threads again and again, but I guess there's nothing left to do. I just can't log in to my admin panel.
first of all I followed the upgrade steps accurately. I could log in THEN. everything seemed to be ok, even the versioncheck, but I didn't manage to run my bridge manager because I couldn't get the access to this particular page. I wanted to do the bridge a bit later but then my problems with logging in began.
I've already tried all this phpMyAdmin stuff and it didn't solve my problems, then I removed the cookies and it didn't help either...
after logging, my browser redirects me to the main page, but the admin panel isn't shown. I thought I didn't manage to log in, but phpMyAdmin tool shows that I was then...logged!
my gallery's address: http://posh-madness.net/photos/index.php (http://posh-madness.net/photos/index.php)
luv,
gabi
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: Joachim Müller on May 16, 2006, 07:08:46 AM
Quote from: vici on May 15, 2006, 06:51:39 PM
but I didn't manage to run my bridge manager because I couldn't get the access to this particular page.
What error message did you get? If you got
QuoteYou don't have permission to access this page. 
, then you simply are not logged in as admin. Make sure your login sticks.
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: vici on May 16, 2006, 08:14:27 PM
actually I don't get ANY message. the coppermine accepts my login and password, then it redirects me to the main page of the gallery without any changes, I mean I'm not logged in and my admin panel isn't shown =(
QuoteYou don't have permission to access this page.
, then you simply are not logged in as admin. Make sure your login sticks.
well it's not really about having permission to access the page, it was probably sth wrong with the connection as its time was too long
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: Paver on May 16, 2006, 08:16:17 PM
Try clearing your browser's cookies & cache.
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: vici on May 16, 2006, 08:38:02 PM
Quote from: Paver on May 16, 2006, 08:16:17 PM
Try clearing your browser's cookies & cache.
I've also done it =(

Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: vici on May 16, 2006, 09:21:20 PM
maybe I have accidentally overwritten include/config.inc.php? could it have caused so many problems??
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: Joachim Müller on May 17, 2006, 12:45:45 AM
no - coppermine wouldn't be working at all if there were incorrect mySql access data in config.inc.php. Please don't post debug_output unless requested.
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: Tranz on May 17, 2006, 04:36:47 AM
Please post a test nonadmin account.
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: vici on May 17, 2006, 04:50:10 PM
Quote from: TranzNDance on May 17, 2006, 04:36:47 AM
Please post a test nonadmin account.
you mean the debug output or a username with password?
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: Tranz on May 17, 2006, 04:52:09 PM
username with password.
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: vici on May 17, 2006, 04:56:43 PM
kharolinah
owen10
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: vici on May 17, 2006, 09:24:02 PM
have you found anything my dear?
in the logs folder I've found a security log with a message 'Failed login attempt with Username: (lots of users here, no reasons though)'
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: Joachim Müller on May 18, 2006, 05:44:50 AM
this is not a hotline, allow more than just 5 hours before bumping ::)
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: Tranz on May 18, 2006, 06:53:16 AM
Well, I noticed your default theme had extra cookies pertaining to advertisement, so I thought maybe the ad might effect the cookies by sending extra code. The Classic theme did not have the code.

I tried logging in using both themes and neither stayed logged in.

Check at the end of include/config.inc.php. Does it have any extra whitespace after the last bit of code? Even a space or blank line can cause issues.
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: vici on May 18, 2006, 11:20:53 AM
I've already tried different themes and checked if there is a blank line in the config file a bit earlier =( but it didn't help...
I remember that the problems began when I decided to run a bridge manager. I chose the right link, it seemed to load but then my IE showed the blank page probably due to the connection problems
maybe the bridge was loaded indeed, but it didn't change all the things it was supposed to change? this is just an assumption, because there wasn't any report from coppermine
do you think I should install the script once again? I would just backup the albums folder, the users and some other more specific features hoping that the installation of the script will erase the faulty settings...what do you think? oh, I heard there are some differences between the users' base in cpg 1.3.3 and 1.4.5. if there are, I guess I'll have to run the bridge manager, won't I?
Title: Re: Can't login after upgrading 1.3.3 to 1.4.5
Post by: vici on May 19, 2006, 03:53:39 PM
ok, I figured out how to solve this problem
it was indeed sth wrong with the bridge - my user groups were lost and I had to create them in the cpg_usergroups table using myPHPadmin tool
anyway, I'm glad you were all willing to help me. maybe this thread really looks like a hotline, but believe me, it's so hard to stay calm when the gallery is a mess...