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.
espectations
New Member
New Member
Posts: 7
Joined: Fri Dec 28, 2007 8:45 am

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

Post by espectations »

Hello,

I upgraded 1.6 to 1.7 and then 1.7.1 - after that I logged into admin to add content and got this messages - could someone please advise how to fix this?


Forbidden
You don't have permission to access /mysite/admin/addcontent.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Marinda Stuiver
Last edited by reneh on Fri May 07, 2010 11:07 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

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

Post by Dr.CSS »

Can you still see your system info page? if so look for any yellow ! or red X...
User avatar
shocktheory
New Member
New Member
Posts: 5
Joined: Thu Feb 07, 2008 7:22 pm

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

Post by shocktheory »

I've been using CMS Made Simple for a while now and this is the first error I've ever gotten when I did a NEW install of the 1.71. I get the same message - can someone please advise.

I checked the system settings - it's the same as all the other sites I've done and those are working properly. It only happened when I installed this new version.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

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

Post by Dr.CSS »

Does your server use the rquired versions of PHP etc.?...
User avatar
shocktheory
New Member
New Member
Posts: 5
Joined: Thu Feb 07, 2008 7:22 pm

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

Post by shocktheory »

Yes it does. I just found out that "every" site we've ever done with CMS Made Simple is now having an issue with saving the page. There is a common factor is that the host for all of these are HostGator. So I've contacted HostGator to see if something has changed but I'm just really curious as to why this is happening all of a sudden. That is alot of websites.
User avatar
shocktheory
New Member
New Member
Posts: 5
Joined: Thu Feb 07, 2008 7:22 pm

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

Post by shocktheory »

My host actually did something wrong with some type of security issue. They has to go back and change (whitelist) all 30 sites. urrgh. So, I'll consider this issue closed for me. :) Thanks! 
espectations
New Member
New Member
Posts: 7
Joined: Fri Dec 28, 2007 8:45 am

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

Post by espectations »

Our hosting company did not change anything.

I changed my site back to the previous version and it is working - then I created a new directory and installed 1.7.1 just to test and once again I could not add content - here are my system settings:

which one of these could maybe cause the problem??
----------------------------------------------

Cms Version: 1.7.1

Installed Modules:

CMSMailer: 2.0
FileManager: 1.0.2
MenuManager: 1.6.3
ModuleManager: 1.3.3
News: 2.10.5
nuSOAP: 1.0.1
Printing: 1.0.4
Search: 1.6.3
ThemeManager: 1.1.1
TinyMCE: 2.7.0


Config Information:

php_memory_limit:
process_whole_template: false
max_upload_size: 10000000
default_upload_permission: 664
assume_mod_rewrite: true
page_extension:
internal_pretty_urls: false
use_hierarchy: true


Php Information:

phpversion: 5.2.13
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 32M
max_execution_time: 30
safe_mode: Off (False)
session_save_path: No check because open basedir active
session_use_cookies: On (True)


Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.90


----------------------------------------------
espectations
New Member
New Member
Posts: 7
Joined: Fri Dec 28, 2007 8:45 am

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

Post by espectations »

I forgot to mention that we have PHP Version 5.2.13 and MySQL - 5.0.90 installed.

I would really appreciate some assistance

Kind regards
Marinda Stuiver
Peciura

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

Post by Peciura »

espectations, i guess new column was not created. there should be all these colunms in `cms_content`:
content_id, content_name, type, owner_id, parent_id, template_id, item_order, hierarchy, default_content, menu_text, content_alias, show_in_menu, collapsed, markup, active, cachable, id_hierarchy, hierarchy_path, prop_names, metadata, titleattribute, tabindex, accesskey, last_modified_by, create_date, modified_date, content_name_en, menu_text_en, metadata_en, titleattribute_en, secure;

EDIT: `secure` is of type 'tinyint(4)'
Last edited by Peciura on Sat May 08, 2010 12:36 pm, edited 1 time in total.
espectations
New Member
New Member
Posts: 7
Joined: Fri Dec 28, 2007 8:45 am

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

Post by espectations »

Hello,

I checked the database and
`secure` is of type 'tinyint(4)') - it is all there and I still cannot add content?

An other suggestions please?

Marinda
Peciura

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

Post by Peciura »

You don't have permission to access /mysite/admin/addcontent.php on this server
IMO you have uploaded files with wrong permissions try 775 or even 777 (just to test).
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 »

Hello,

I have exactly the same issue. Fresh install of version 1.7.1
All relevant folders are CHMOD 777 as follows:
        *  tmp
        * tmp/templates_c
        * tmp/cache
        * uploads
        * uploads/images
        * modules
PHP Safe Mode (safe_mode): Off (False)
Current PHP Version (phpversion): 5.2.12

I've installed CMSMS many time previously and never had this issue.

To reiterate the problem. When I go to:

Content > Pages > Add Content
Type in Title, Menu, Content
Submit
I receive a: "403 Forbidden - You do not have permission to access this document."

Once my server wakes back up (it takes a while to allow access back into the site) no content has been added.

However as an additional note I can copy an existing page from the install stage and modify it fine?!?

Any help on this would be greatly appreciated.
Thanks.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

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

Post by Dr.CSS »

Set modules to 775 and tiny to 775...
espectations
New Member
New Member
Posts: 7
Joined: Fri Dec 28, 2007 8:45 am

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

Post by espectations »

Changed permissions to 775 and still no joy???

Maybe we should just stick to the last version that worked?  Problem is that nobody supports it anymore.

M
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 »

Unfortunately it didn't work for me either. I even tried 777 for modules and TinyMCE folder.

The really odd part of the entire process is now that I've attempted to add new page content it causes my server to time out - "Connection timed out"

Did this problem start for other people at version 1.7.1 or was this a problem before?

I might have to look at an older version too.

Again any help on this would be great.
Thanks
Locked

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