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.5 released

4.1.5 released Version 4.1.5 has now been released. This version is a patch release that introduces a number of bug fixes since the last release.

Very important upgrade advice:
  • If you're not suffering problems with memory usage and you're running an active site, it is best to avoid 4.1.5 until February 2009. Some major restructuring has been undergone to lower memory usage, and this restructuring may have led to new bugs - if this is the case, these bugs will be fixed in the mean time.
  • Be extra careful to make sure you have a backup before upgrading.
  • Set aside some time for making this upgrade rather than rushing into it.
  • It is necessary to empty the caches from inside the upgrader script as the cache format has now changed.

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

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:
  • Major restructuring of files to save on memory usage
  • Major change to Tempcode engine to save on memory usage (requires caches emptying), and various optimisations
  • Improved memory usage in the Admin Zone translation module
  • Fixed memory problem on Admin Zone search
  • Fixed memory problem on sitemap generation
  • Improved the Admin Zone search's "regular search" link so it includes Comcode pages
  • Fixed a problem viewing the error log
  • Fixed ability to generate 'missing parameter' error in Admin Zone translation module
  • Fixed non-presence of default string values in the Admin Zone translation module
  • Fixed two long-standing bugs in the menu editor (missing-parameter error, and reordering problem)
  • The forum management module will now explain if it can't delete individual forums and provide assistance
  • Fixed error trying to delete lurkers
  • Fixed error that can be caused if template revisions are deleted whilst within the template editor
  • Fixed a problem in the avatar selection interface if additional avatar packs are added
  • Fixed some problems if you manually and incorrectly add a new language pack
  • Changed how Comcode page translation functions (defaults to site language, you now need to explicitly say if you want to override to a different language)
  • Fixed a number of problems relating to set up of textual banners (missing option, bad field explanations, bad error message)
  • Created a new error message if ocPortal fails to create a directory (used to say it couldn't create a file)
  • In config_editor.php explained what you need to do if you change the base URL
  • In config_editor.php and installer bad cookie settings are now detected; settings better explained
  • Some minor improvements to the layout/language of config_editor.php
  • Fixed default title when moving posts (OCF)
  • Fixed decacheing of PT notification box/block when marking topics unread (OCF)
  • Fixed poll adding so it doesn't leave a topic unvalidated (OCF)
  • Improvements to the 'debug mode' we use during development
  • Fixed error message that occurred on first screen of manual installer on IE
  • Fixed that all files were identified 'corrupt' on 64 bit PHP installs
  • Reduced the number of disabled functions that can trigger warnings during installations
  • If the 'gethostbyname' function is disabled ocPortal will work now around that
  • Automatic stripping of trailing "/" from base URL during installation, and added note explaining about canonical URLs
  • ocPortal will now complain to staff if they use a non-canonical URL to access their site (e.g. getting presence of www in the URL wrong). This helps them understand why they get JS errors or SEO problems
  • Added note to installer that you should get your choice of forum driver correct first time around
  • Fixed problem of upgrader setting excess write permissions, potentially causing '500' errors
  • Fixed problem of addon installer setting excess write permissions for existing directories, potentially causing '500' errors
  • All parts of ocPortal will now avoid setting world-write permissions on SUID servers
  • Formalised Comcode of all emails ocPortal sends out so that it uses the 'url' tag
  • Fixed a number of problems in the validater, and also toned down the language so that notes/warnings aren't referred to as errors
  • Made the validater results word-wrap
  • Minor language fixes. Grammar (apostrophes) and proper usage of tt
  • Fixed some problems in signup, if certain combinations of member validation options are set (OCF)
  • Improved keymap page so explains better how to use shortcuts on a mac or different web browsers
  • Minor tweaks to default rules and privacy page
  • Fixed error if you add an award type then remove an addon that powers it
  • Fixed a rare error that can happen with certain combinations of blocks-on-panels and modules
  • Fixed a number of problems in the Tempcode parser with respect to how preprocessing works
  • Fixed error in CEDI module if image expansion/contraction is enabled
  • Fixed the galleries link in personal gallery container galleries, so that if you try to add an image/video there, it auto-selects your gallery rather than giving an error
  • Added various new template parameters: IOTD templates, news templates, OCF member templates, users online block
  • Corrected problems doing advanced search of galleries or download categories
  • Fixed theme export so it properly handles customised images
  • Fixed error including addon-registry files twice in addon tars
  • Added some 'missing resource' errors in place of stack dumps (awards)
  • Fixed some problems with HTML showing up in drop-down lists (stemming from earlier bug fix)
  • Fixed the ability for the main_contact_simple block to have a customised target address
  • Changed default settings for side_stats block stats visibility
  • Added new 'COMCODE' and 'TEMPCODE' symbols for dynamic parsing
  • Fixed problem in mySQL 'db_encode_like' function
  • Documented code overrides better
  • Fixed problem running on PHP 6
  • Fixed problems in myBB importer
  • Fixed problems in 'user' catalogue field type
  • Fixed problem doing Comcode page searches (missing results)
  • Fixed a number of problems with the CSS inserted into emails (CSS that was unneeded, CSS that was missing, and empty style tag)
  • Improved installer error handling
  • Added error message if trying to use emoticons popup without OCF (manually accessing the URL)
  • Fixed some problems with breadcrumbs
  • Fixed that topic became unvalidated if a non-privileged member edited them (OCF)
  • Fixed recommendation module (problem came up in last patch release)
  • Fixed persistent cache of Comcode Pages when multiple-languages are present
  • Tidied up certain error messages so that double slashes don't appear in them and throw people off
  • Removed unnecessary tooltips from expander boxes
  • Improved performance of Permission Tree Editor, especially when true-XHTML enabled
  • Fixed benign but annoying JS error message shown on a number of interfaces (came up in last patch release)
  • Fixed validation error when header tags were used in news/RSS
  • Made it so the menu-edit-links can be better targeted via CSS
  • Fixed minor formatting error on advanced member search screen (OCF)
  • Removed error about missing files in
  • Corrected permission denied error message for forums (OCF)

View all


There have been no trackbacks yet