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: [Fixed] No longer getting admin access to my photo gallery.  (Read 2683 times)

0 Members and 1 Guest are viewing this topic.

cangurob

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
[Fixed] No longer getting admin access to my photo gallery.
« on: August 25, 2004, 04:02:53 am »

I'm running Coppermine 1.2.1 on my site.  I've just installed it in the last few days, and it's been going GREAT so far.

All of a sudden today, I log in to upload a few more pictures, when I find that I no longer have admin access.  If I click on the "Admin mode" link, it says: "entering admin mode" then takes me back to normal user mode.

This is the main admin account (I haven't created any other accounts yet).  Also, if I go to upload a picture, it says: "Sorry there is no album where you are allowed to upload pictures "

any ideas?

EDIT: Having chequed the database, that username is still set to usergroup 1 and the usergroup 1 is the administrator level, so it does not appear to be a database error.

Could it be something to do with cookies ? (hhmmmm, must be lunch time.)
« Last Edit: August 25, 2004, 04:31:08 am by cangurob »
Logged

cangurob

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: No longer getting admin access to my photo gallery.
« Reply #1 on: August 25, 2004, 04:27:44 am »

w00t !

I just answered my own question, looking through the login.php script I found some interesting cookie code, so I just deleted all my internet cookies, and it's fixed!!!

Go coppermine, you rock !!! Fixed my problems good  ;D

BTW, big up to you guys, this software is awesome  :)

Logged

cangurob

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: [Fixed] No longer getting admin access to my photo gallery.
« Reply #2 on: August 25, 2004, 04:33:03 am »

Ok, since you guys fixed my last problem so quickly, here's another one:

In order to batch add files to albums, I have to set the permissions in the ftp so that all users can write to the folders,  now while I can do it for the batch add, then change it back again once it's been done, that really doesn't seem like the best way of doing it.

Is there a way of setting it so that I don't have to make give write permissions to all users in order to do batch adds to albums ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Fixed] No longer getting admin access to my photo gallery.
« Reply #3 on: August 25, 2004, 08:05:06 am »

only the admin can batch-add pics, for a good and valid reason: you mustdn't give others ftp access to a folder within your webroot, your page could (and will) be easily hacked. This has been asked before, please search the board for details.

GauGau

P.S. You wrote you only installed some days ago. Any special reason for not using the most recent stable version cpg 1.3.2 then, that has multiple http uploads? Using the outdated cpg1.2.1 is not recommended any longer, especially not for fresh installs.
P.P.S. We have a "one question per thread" policy on this board
Logged

cangurob

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: [Fixed] No longer getting admin access to my photo gallery.
« Reply #4 on: August 25, 2004, 08:36:17 am »

cheers, I'll do a bit of searching.  as for the latest version of the board, version 1.2.1 was what my web host installed for me... I've since upgraded it.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 14 queries.