HTML Logo by World Wide Web Consortium (www.w3.org). 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 compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Problem auto-creating directories on certain server configurations (#catalogues_503) - Comments

Login / Search

 [ Join | More ]
 
Title Problem auto-creating directories on certain server configurations
Description Some server configurations will produce strange behaviour with ocPortal-created directories. ocPortal does not create new directories as a matter-of-course, but it may do so if it finds they are missing, or if a new language or theme is installed.
Affects Users on certain server configurations (we do not know the exact cause)
Fix In sources/files.php change:

Code

      if ($perms==0666) @chmod($path,0644);
      elseif ($perms==0777) @chmod($path,0744);
to:

Code

      if ($perms==0666) @chmod($path,0655);
      elseif ($perms==0777) @chmod($path,0755);

Back to the top

Comments / View



1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: