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.

Upgrade disaster recovery

There are no pages beneath this page

Submitted by Chris Graham
If you accidentally manually upload the contents of an upgrade TAR (as opposed to letting the upgrader intelligently extract it), and you now have some files restored from bundled addons you actually uninstalled, you may find strange bugs or complete crashes.

The integrity checker in the upgrader will instruct you on installing the remaining files from those addons that you partially restored. However, you may want the opposite - to remove the addon registry files and the addon files that you erroneously put back.

Attached is a script that will find all addons with missing files - but instead of suggesting to restore the missing files, it lists all files in the addon. Essentially it tells you what to delete.

» Download: execute_temp.php (4 Kb, 124 downloads so far)

Upload the script to data_custom/execute_temp.php and open the URL to it. You'll see each superfluous file on a new line. If the list passes a cursor check, go ahead and delete the listed files.

Remember, backups are always good at every stage!
CEDI change-log Post