Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Cannot Get Into Admin Mode  (Read 4926 times)

0 Members and 1 Guest are viewing this topic.

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Cannot Get Into Admin Mode
« on: May 07, 2006, 10:57:49 pm »

Hi. Please help.

I've just upgraded to version 1.45 from 1.32. I was previously integrated with phpBB2 as well.

I've had problems logging in, which another thread here helped me to solve (all my users and passwords being in phpbb_users table, but this installation creating a "cpg11d_users" table with the login info there)

HOWEVER, logging on with this info is all well and good, EXCEPT that I can't get into Admin Mode. All I get is an error page with "You don't have permission to access this page. "

I've checked the database, and my (one and only) user in "cpg11d_users" is in "user_group" 1 - which I assume to be Administrators (judging from the cpg11s_usergroups table, and confirmed by the "Profile" feature in Coppermine)

So how can Admin be activated, as I seem well and truly locked out?

All help will be gratefully appreciated.

Thanks

Martin
« Last Edit: May 09, 2006, 05:34:25 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot Get Into Admin Mode
« Reply #1 on: May 07, 2006, 11:01:33 pm »

re-enable bridging using the bridge manager, as suggested in the docs
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Cannot Get Into Admin Mode
« Reply #2 on: May 08, 2006, 01:01:54 am »

Quote from: docs
you can enable/disable bridging in your browser, using a wizard-like user interface. To start the bridge manager, log in as admin, choose "Admin Tools" from the navigation and the "bridge manager"

That's part of the problem...I can't get into "Admin Tools" - as I "don't have permissions"

Not only that but I get the "don't have permissions" error message if I try to go straight to the bridgemgr.php file in my browser. (BTW, what should the CHMOD of bridgemgr.php be? Mine was 644, and I've tried with 755 and 777 (as I felt that this file ought to be "executable at the least), and none have worked.)

Thanks
« Last Edit: May 08, 2006, 01:18:27 am by uk_martin »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot Get Into Admin Mode
« Reply #3 on: May 08, 2006, 07:16:44 am »

you have to log in with the admin account of your unbridged coppermine install (usually the one you set up when installing coppermine in the first place). If you can't remember it, use the password reminder ("forgot password") link on the login page. If this doesn't work, use a tool like phpMyAdmin to directly access your database. Browse coppermine's user table, making sure that the admin account (group id "1") has a working email address in it's profile. If you have upgraded just yet and haven't converted your passwords to be encrypted, you can even retrieve the password of your admin account from there. Has been asked before already, please search the board for a more detailed explanation if this is not enough for you.
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Cannot Get Into Admin Mode
« Reply #4 on: May 08, 2006, 09:14:31 am »

you have to log in with the admin account of your unbridged coppermine install ...use a tool like phpMyAdmin to directly access your database. Browse coppermine's user table, making sure that the admin account (group id "1") has a working email address in it's profile. If you have upgraded just yet and haven't converted your passwords to be encrypted, you can even retrieve the password of your admin account from there.

That's exactly what I did, see here...

I've had problems logging in, which another thread here helped me to solve (all my users and passwords being in phpbb_users table, but this installation creating a "cpg11d_users" table with the login info there)...I've checked the database, and my (one and only) user in "cpg11d_users" is in "user_group" 1 - which I assume to be Administrators (judging from the cpg11s_usergroups table, and confirmed by the "Profile" feature in Coppermine)

Yes the password is unencrypted, and it is the one that I have used to log in with.

Hopefully there is another way around this? What would the Bridgemanager so if I could get into it? What manual changes can I make that it would have made for me?

Thanks

Martin
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot Get Into Admin Mode
« Reply #5 on: May 08, 2006, 09:41:10 am »

try clearing your cookie, then try again. It's mandatory that you can administer your site.
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Cannot Get Into Admin Mode
« Reply #6 on: May 08, 2006, 08:25:08 pm »

Hi

Thanks for that, it worked...well sort of...

For some reason the new version of Coppermine now doesn't display my Video clips (AVI and WMV file types)...still I suppose that's the subject of more research / another thread?

Martin
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot Get Into Admin Mode
« Reply #7 on: May 09, 2006, 05:34:10 am »

yes, post this on another thread. We have a "one issue per thread" policy that you agreed to respect when signing up. Marking this one as "solved" then.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.