forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 permissions => Topic started by: Montezuma on August 15, 2016, 06:39:49 am

Title: You don't have permission to access this page.
Post by: Montezuma on August 15, 2016, 06:39:49 am
I have two issues.

I upgraded my site and added some photos under my personal account. The photos were added, I clicked "continue" and the following message appeared "Error: You don't have permission to access this page.". At that point, it looked like I was logged out but I could not get the "login" button too bring up the screen for logging in.  I hit the back arrow to a working screen, checked the album and all the photos had been loaded. I tried it again as administrator with the same results. What do I need to look for to determine what the issue is?

I checked my version to see if everything had been properly added and this was the results (second attachment). Is this a problem? How would I fix it?
Title: Re: You don't have permission to access this page.
Post by: Αndré on August 15, 2016, 03:15:38 pm
I checked my version to see if everything had been properly added and this was the results (second attachment). Is this a problem?
No.

To check the issue ourselves, please post a link to your gallery and a test user account with upload privileges (no admin account!).
Title: Re: You don't have permission to access this page.
Post by: Montezuma on August 16, 2016, 12:42:51 am
The site: www.cs-mn.com/cpg

Username: cpg
password: cpg

Thanks.
Title: Re: You don't have permission to access this page.
Post by: Αndré on August 16, 2016, 11:05:02 am
After successful upload I get redirected to http://cs-mn.com/cpg/editpics.php?album=188&newer_than=1471338047

I got the same error message as you. Please note the URL in your browser address bar. It's now http://cs-mn.com, while I initially logged in at http://www.cs-mn.com. To fix your issue, please adjust the "URL of your Coppermine gallery folder" in the Coppermine config by adding the leading "www." to your domain.
Title: Re: You don't have permission to access this page.
Post by: Montezuma on August 16, 2016, 05:04:51 pm
Thank you. Now everything is back to normal for uploading. :)
Title: Re: You don't have permission to access this page.
Post by: Montezuma on August 16, 2016, 05:10:18 pm
BTW, is there anything I can do to correct the version issue (2nd photo)? It may not be an issue for running CPG but any flags bother me.
Title: Re: You don't have permission to access this page.
Post by: Αndré on August 16, 2016, 05:32:27 pm
If it bothers you, you need to upload the updated versions of those files from the Coppermine package.
Title: Re: You don't have permission to access this page.
Post by: Montezuma on August 20, 2016, 07:51:22 am
If it isn't an issue, no it doesn't bother me.  If there is a utility to run and update it, I would, to keep it consistent.
Title: Re: You don't have permission to access this page.
Post by: Αndré on August 20, 2016, 09:06:54 am
It's no issue. I.e. those file don't contain any functionality nor security issues.