Upgrading from previous beta releases

If you've upgraded an existing PivotX install before, you know that it's usually pretty easy: Just upload the files, and you're good to go. For the latest beta (12j) we had to change some things internally, though, to prevent problems later on. The most important of these are:

  • We renamed the 'pivot' folder to 'pivotx', to better match the official name.
  • For the same reason we renamed 'pivot_essentials.css' to 'pivotx_essentials.css'. You should update your templates accordingly.
  • We beefed up the security in the Template Engine. [1]

Because of this, upgrading will take a few more steps.

We apologize for the inconvenience, but we're sure you will understand the necessity.

  • Make a copy of your site, just to be sure.
  • Up
  • Delete the following files and folders from your pivot folder:
    • pivot/includes/simplepie/
    • pivot/includes/markitup/images/
    • pivot/includes/js/cropper/
    • pivot/includes/js/pivot.js
    • pivot/includes/js/jquery-ui.js
    • pivot/includes/js/jquery.js
    • pivot/templates_pivot/
    • pivot/templates/pivot_essentials.css
    • pivot/pivot20*.*
    • pivot/pv_admin.php
    • pivot/pvlib.php
    • pivot/selfreg.php
    • pivot/spamwasher.php
    • pivot/tb.php
  • Rename the pivot folder to pivotx.
  • Upload the files from the latest distribution as usual.
  • Log in to your updated PivotX, and all should work as usual.

If you encounter problems, try the following:

  • Empty your browser's cache.
  • Empty PivotX's cache (in pivotx/db/cache/. just remove all files there).
  • Disable 'Speedy' in configuration, if it was enabled.
  • Enable 'debug mode' in Configuration, and see what the 'debug log' says.

Doing these things will likely fix your problems. And if they dont, please post a message to the forum, and we'll help you figure it out.

[1] There were no known security issues with the template engine, but we decided it would still be a good idea to make them a bit more strict. What has changed is that you can no longer use [[include]] to insert files from outside of pivotx/templates/ and the use of php functions in if statements and modifiers is limited to a set of functions on a whitelist.

Posted by Bob den OtterSaturday 21 February 2009
Used tags: ,

For support questions please visit the PivotX forum.