Page 1 of 1

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

Posted: Thu Mar 17, 2011 10:41 pm
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.

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

Posted: Thu Mar 17, 2011 11:02 pm
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...

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

Posted: Thu Mar 17, 2011 11:22 pm
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....

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

Posted: Fri Mar 18, 2011 12:47 am
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.

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

Posted: Wed Mar 30, 2011 10:01 pm
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.

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

Posted: Wed Mar 30, 2011 10:34 pm
by Dr.CSS
I wonder if it has to do with PHP being 5.2.11?...

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

Posted: Wed Mar 30, 2011 11:28 pm
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.

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

Posted: Thu Mar 31, 2011 6:37 am
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.