Page 2 of 2

Re: No permission to access /mysite/admin/addcontent.php on this server.[SOLVED]

Posted: Wed May 12, 2010 10:17 am
by Peciura
you probably are using .htaccess (may be even  some of them). Look for any restrictions  there.

Re: No permission to access /mysite/admin/addcontent.php on this server.[SOLVED]

Posted: Wed May 12, 2010 11:28 am
by jswags
Hi,

Reading other posts on the forum Calguy also mentioned modsecurity issues so I contacted my host provider to see if they could help.

According to the logs it's throwing up an error - ASL Rule 340161.

However the exemption on this rule hasn't fixed the problem so they are currently investigating the problem further - once I get a reply I'll post here.

Thanks

Re: No permission to access /mysite/admin/addcontent.php on this server.[SOLVED]

Posted: Mon Sep 20, 2010 8:54 pm
by cmsforchurch
Does anyone have any more suggestions for this problem?  I just started having this same problem today. I've had no problem adding content as either an admin user or an editor user before today.  I don't know of anything that changed in the meantime.  Today I get this error when I try to add content:
You don't have permission to access /admin/addcontent.php on this server.

I haven't made any upgrades to CMS Made Simple.  I am using 1.8.1.  My most recently installed module was Gallery, and I know I was able to add new content at that time.

I tried all the suggestions in this thread:

My system information shows that everything checks out fine.

I checked that the cms_content database file had the required column named 'secure' and that it was of type 'tinyint(4)'.

I tried setting modules to 775 and tiny to 775, but that just made TinyMCE editor not start up.  And even then I still got the same Forbidden error stating that I don't have permission to access /admin/addcontent.php.  I even tried setting permission of addcontent.php to 777, but it didn't help.

I don't know what HostGator is that shocktheory mentions in this thread, but I just searched for it in my Web host's help system and it didn't find anything.  shocktheory said the host did something wrong with some type of security issue.  Can you explain this more?  I have administrator access to our host system and would like to know if there is anything I can look for on the Web server that might be causing this problem.

I've run out of things to try.  I really need to be able to add content to my site!  I would appreciate any help anyone can offer!  Thanks!

Re: No permission to access /mysite/admin/addcontent.php on this server.[SOLVED]

Posted: Tue Sep 21, 2010 12:01 am
by tyman00
HostGator is actually a hosting company.

If you are positive that you haven't changed anything on the site, I would check with your host to see what they changed on the server. Something had to have been changed on their end recently. I would have them check "modsecurity" and php upgrades.

Re: No permission to access /mysite/admin/addcontent.php on this server.[SOLVED]

Posted: Wed Sep 22, 2010 11:17 pm
by cmsforchurch
Thanks - I checked with my host provider.  They fixed the problem.  Their explanation was:

We would like to inform you that, we have recently upgraded the Apache version due to which there were some issues related to executing PHP scripts. Currently, the issue has been resolved. Thank you for your patience.

I hope this information is helpful if anyone else runs into this same problem.