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.

4.1.6 released

4.1.6 released Version 4.1.6 has now been released. This version is a patch release that introduces a number of bug fixes since the last release. Upgrading is strongly advised due to the major performance improvements from 4.1.5 now being debugged.

To upgrade follow the steps in your website's http://mybaseurl/upgrader.php script. You will need to copy the URL of the attached TAR file as one of these steps ("3: Upload an upgrade TAR for extraction").

alternatively (but not recommended), you can manually upload the files inside the attached TAR file over existing files (7-zip is just one of many tools for tar files). This is not recommended because it will bypass the upgraders addon-aware extraction algorithm and potentially cause problems.

Your upgrade to version 4.1.6

You can generate an upgrader from any version of ocPortal to any other version. If you access this upgrade post via the version information box on your Admin Zone front page then we'll automatically know what version you're running.
If you'd prefer though you can enter in your version number right here:

(usually blank)

(example above is for upgrading from 4.3.2 beta1)


ocProducts cannot make any guarantees about the speed of which any new bugs might be patched, for this upgrade or any other upgrade. It is your own responsibility to make and test a full website backup (files and database) before you upgrade, for use in the unlikely event of you wanting to revert your upgrade. Some users may wish to test upgrades (and pre-fix any theme compatibility problems that could occur) on a staging site (a private mirror of their live site).
If you don't follow our advice by taking and testing a backup, and end up needing emergency repair help, ocProducts can help charged at our hourly rate.

For more details, see our upgrading tutorial.

Fixes have been made to the following issues:
  • Fixes to WYSIWYG editor charset conversion, for some buggy PHP versions. Added improved support for older versions of PHP (<4.3).
  • Improved character set conversion when editing templates, to apply HTML-entity changes instead of Comcode-shortcut changes.
  • Fixed some type-strictness errors, and XSS-detection false-positives.
  • Fixed error running debrand tool if English is not the website language.
  • Improved 'cannot save file' errors to be more specific.
  • Fixed minor problems with line-end conversions, to fix a specific RSS bug and to improve code quality in general.
  • Fixed bug whereby you could disable locked custom profile fields by editing them to only apply to certain usergrups.
  • Fixed bugs selecting custom profile field stats by join-date range.
  • Fixed cropping of quiz answers as they are placed in the database.
  • Show proper survey multi-choice text on result screens instead of confusing numerical codes.
  • Improved layout of survey result screens in general, and provided more information.
  • Improved the layout of the screen for answering quizzes.
  • Quiz completion time is no longer displayed if it was set as '0'.
  • Fixed anomalous '*' symbols appearing in quizzes.
  • Made quiz close times default to disabled.
  • Fixed many problems with the Comcode 'currency' tag.
  • Fixed many problems with stats geolocation.
  • Fixed problem between logo generator and the persistent cache; possibly affected theme image editing in general.
  • Fixed numerical codes coming up in validation module instead of title (in some cases).
  • Added client-side (Javascript) 'post too short' error message.
  • Added client-side (Javascript) validation for date fields that do not match a real calendar date
  • Improved presentation of validation errors for date fields in general.
  • Fixed a minor bug wrt how pinned topics are displayed in virtual forums.
  • The installer will now make the base URL lower case, as this is canonical on the Internet.
  • Fixed a number of problems relating to the banner CMS module, especially relating to textual banner configuration. Banner 'submitter' field is now  properly identified as 'owner' field.
  • Fixed a branding-assumption in stack traces.
  • Clarified what it means for a welcome email to be sent to newsletter subscribers.
  • Fixed potential error- if you set a welcome email to be sent by newsletter, then uninstall newsletters.
  • Fixed a bug with custom profile field setting, for publically-invisible but user-settable fields.
  • Fixed HTML showing through when members join on OCF and validation e-mails are disabled.
  • Made member profile screens more intelligent wrt what links display, according to permissions.
  • Fixed slight error with how photos and avatars are displayed on member profile screens.
  • Fixed some minor API documentation errors.
  • Automatic stripping of redundant '/' symbols from given FTP paths.
  • Removed redundant '/' symbols from page dispatch code.
  • Better relaying of PHP error messages, so that the links to the PHP manuals point somewhere real, and fixed other related issues.
  • Made a number of fixes to the Tempcode engine needed after the optimisations in 4.1.5, and made a number of cleanups.
  • Fixed bug reordering in the menu editor introduced in 4.1.5.
  • Fixed API with regard to full screen previews (not used by default modules but available to addon writers).
  • Made the main_contact_simple block default to use the logged in members email address as the reply address if the member does not explicitly give one.
  • Fixed sorting in the catalogue system.
  • Fixed Comcode escaping (weird symbols may have occasionally appeared in e-mails before this).
  • Fixed a number of bugs in the Comcode->ComcodeXML convertor.
  • Fixed a complex bug in the Comcode parser related to shortcut codes.
  • Fixed race condition when the Comcode parser checks link.
  • Fixed an error that can come up if you use attachments in certain ways.
  • Fixed a bug with textual banners being placed even within hyperlinks.
  • Allowed nested Comcode 'code' tags.
  • Cleaned up 'values' table entries that can build up (relating to error mails sent).
  • Fixed problem whereby index.html and .htaccess files were not included in tar files.
  • Improved display of non-Comcode 'text' and 'huge' fields within automatically-derived previews (displays white-space now).
  • Fixed many problems in importers and forum drivers.
  • Fixed many problems with the LDAP support.
  • Fixed bug in phpbb2 forum driver.
  • Detection of some new hack-attacks (no known vulnerabilities, but extra care).
  • New 'keep_show_parse_errors' URL parameter for debug purposes.
  • Rewritten PHP error handling code to be more concise.
  • Ability to detect 'fatal errors' on newer versions of PHP and respond with an error mail and stack dump.
  • Fixed some problems with HTTPS support (mixed content warnings stemming from CSS).
  • Fixed redirect-forum icon in OCF.
  • Fixed problem whereby if you edited a redirect-forum you would be invited to view that forum and see a real forum.
  • Fixed bug in the bookmarks icon, causing errors on some versions of PHP.
  • Allowed the menu editor to place 'mailto' links (it no longer thinks these are pages in a zone named 'mailto).
  • Made the breadcrumb crop code a bit smarter.
  • Fixed minor problem with smart Comcode page cache.
  • Removed legacy function from API (send_header_message).
  • Fixed some problems with URL generation code, in various different areas (script finding, parameter relaying, session correctness enforcement).
  • Fixed problem generating tar files on servers that use very long user-ids ('Corrupt tar').
  • Fixed 'GROUP_NAME' Tempcode symbol.
  • Improved display of 'Missing block' error messages, so they style as proper errors.
  • Fixed some errors that can occasionally come up from the markup validator.
  • Improved word-wrapping for some of the blocks, to remove inappropriate choice of 'orphans'.
  • Added default margins for floated Comcode images/attachments, for sensible spacing.
  • Fixed how OPML/RSS/Atom XSL sheets are linked to, so that cookies are not required if viewing them when the website is closed.
  • Fixed some latent bugs in how the HYPERLINK set of templates handle the 'rel' attribute (no actual visual bugs, but an API issue).
  • Stopped download-gallery links appearing for those without permission, or in empty galleries.
  • Added delete-confirmation for IOTDs.
  • Fixed a number of problems in our tooltip code on both IE and Firefox.
  • Fixed a problem in the "please wait" animation when clicking to preview (now pre-caches images so it shows first-time).
  • Fixed a number of instances where the WYSIWYG editor can generate errors if you click Comcode buttons too fast.
  • Fixed minor display glitch of site-trees on IE6.
  • Fixed major problem stopping site-trees working on IE (introduced in 4.1.5 optimisations).
  • Fixed some problems with post template usage, and validation error in template.
  • Fixed rare error when clicking a do-next image and being sent to a link from the help panel instead of the desired page.
  • Added client-side error message if there are conflicting cookies stopping new cookies being saved.

View all


There have been no trackbacks yet