You don't have permission to access ......

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
User avatar
KJHunt
Forum Members
Forum Members
Posts: 33
Joined: Tue Aug 15, 2006 2:33 pm

You don't have permission to access ......

Post by KJHunt »

Hi Folks
I am running 1.9.4.1 and when I try to modify and submit a Global Content Block I get the "Forbidden....." message above.
The error log on my cPanel states:
File does not exist: /home/my-website/public_html/403.shtml, referer: http://www.my-website.ie/admin/edithtml ... lblob_id=1
I also get this when editing some other settings in the modules such as TinyMCE.

I am sure it is to do with file permissions, but I cannot figure which ones need changing.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: You don't have permission to access ......

Post by Dr.CSS »

Most times if your server has a hard time with permissions it shows up in System information page as yellow ! or red X...
User avatar
KJHunt
Forum Members
Forum Members
Posts: 33
Joined: Tue Aug 15, 2006 2:33 pm

Re: You don't have permission to access ......

Post by KJHunt »

Hi Dr CSS
I had checked the forum earlier and saw references to that suggestion, but there were no red X's. I recall 2 or 3 yellows OK, but I have always seen these and never had an issue with them until today.

Could it be upgrade related as I went from I think 1.6 to 1.9....
User avatar
pixelita
Power Poster
Power Poster
Posts: 388
Joined: Sun Sep 16, 2007 3:07 am
Location: Houston, Texas USA

Re: You don't have permission to access ......

Post by pixelita »

You might want to check your server credentials. Create a phpinfo.php file. With a simple text editor (such as Notepad; NOT Word!), create a new "phpinfo.php" file containing this code, and only this:

Code:

Code: Select all

<?php phpinfo(); ?>
Upload that page (phpinfo.php) to your server root, and call it with your Internet browser (e.g., mycoolwebsite.com/phpinfo.php). Now a page should be displayed telling you the PHP version installed on your server and how your server is set up. This helps folks troubleshoot issues that pertain to versions of Apache, PHP and MySQL that your web host is using and what may be enabled or disabled.

But I think going from 1.6 to 1.9 in one fell swoop (which is what you said you did if I understand correctly), might have stunk up the pond a bit. I do incremental backups between major versions because there are subtle changes to the database that may be overlooked in a huge jump like that.
Submit your site to the We Love CMSMS showcase
User avatar
KJHunt
Forum Members
Forum Members
Posts: 33
Joined: Tue Aug 15, 2006 2:33 pm

Re: You don't have permission to access ......

Post by KJHunt »

I have uploaded and called phpinfo.php and tried to attach the results in a PDF, but this file format is not accepted for some reason.

So I have uploaded the PDF to the site and you can view it temporarily on http://www.nadiagymnastics.ie/phpinfo-detail-report.pdf

If anyone could review this file and see if there is a problem relating to access permissions I would be very grateful.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: You don't have permission to access ......

Post by Dr.CSS »

I wonder if it has to do with PHP being 5.2.11?...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: You don't have permission to access ......

Post by calguy1000 »

I will bet you are on godaddy or some other host that has mod_security enabled by default.

Contact them and get them to disable it for your site.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
KJHunt
Forum Members
Forum Members
Posts: 33
Joined: Tue Aug 15, 2006 2:33 pm

Re: You don't have permission to access ......

Post by KJHunt »

I am not on GoDaddy and my host does not have mod_sec on as I already asked this question.

Dr CSS, you say:
I wonder if it has to do with PHP being 5.2.11?...
any particular reason?

I have other CMS sites on the same server and they are all functioning correctly.

I get a similar message when I try to edit a Global Content Block with wysiwyg turned off, but when I turn it on in GCB it works perfectly.

Any more help greatly appreciated.
Locked

Return to “CMSMS Core”