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. ocPortal 9 is 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.4 released

4.1.4 released Version 4.1.4 has now been released. This version is a patch release that introduces a number of bug fixes since the last release. Upgrading is not necessary unless you're experiencing one of the fixed problems..

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.4

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)

Have you uninstalled some of the default addons?

There was a bug in versions 4.1.3 and below. After upgrading you may need to delete any sources/hooks/systems/addon_registry/<x>.php file corresponding to the names of the addons that you have removed.


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:
  • Fixed some problems with the CSS validation code
  • Fixed bug setting cookies, on certain PHP versions and cookie settings
  • Fixed attachment quota checking in some circumstances (not sure exactly what - speculative fix prompted by automatic error email)
  • Fixed missing-attachment error email
  • Improved security for Custom Comcode tags, and added cache-safety for tag parameters
  • Improved preview for Custom Comcode tags
  • Allowed previews for forum post editing to show the 'Edited by' note (OCF)
  • Fixed topic ordering in OCF
  • Fixed minor errors when compiling for Phalanger (NB: Phalanger not supported officially)
  • Fixed complex block caching bug
  • Fixed bug saving zone permissions via the Permission Tree Editor
  • Fixed custom profile field problem on join screens (public-invisible fields not coming up on join screen even if set as required) (OCF)
  • Made custom profile field setting much more efficient (OCF)
  • Fixed a number of Comcode list bugs, by forcing passing of a new exhaustive test set
    • List not closed when placing a title directly after a list
    • Invalid HTML when jumping into multiple list indentations (which can only be done in lax mode)
    • Invalid HTML when jumping out of multiple list indentations (which can only be done in lax mode)
    • Impossibility of using an 'html' or 'semihtml' tag within a list item
  • Put the 'main_comcode_page_children' block onto default pages for new zones, for Setup Wizard generated pages, and for the bundled start pages
  • Fixed auto-detection problems in the main_comcode_page_children block
  • Fixed some mySQL strict-mode errors wrt adding zones and "switching to OCF" in the importer system
  • Fixed problems in the upgrader wrt uninstalled addons, and improved extracting/packing interface feedback
  • Fixed extraction of new directories in the upgrader (needed to upgrade from v3)
  • Fixed some cases of the upgrader complaining about alien files which are actually standard/customised ones
  • Allowed images to be dropped into images_custom folders
  • Fixed minor problem with main_poll block (not declaring requirement for side_blocks CSS file)
  • Minor API doc improvements, default parameters cleanups, and tweak to our internal development mode for ocPortal
  • Fixed error calculating points in some circumstances (not sure exactly what - speculative fix prompted by automatic error email)
  • Fixed file upload error wrt thumbnails (not sure exactly what - speculative fix prompted by automatic error email)
  • Fixed race condition (concurrency problem) on the language cache
  • Fixed problem putting the main_comments block into signatures
  • Fixed the 'forum' parameter of the main_comments block
  • Fixed major error that occurred if you put an anomalous comma into the list of partner websites (security config option)
  • Allowed staff unsilence a member (OCF)
  • Fixed problem importing downloads from phpNuke if the galleries addon was not installed
  • Fixed that support ticket attachments attached to the spacer post instead of the reply post (new tickets only, OCF only)
  • Fixed CSS standards error in a catalogues template
  • Fixed two reordering problems in the menu editor (label disassociation, bad above/below calculation algorithm)
  • Minor fix for list templates, where sometimes invalid XHTML could leak out
  • Fixed problem with the WYSIWYG editor trying to activate on 'GET' forms, in very rare circumstances
  • Fixed problem using the block add tool with the WYSIWYG editor enabled
  • Fixed problem ctrl+alt+shift+clicking zones to edit them
  • Fixed problem with search links showing in profiles even if the viewing user does not have permissions to run searches
  • Added server-side email address checking to the join page
  • Fixed Javascript error message problem / AJAX failures, on Apache servers without mod_rewrite enabled
  • Added extra parameter to OCF_MEMBER_HOME_SCREEN template
  • Fixed incorrect error message when trying to remove an addon that has dependant addons
  • Improved list of files shown when installing addons (directories no longer shown as files)
  • Improved CEDI edit page screen usability, wrt page deletion
  • Fixed bug for non-staff editing clubs (OCF)
  • Fixed Comcode page deletion
  • Fixed XML error in default fields.xml file
  • Fixed admin search error that can be caused by custom menu hooks
  • Fixed error if adding a new language using a non-ISO language code
  • Fixed error on member profile if you're friends with someone that has since been deleted
  • Fixed incorrect new-PT notifications for invited members
  • Clarified some language for better usability (OCF CPF's, post moving, lack of stats data)
  • (OcWorld addon code re-released recently and some problems fixed in this also)

View all


There have been no trackbacks yet