I have a brand new installation and am intermittently getting a 403 error when using the "hide admin controls" button under "my gallery". The message says "403 Forbidden Access to this resource on the server is denied!" The web address in the address bar when I get this message is https://familytreasuresfound.com/mode.php?admin_mode=1&referer=thumbnails.php%3Falbum%3Dlastup%26cat%3D0.
I looked up the permissions page in the documentation online and made sure that all of the folders & files that needed 777 permissions were set correctly. I did have to change some of those but it hasn't affected the 403 issue. I'm able to create categories & albums and upload pics without any error messages. I'm not sure where else to look for help with this and haven't found any posts at all in the forum or by googling that deal with this... I'm afraid that I might be missing something obvious but I sure don't know where to look next..
Thank you for all help!
The error is not from Coppermine, but from your hosting. You may need to approach them for assistance on this one.
I had to put this project on the back burner until now. I've contacted the host and this is there reply:
Thank you for the reply. We were able to replicate the issue, but unfortunately, the logs do not, in-turn, provide any clarity as to the cause. Are you able to provide the exact information Coppermine Support suggested? We can also try running a script, if you'd like, that will automatically check for and correct and detected wrong file permissions.ownerships, though it is of note that any custom such permissions or file ownerships set will be affected.
If this was previously working, you can also try using Server Rewind to restore the site using this guide: https://www.a2hosting.com/kb/cpanel/cpanel-file-features/server-rewind/
Does this look like a file/folder permissions issue? Any other ideas?
Thank you!
Also... I'm getting the 403 error with "Show News" also.
This has been fixed! I opened a ticket with my hosting support team and gave them a few ideas that I had found here on the CM board about 403 errors. They took care of each of them and now I'm not getting any 403 errors. But because they made 3 different changes I don't know which one was the actual issue. Here's what they did just in case it helps someone else:
>> I have renamed the .htaccess file.
>> I have reset the file permissions.
>> Also, I have disabled the modsecurity.
This thread can be closed. Thank you!
I think I spoke too soon on closing this. The 403 errors are still gone but now I've got 2 new issues. I'm not sure if the changes the hosting tech support made would have caused these:
1. The "Upload File" link is gone for all users. But it comes back for the Admin user if the SMF bridge is turned off.
2. The "Check Versions" now has these errors that I did not notice before:
Path Missing Permissions Version Modified Comment Repository link
gifimages/vanity/h_valid-css.gif n/a Modified File may be corrupt (or you have deliberately edited it).
gifimages/vanity/h_valid-xhtml10.gif n/a Modified File may be corrupt (or you have deliberately edited it).
Granted I'm already having issues with the bridge and have a thread opened on that but as far as I know the above issues didn't show up until the changes the web host made...
https://forum.coppermine-gallery.net/index.php/topic,80709.0.html