Error, You don't have permission to access this page. Error, You don't have permission to access this page.
 

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

Main Menu

Error, You don't have permission to access this page.

Started by lilguy43uk, May 19, 2011, 03:02:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lilguy43uk

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.

Αndré


lilguy43uk

Quote from: Αndré on May 19, 2011, 03:10:52 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.

lilguy43uk

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

Αndré

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

lilguy43uk

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.

lilguy43uk

Quote from: Αndré on May 19, 2011, 04:02:40 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

lilguy43uk

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

lilguy43uk

Quote from: lilguy43uk on May 19, 2011, 04:19:18 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.

Αndré

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

lilguy43uk

Oh. good grief

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

Thanks for that

Regards

Jim

lilguy43uk

I'm not getting the option to resolve this problem

Αndré


mjansherkhan


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.