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] 2   Go Down

Author Topic: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!  (Read 21931 times)

0 Members and 1 Guest are viewing this topic.

joelgomez

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • 4x4 fan & attorney
    • The only 4x4 Gallery in Mexico

I upgraded from CP 1.3.2 to 1.4.7. Everything was fine until I logged in into the gallery. I'm now a "regular user" without administrator's rights. The administrator menu has disappeared!!! When I enter into "my profile" I appear as a member of the administrator group, but I cannot find the button or link to enter into Administration mode.

PLEASE HELP!!! 11,800 photos are awaiting to be managed!  :(

Warm Regards,
Joel
« Last Edit: June 12, 2006, 10:27:19 pm by GauGau »
Logged
(http://www.galeria4x4.com.mx/photos/signature_cpg.php)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #1 on: June 06, 2006, 11:23:08 pm »

This might be a theme issue.  Your admin toolbar is not being displayed by your theme.

Try adding "?theme=classic" to your URL and see if that shows the admin toolbar.  (in your case: http://www.galeria4x4.com.mx/photos/index.php?theme=classic )

You need to properly convert 1.3 themes to 1.4 (using the documentation theme upgrade guide).  Many of the contributed 1.3 themes have been converted to 1.4 themes.  Check the downloads if you are using one of those.

By the way, it looks like you upgraded to 1.4.6.  You should upgrade to 1.4.7 as soon as possible.

edit: Oh, the config panel is "admin.php", so you could type that in manually for now.
« Last Edit: June 07, 2006, 12:20:51 am by Paver »
Logged

joelgomez

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • 4x4 fan & attorney
    • The only 4x4 Gallery in Mexico
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #2 on: June 07, 2006, 07:32:35 am »

GauGau, I followed your advice and upgraded to 1.4.7. The problem is NOT solved yet. I can not access the administration panel, even trying to go directly to admin.php. The following legend appears "you do not have permission to access this page".
Logged
(http://www.galeria4x4.com.mx/photos/signature_cpg.php)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #3 on: June 07, 2006, 08:02:58 am »

<looks around> Where's GauGau?   :)

Trying clearing your cookies.  Does the login page return an error?
Logged

glenc

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 31
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #4 on: June 07, 2006, 02:32:33 pm »

Hi joelgomez, not that it will fix your problem but try logging on using Firefox. I am having the same issue and was going to post on your thread but when I read
Quote
When I enter into "my profile"
I thought we had different issues because I couldn’t even get that. Anyways just a thought to try Firefox, it worked for me.

Glen
Logged
Quote
Find a common need and do it uncommonly well.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #5 on: June 08, 2006, 12:32:02 am »

Joel,

I suspect that you used to have a bridged install for cpg1.3.x... Remember that when upgrading from cpg1.3.x to cpg1.4.x, bridging got turned off , you'll have to re-bridge using the new bridging mechanisms that come with cpg1.4.x.
Logged

joelgomez

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • 4x4 fan & attorney
    • The only 4x4 Gallery in Mexico
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #6 on: June 09, 2006, 05:02:06 am »

Hi GauGau,

As far as I know, I never used a bridged version of Coppermine. All the time Ive used Coppermine as a stand alone script. The only thing running on my website is Coppermine. Ive done upgrades before, but never had this kind of problem.

Quote
5.3.2 Recover from failed bridging

If you have provided improper settings using the bridge manager, your integration might fail, resulting (in the worst case) in a stituation where bridging is enabled, but you can not log in as admin to switch it off again (e.g. if you provided improper cookie settings that stops authentication from working). For this situation a recovery setting was built into the bridge manager: if you are not logged in as coppermine admin (in fact: not logged in at all) and you access the URL of your bridge manager (http://yourdomain.tld/your_coppermine_folder/bridgemgr.php) by entering it manually into the address bar of your browser, you are prompted to enter your admin account details - use the admin account you used to install coppermine with in the first place (the standalone admin account). This will not log you in, but switch integration off, so you can fix improper bridging settings then. To avoid others trying to guess your admin account details, there's a login treshold that rises every time you enter wrong credentials, so enter your admin account details with care.

SHALL I FOLLOW THIS PROCEDURE EVEN IF I WASNT USING A BRIDGED VERSION OF COPPERMINE???

PLEASE HELP! ILL APRECIATE IT A LOT.
Logged
(http://www.galeria4x4.com.mx/photos/signature_cpg.php)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

joelgomez

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • 4x4 fan & attorney
    • The only 4x4 Gallery in Mexico
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #7 on: June 09, 2006, 05:14:20 am »

I already tried the previous proceeding. An error appeared:

No tienes permisos para acceder a esta página.
(You do not have permission to acces this page).

It never prompted for my login account info, I wasnt logged and I used both IE and FireFox.

 ??? ??? ???
Logged
(http://www.galeria4x4.com.mx/photos/signature_cpg.php)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #8 on: June 09, 2006, 06:21:50 am »

You must have been logged in to perform admin things.
Logged

joelgomez

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • 4x4 fan & attorney
    • The only 4x4 Gallery in Mexico
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #9 on: June 09, 2006, 02:47:18 pm »

Tried again, being logged in, same error appears: You dont have permission to acces this page.

 ??? ??? ???
Logged
(http://www.galeria4x4.com.mx/photos/signature_cpg.php)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #10 on: June 09, 2006, 03:36:38 pm »

Have you tried clearing your browser's cookies and cache?

Do you get any error message when you log in? 

When you're "logged in", does it appear that you are logged in, just not an administrator?  For example, can you view your profile?  Can you view the Memberlist? (if you have "allow logged-in users to view memberlist" set)

Since I was responsible for the stability bug in 1.4.7 and I recommended you upgrade earlier in this thread, I'd like to remind you to upgrade to 1.4.8.  The change is small and won't affect anything here, but will fix that stability bug.
Logged

joelgomez

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • 4x4 fan & attorney
    • The only 4x4 Gallery in Mexico
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #11 on: June 09, 2006, 07:32:10 pm »

Have you tried clearing your browser's cookies and cache?

Yes, I just tried in factory/brand new computer with 0 cache, and the problem is still there!

Do you get any error message when you log in? 

No, I receive no error message when I logg in.

When you're "logged in", does it appear that you are logged in, just not an administrator? 

Yes, I appeared logged in, but NOT as an administrator... I dont have the link to change to an administrator mode, I canot acces the admin.php file even typing it manually on the browser. ("You do not have permission to acces this page").

For example, can you view your profile?  Can you view the Memberlist? (if you have "allow logged-in users to view memberlist" set)

I can view my profile, and I appear as an ADMINISTRATOR there. I can view the memberlist, but I dont remember if I allowed non-administrators to view memberlist. A good friend of mine has administrator rights and he has the same problems that I'm having.

A few minutes ago, I received by email a "picture approval notification" (I never chose to approve photos, any user could upload photos without approval)... when I click on the link, an error page of my hosting provider appears on the screen.

Since I was responsible for the stability bug in 1.4.7 and I recommended you upgrade earlier in this thread, I'd like to remind you to upgrade to 1.4.8.  The change is small and won't affect anything here, but will fix that stability bug.

Will I have to upload all the files again? This will be my third upgrade in a week! If that solves my problem, I'll be happy to do it again.

THANKS for your help PAVER... I hope to receive any further input to solve this issue.

Warm Regards,
Joel
Logged
(http://www.galeria4x4.com.mx/photos/signature_cpg.php)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

glenc

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 31
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #12 on: June 10, 2006, 01:29:15 am »

What if you delete all but the albums folder and upload the new version :o of course you need to follow the upgrade docs.
Quote
3.5 Upgrading from cpg1.4.0 or better to version cpg1.4.8
First, make a backup (dump) of your database.
Backup your include/config.inc.php file, your anycontent.php file and your "albums" directory.
Unpack the archive
If the file install.php exists in the root directory, delete it. When performing an upgrade, it is not needed.
Except for the "albums" directory, upload all of the new files and directories making sure not to overwrite the include/config.inc.php file, your anycontent.php file or the albums directory.
Run the file "update.php" in the coppermine directory once in your browser (e.g. http://yourdomain.tld/coppermine/update.php). This will update your coppermine install by making all necessary changes in the database.
If you have made a custom theme, apply the changes that were introduced in the themes structure to your custom-made theme - refer to the theme-upgrade guide.
Please note: as there have been changes both in the coppermine files and the database from cpg1.4.0 or better to cpg1.4.8, users of older versions than cpg1.4.8 will have to apply all steps mentioned above: both the files have to be replaced and the update.php script has to be run once.

Logged
Quote
Find a common need and do it uncommonly well.

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #13 on: June 10, 2006, 01:49:01 am »

I can view my profile, and I appear as an ADMINISTRATOR there. I can view the memberlist, but I dont remember if I allowed non-administrators to view memberlist. A good friend of mine has administrator rights and he has the same problems that I'm having.
There have been a few reports with this exact problem it seems.  But the reports are from various versions of 1.4.x, so it's not a 1.4.7/8 issue but rather something else in the 1.4.x series.  I'm not saying it's a bug yet because I cannot reproduce the issue.

Please check your cpg_usergroups table using phpMyAdmin.  Look at the record for "Administrators" and see what the field "has_admin_access" is set to.  It should be "1" for admins and "0" for everyone else. 

Quote
Will I have to upload all the files again? This will be my third upgrade in a week! If that solves my problem, I'll be happy to do it again.
It won't solve this problem (I think), but you have to do it sometime, and it shouldn't hurt things.
Logged

joelgomez

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • 4x4 fan & attorney
    • The only 4x4 Gallery in Mexico
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #14 on: June 11, 2006, 10:53:45 am »

Hi Paver,

I upgraded to 1.4.8 and nothing happened. I do not have admin acces to my site.

Since I did not find "administrator" record, Im copying what I see...
Logged
(http://www.galeria4x4.com.mx/photos/signature_cpg.php)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #15 on: June 11, 2006, 05:54:21 pm »

@joelgomez: On the page whose screenshot you posted, you need to click on the "Browse" button at the top of the page.  Then you'll see the actual records.  The screenshot you posted is merely the structure of that table.
Logged

joelgomez

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • 4x4 fan & attorney
    • The only 4x4 Gallery in Mexico
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #16 on: June 11, 2006, 06:18:49 pm »

It was as you posted, 1 for Administrators...

Whats next?  ??? :(
Logged
(http://www.galeria4x4.com.mx/photos/signature_cpg.php)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #17 on: June 11, 2006, 09:30:03 pm »

Hmm... I just thought of something - I don't know if it could be this simple.

Try this URL after you are logged in:
http://www.galeria4x4.com.mx/photos/mode.php?admin_mode=1&referer=index.php
Logged

joelgomez

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • 4x4 fan & attorney
    • The only 4x4 Gallery in Mexico
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #18 on: June 12, 2006, 05:51:39 am »

Didnt work either Paver, the same "you do not have access to this page" legend appears...  :( ???

What else can I try? I appreciate a lot your help!
Logged
(http://www.galeria4x4.com.mx/photos/signature_cpg.php)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: I'm no longer the ADMINISTRATOR of my coppermine photo gallery!
« Reply #19 on: June 12, 2006, 08:57:54 am »

I'm not sure , but may be it's cookie issue ! did you edit your cookie path under config (take look at XXXX_config table and find "cookie_path" the value should be "/").
after comparing your cookie with mine and also coppermine demo I found a missed "%3D" before your site name under that.
- it's good if you can give us a screenshot of XXXX_config table.

edit: sorry , it's not cookie issue , as if it was you couldn't login
But I'm still worrying about missed "%3D" ???
« Last Edit: June 12, 2006, 09:25:58 am by bmossavari »
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1] 2   Go Up
 

Page created in 0.033 seconds with 20 queries.