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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Peciura

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

Post by Peciura »

you probably are using .htaccess (may be even  some of them). Look for any restrictions  there.
User avatar
jswags
Forum Members
Forum Members
Posts: 15
Joined: Tue Dec 11, 2007 1:57 pm

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

Post 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
cmsforchurch
Forum Members
Forum Members
Posts: 29
Joined: Mon Sep 20, 2010 8:36 pm

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

Post 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!
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

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

Post 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.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
cmsforchurch
Forum Members
Forum Members
Posts: 29
Joined: Mon Sep 20, 2010 8:36 pm

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

Post 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.
Locked

Return to “[locked] Installation, Setup and Upgrade”