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: Error, You don't have permission to access this page.  (Read 13345 times)

0 Members and 1 Guest are viewing this topic.

lilguy43uk

  • Coppermine newbie
  • Offline Offline
  • Posts: 17

Using V1.5.12 and this problem only started when I upgraded to this version.

I am getting  "Error You don't have permission to access this page" after uploading pictures to the gallery. It then kicks me back to a login screen with the option to choose language and theme although it's already been set to English and Curve.

Once I log in for the second time I can edit the information on the files that I have uploaded. I then have to logout twice to get out completely.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Error, You don't have permission to access this page.
« Reply #1 on: May 19, 2011, 03:10:52 pm »

Adjust the path to your gallery in the config.
Logged

lilguy43uk

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Error, You don't have permission to access this page.
« Reply #2 on: May 19, 2011, 03:28:30 pm »

Adjust the path to your gallery in the config.

Thanks Αndré

The path is set to http://fleetwoods-maritime-heritage.info/coppermine/

Which matches the path used in the web browser when accessing the gallery.
Logged

lilguy43uk

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Error, You don't have permission to access this page.
« Reply #3 on: May 19, 2011, 03:37:13 pm »

The cookie name was set to "Coppermine" so I've just changed it to the default "cpg15x" but it's made no difference.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Error, You don't have permission to access this page.
« Reply #4 on: May 19, 2011, 04:02:40 pm »

Please post a test user account which is able to upload files to your gallery.
Logged

lilguy43uk

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Error, You don't have permission to access this page.
« Reply #5 on: May 19, 2011, 04:06:05 pm »

I should point out that it's not until I've uploaded a picture and then clicked on to the "continue" button that I get taken to the second login screen. Once logged in for the second time and I've reset the theme and default language, then I get taken to the page where I should have gone when I clicked the "continue" button.
Logged

lilguy43uk

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Error, You don't have permission to access this page.
« Reply #6 on: May 19, 2011, 04:16:43 pm »

Please post a test user account which is able to upload files to your gallery.

Αndré

The gallery is at

http://fleetwoods-maritime-heritage.info/coppermine/

The user is Testuser and the password is testuser.

However, that's raised another problem. Although the user is in the "Registered" group and set to active, and the permissions for the group allows uploads, when I tested the account I was denied uploads into the public albums.

I'm going to walk away from this for an hour as I'm starting to get a bit confused. I'll have another look when I make myself a cup of tea.

Thanks
Logged

lilguy43uk

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Error, You don't have permission to access this page.
« Reply #7 on: May 19, 2011, 04:19:18 pm »

Just changed album permissions to allow uploads. Should be OK now.
Logged

lilguy43uk

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Error, You don't have permission to access this page.
« Reply #8 on: May 19, 2011, 04:21:01 pm »

Just changed album permissions to allow uploads. Should be OK now.

Oh, ballcocks

I knew I should have gone and made a brew. It's the "Coastal Vessel" gallery that I've enabled.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Error, You don't have permission to access this page.
« Reply #9 on: May 19, 2011, 05:02:14 pm »

Everything worked for me as expected. Please ensure that you're really on
and not on
when you're uploading pictures to your gallery.
Logged

lilguy43uk

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Error, You don't have permission to access this page.
« Reply #10 on: May 19, 2011, 05:24:04 pm »

Oh. good grief

Sometimes I need the obvious pointing out to me because I can be quite thick.

Thanks for that

Regards

Jim
Logged

lilguy43uk

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Error, You don't have permission to access this page.
« Reply #11 on: May 19, 2011, 05:28:33 pm »

I'm not getting the option to resolve this problem
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Error, You don't have permission to access this page.
« Reply #12 on: May 20, 2011, 11:10:14 am »

Maybe you want to read the last section of that document: http://documentation.coppermine-gallery.net/en/bridging.htm#integrating_subdomain_www
Logged

mjansherkhan

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Error, You don't have permission to access this page.
« Reply #13 on: July 07, 2012, 07:03:11 pm »


 I was having the same problem and it solved in the following way:

   I went to the Admin Panel -> Config -> General Settings

and changed the URL of my coppermine gallery

from
http://www.mysite.com/coppermine

to
http://mysite.com/coppermine

Just removed the www. and it solved the problem.
Hope it will help you.
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.