Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2   Go Down

Author Topic: Can't login after upgrade  (Read 11963 times)

0 Members and 1 Guest are viewing this topic.

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Can't login after upgrade
« on: December 16, 2005, 04:24:07 am »

I upgraded from CPG 1.3.x to 1.4.2 and now when I go to my gallery I can't login. All pictures and albums are intact, but I can't login. It says:

Quote
*** Couldn't log in. Try again ***

I did have my gallery bridged with IPB 2.1 before I upgraded. I *think* the problem may be there.

My gallery's URL is: http://www.metcoverart.com/gallery
I'm using 1.4.2's default Classic theme, so it's not a matter of theme problems.

What can I do? ???
« Last Edit: December 23, 2005, 03:24:50 am by Nibbler »
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Can't login after upgrade
« Reply #1 on: December 16, 2005, 05:42:40 am »

Are you using the same theme that you previously used for 1.3?
If so, you will have to modify that theme to work under 1.4x before the login/logout functions work properly.

try loggin in using the following to see if that is indeed the case:

http://www.metcoverart.com/gallery/index.php?theme=classic



Dennis
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Can't login after upgrade
« Reply #2 on: December 16, 2005, 02:35:50 pm »

Yes, I was already using CPG 1.4.2's Classic theme; I've made no modifications to it.
Logged

Nibbler

  • Guest
Re: Can't login after upgrade
« Reply #3 on: December 16, 2005, 03:31:53 pm »

You need to login with the original coppermine admin account you created during installation and then re-enable the bridge with the bridge manager.
Logged

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Can't login after upgrade
« Reply #4 on: December 16, 2005, 10:22:54 pm »

Do I do the "Start Bridging Wizard" option? I thought I read somewhere in the installation manual that any current pictures would be deleted? I can't afford that to happen...
Logged

Nibbler

  • Guest
Re: Can't login after upgrade
« Reply #5 on: December 16, 2005, 10:24:47 pm »

It doesn't say that. If you were bridged before then you can just rebridge using the bridge manager.
Logged

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Can't login after upgrade
« Reply #6 on: December 17, 2005, 06:39:03 am »

Ok, you're right, I got it bridged again. ;)

However, I now have a new problem. My old user groups from IPB weren't imported, so my Admin user group doesn't have admin properties for the gallery, so when I click Logout and click Login again to login with my default admin CPG account, it takes me to my forum to login, but I can't login using my default CPG admin account on the forum. Do you know how I can get around that?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can't login after upgrade
« Reply #7 on: December 17, 2005, 09:04:10 am »

once you have enabled bridging, you need to log in using the admin account from your bbs - that's the point of bridging, that's what it's about. Hasn't changed from cpg1.3.x to cpg1.4.x
Logged

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Can't login after upgrade
« Reply #8 on: December 17, 2005, 06:01:23 pm »

There's a problem though -- after I'm logged in as the root admin on my forum and then go to my gallery, there's no gallery admin options, just user options.
Logged

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Can't login after upgrade
« Reply #9 on: December 17, 2005, 06:10:06 pm »

In this topic there was a similar problem with the admin mode not showing up after CPG was bridged with a forum:

http://forum.coppermine-gallery.net/index.php?topic=24931.0
« Last Edit: December 18, 2005, 08:48:21 am by St. Anger »
Logged

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Can't login after upgrade
« Reply #10 on: December 18, 2005, 09:01:06 am »

It doesn't give me any admin menu links, just user links, but if I go to the /admin.php page (while I'm logged in as admin at my forum) I get this error:

Quote
You don't have permission to access this page.
File: /home/metcover/public_html/gallery/admin.php - Line: 45
Logged

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Can't login after upgrade
« Reply #11 on: December 19, 2005, 06:38:41 pm »

I'll pay someone via PayPal or donate to Coppermine if they can help me get this problem fixed.

I have to get it fixed asap, it needs to be fixed by the 24th and have a new theme and I can't start on the new theme until this is fixed.
Logged

thoxic

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: Can't login after upgrade
« Reply #12 on: December 20, 2005, 12:13:42 am »

I can't login too :(
I didn't understand why
Logged

RaZor Edge

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • FN-NATION
Re: Can't login after upgrade
« Reply #13 on: December 20, 2005, 03:40:33 am »

Hi St. Anger

If you have access to phpMyAdmin on your server, look at your coppermine database in table "usergroups".

Look if there's a row with group_id=1

Mine was deleted when I used a bridge with my vbulletin forum.

If there is no group_id=1, insert a new row with group_id=1 , group_name=Administrator and has_admin_access=1.

Hope this will work for you!  ;)

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Can't login after upgrade
« Reply #14 on: December 20, 2005, 07:23:12 am »

I have a group_id row. Same thing or not?

Here's a screenshot of the usergroups table:

http://spawn.metpage.org/temp/table_usergroups.gif
Logged

thoxic

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: Can't login after upgrade
« Reply #16 on: December 20, 2005, 09:09:03 pm »

I don't have any bridges and I can't login :(
Logged

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Can't login after upgrade
« Reply #17 on: December 21, 2005, 01:22:44 am »

Thanks for your help, it didn't fix my problem but it helped me to figure out that there is already an Administrators group with ID 1, so that's not what my problem is. Any other suggestions? :(
Logged

Nibbler

  • Guest
Re: Can't login after upgrade
« Reply #18 on: December 21, 2005, 01:24:23 am »

If you can PM me FTP and phpmyadmin access to your gallery I can take a look at it for you.
Logged

St. Anger

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Can't login after upgrade
« Reply #19 on: December 22, 2005, 06:09:15 pm »

I PMed you. Thanks a lot for helping me fix this problem, I really appreciate it. :)
Logged
Pages: [1] 2   Go Up
 

Page created in 0.029 seconds with 19 queries.