HTML Logo by World Wide Web Consortium ( Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.

OCP and Unix w/Mysql 5+

Login / Search

 [ Join | More ]
 Add topic 
#42485 (In Topic #9480)


While testing OC with my new domain host I'm having permission errors continuously, from the start of the install process, through configuration in Admin Zone. This is taking place with both v3.2.10 and RC4.

Sometimes I can get it to get past the error by chmod files or folders to 777, and sometimes that doesn't work. Often I receive error messages with 755, which is default if I'm not mistaken. It's not just a few error messages, but quite a few. My question is…is there anything I can do that might reduce or eliminate these?

This server is using a mysql 5.2 version, and I'm encountering problems I never had when testing OC on a mysql 4+. Usually the error messages arise when trying to make an Admin configuration change, and will sometimes point to a folder or file that doesn't exist (when I migrate there in FTP there's no folder/file as named in the message at least)

Any "magic bullet" type fixes available or work arounds?

If you need the specific messages, I can start trying to compile these, though I won't be able to get to that till sometime tomorrow evening due to scheduling.

Thanks in advance.
Back to the top


A full list of permissions to set is in our advanced installation tutorial.

Usually the error messages arise when trying to make an Admin configuration change

This could actually be a separate issue. I'm not sure if you currently have a .htaccess file on your site, but the following code from our recommended.htaccess file may help you:


# Disable inaccurate security scanning (ocPortal has it's own)
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
Paste it into your own, or create a new file with that contents if you don't have it already.

What it does is disable "mod_security" which is an Apache module that blocks page requests it thinks are hacks. Some of the config screens, and template editing screens, and and WYSIWYG editing screens, all submit HTML in the page request, which mod_security considers a hacking attempt.

Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top


Thank you for your assistance. The 3.2.10 Quick FTP worked. The site is running without any error issues. Now I'm trying to get some particular configurations.

Thanks again very much.
Back to the top
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: