Thread tagged as: Question

Update from 2.1.3 to 3.1.4 is there anything that needs to be other than the dir...

Perch 2.1.3

We’ve updated Perch with a number of new features and bug fixes discovered through our support system. This is an update to Perch 2. Please read the full Perch 2.0 update notes if updating from Perch 1.

Do I need to install this? This update is recommended for those experiencing the below issues and those wanting to receive technical support.

What does it fix? This release fixes the below issues:

Fixes an ordering problem with the template list when defining a region Fixes a bug with Master Pages options not sticking on new installations Removed use of rowCount() from the PDO class, as it fails on some servers Added test for imageconvolution() function for sharpening (some hosts have it missing or disabled) Fixes bug with content indexing after deleting an item or undoing a change What features does it add? This is purely a bug-fix release to address problems found in Perch 2.1. It adds no new features.

What impact does it have for my clients? This update should not have any impact on users unless they are experiencing the above issues.

A note about database connections Forthcoming changes in PHP mean that Perch 2.1 now uses a different method of connecting to the database. As part of that, we’ve taken the decision to explicitly select a UTF8 character set for the database connection. If your site currently doesn’t use a UTF8 connection, and you use non-ASCII characters in your content, you can set Perch to use your old character set in the perch/config/config.php file. e.g.

define('PERCH_DB_CHARSET', 'latin1');

Where do I get the update? Log into your account and re-download the files. The download has been replaced with the newest version.

Always make a back-up of your files and database before updating.

Unzip the download and replace your perch/core folder with the new perch/core folder. Perch will update itself

Carol Swinehart

Carol Swinehart 0 points

  • 2 years ago
Simon Clay

Simon Clay 127 points

If there are any Apps, you'll need to update them too.

Since my 2.6.3 site blew up with this error Fatal error: Call to undefined method Perch::on() in /home/totallya/public_html/tah_update/core/lib/api/PerchAPI.class.php on line 62

I am very hesitant to try updating anything below 2.6.6 all those site that level and above had no problem.

Duncan Revell

Duncan Revell 78 points
Registered Developer

In that case I would probably try upgrading from 2.6.3 -> 2.6.6 and then go from 2.6.6 -> 2.8.34, see if that helps. Just take it in smaller steps.