We’ve updated Perch with a number of 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, or those wanting to receive technical support.
What does it fix?
This release fixes the below issues:
- Fixes a bug with creating pages with STRICT_ALL_TABLES MySQL option enabled
- html lang attribute is now correctly set to the current language preference
- Upgraded to jQuery 1.9.1+migrate
- Adds a viewport meta tag to make small screen editing better
- Fixes a bug with maps not loading correctly for apps
- Fixes a bug that throws a warning if
- Fixes a bug with
perch_template()and non-group arrays
- Fixes a bug where
neqmatches would fail if a value isn’t set, even if that means it’s not equal
- Fixes a bug where templates with no
perch:noresultswhould show an empty item for no results
- Fixes a bug where
perch_content_createcan create a * page for shared regions
What features does it add?
This release contains bug fixes only. It does not add any 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 from version 2.1, Perch 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.
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 when you log in.
A note about PHP versions
It’s good to periodically check your server software to make sure it’s up to date. You can find your version of PHP on the Diagnostics section of the Settings page within Perch. The current release of PHP is 5.4, and 5.3 is being discontinued as of March 2013. There is little excuse at this point to be running PHP 5.2, and it might be a good question to raise with your host if you are. PHP 5.4 will make your site faster, no question.