ez-publish-community-project-2011-12

eZ Publish Community Project 2011.12

Requirements

Version : Release date : Requirements :
Community Project 2011.12
OE 5.5.0-dev
Dec. 25th, 2011

PHP >= 5.2.14, 5.3 recommended (5.3.7 known to be bugged)
MySQL >= 5.0.51a
PostgreSQL >= 8

If using eZ Find : Java <= 1.6

Release Notes - ez-publish-community-project-2011-12

Kernel

Stats

  • 21 bug-fixes for registered issues (and some for bugs without an issue number)
  • 2 enhancements
  • 28 pull-requests merged (yesss)

See the changelog for details

Upgrade Notes

Upgrading from eZ Publish Community Project 2011.11 to 2011.12

This section describes how to upgrade your existing eZ Publish Community Project 2011.11 installation to build 2011.12. Make sure that you have a working backup of the site before you do the actual upgrade, and make sure the installation you are performing the upgrade on is offline.

Important upgrade notes:

The procedure for upgrading directly from eZ Publish Community Project build 2011.11 to build 2011.12 consists of the following steps:

  • Backing up the website
  • Putting the website offline (optional)
  • Upgrading the distribution files to 2011.12
  • Upgrading custom extensions
  • Regenerate the autoload array for extensions
  • Clearing the caches
  • Putting the website online (optional)

 

Check for requirements

It is recommended to always verify the requirements for the new version of eZ Publish before attempting an upgrade. eZ Publish Community Project 2011.11  is compatible with PHP version 5.3 and above. So is eZ Publish Community Project 2011.12. For more information regarding system requirements check out http://doc.ez.no/eZ-Publish/Technical-manual/4.6/Installation/Requirements-4.6

 

Step 1: Backing up the website

  • Filesystem set: the extension and settings folders, plus any other folder where you have put your custom developments in (e.g. design/mydesign)
  • Content set: the var/storage, var/<vardir>/storage folders, and a dump of the database (nb: for ezdb cluster mode, a dump of the storage database is needed instead of the storage folders; for ezdfs cluster mode both a dump of the storage database and a backup of the shared var folder on nfs)
  • Optional: the complete installation directory of eZ Publish, except for the var directory and for the eZFind index directory. This is mandatory if you have customized the .htaccess or config.php files

Tip: if you have many user sessions, and the session data is stored in the database, it might be a good idea to remove all data from the session table before backing it up
Tip: in ezdb and ezdfs cluster modes, it is a good idea to clear all caches before dumping the storage database, as it is not easy to only backup storage and not caches

 

Step 2: Putting the website offline (optional)

This step is recommended but not mandatory

  • Put the public website offline and set up a courtesy page to prevent end users from accessing the website while you upgrade. This involves generally modifying the webserver configuration. Make sure you have a different vhost available to access the public website using a private IP address or hostname during the upgrade process
  • Disable execution of eZ Publish cronjobs

 

Step 3: Upgrading the distribution files

The easiest way to upgrade the distribution files is to unpack eZ Publish 2011.12 to a separate directory and then copy into it the directories that contain site-specific files from the existing installation. Make sure that you copy the following directories:

  • design/<mydesign>
  • design/<mydesign_admin>
  • var
  • settings/siteaccess
  • settings/override

Replace "mydesign" and "mydesign_admin" with the actual names of your designs.

Important note: Because the new directory has replaced the original directory, the directory permissions need to be fixed. Use the following commands to do this.

(You have the choice between Shell commands or Alternative shell commands):

  • Shell commands

These shell commands will give proper permission to the web server:

cd </path/to/your/eZ/Publish/directory>chmod -R a+rwx design extension settings var 
  • Alternative shell commands

 These commands will setup the permission more correctly, but require knowledge about the user account used for running the web server process.cd </path/to/your/eZ/Publish/directory>

cd </path/to/your/eZ/Publish/directory>chmod -R og+rwx design extension settings varchown -R <webuser>:<webusergroup> design extension settings var 

 

Step 4: Custom extensions

If you are using custom extensions, the sub-directories inside the "extension" directory will also have to be copied. However, make sure that you do not overwrite any extensions that are included in the eZ Publish 2011.12 tarball, which are currently:

  • ezcomments 1.4.0-dev
  • ezfind 2.7.0-dev
  • ezformtoken 1.1.0-dev
  • ezie 1.4.0-dev
  • ezjscore 1.5.0-dev
  • ezmultiupload 1.6.0-dev
  • ezodf 2.8.0-dev
  • ezoe 5.5.0-dev
  • ezprestapiprovider 1.2.0-dev
  • ezscriptmonitor 1.4.0-dev
  • eztags 1.3.0-dev

 

Step 5: Regenerate the autoload array for extensions

To regenerate the autoload array, execute the following script from the root of your eZ Publish installation:

php bin/php/ezpgenerateautoloads.php --extension

 

Step 6: Clearing the caches

Whenever an eZ Publish website is upgraded, all caches must be cleared in a proper way. This should be done from the root directory of your eZ Publish installation:

php bin/php/ezcache.php --clear-all --purge 

Tip : Purging ensures that the caches are physically removed. When the "--purge" parameter is not specified, the caches will be expired but not removed.

Sometimes the script is unable to clear all cache files because of restrictive file/directory permission settings. Make sure that all cache files have been cleared by inspecting the contents of the various cache sub-directories within the "var" directory (typically the "var/cache/" and "var/<name_of_siteaccess>/cache/" directories). If there are any cache files left, you need to remove them manually.

 

Step 7: Putting the website back online

This step is optional, and is only needed if you put the website offline at step 2

  • warm up the template cache by pre-compiling template files. This should be done from the root directory of your eZ Publish installation:
php bin/php/eztc.php --wwwdir=<value> --index-file=<value> 
  • re-enable the cronjobs
  • warm up the content cache: use a tool such as curl or wget that will navigate the website to force eZPublish to generate the view cache for all content
  • change the webserver / firewall configuration to allow public access to your website again

Changelog

Changelog from Community Project 2011.11 to Community Project 2011.12

Pull requests by the eZ Community (keep-on rocking guys! )

  • Merge pull request 266 from jdespatis/clean-wrappers
  • Merge pull request 221 from jdespatis/too-few-args4
  • Merge pull request 239 from trolek/localization
  • Merge pull request 241 from myxt/upstream
  • Merge pull request 253 from jdespatis/error-level
  • Merge pull request 245 from aleblanc/master
  • Merge pull request 250 from crevillo/spanish-translation-etna
  • Merge pull request 256 from KwadroNaut/patch-1
  • Merge pull request 201 from jdespatis/too-many-args8
  • Merge pull request 222 from jdespatis/too-few-args5
  • Merge pull request 223 from jdespatis/too-few-args6
  • Merge pull request 225 from jdespatis/too-few-args7
  • Merge pull request 227 from jdespatis/too-few-args9
  • Merge pull request 228 from jdespatis/too-few-args10
  • Merge pull request 230 from jdespatis/too-few-args12
  • Merge pull request 231 from jdespatis/void1
  • Merge pull request 237 from jdespatis/quiet-func
  • Merge pull request 232 from jdespatis/void2
  • Merge pull request 220 from jdespatis/too-few-args3
  • Merge pull request 219 from jdespatis/too-few-args2
  • Merge pull request 51 from jeromegamez/ezcli_php
  • Merge pull request 259 from jdespatis/new-event
  • Merge pull request 252 from jdespatis/static-httptool
  • Merge pull request 257 from jdespatis/event-doc
  • Merge pull request 254 from jdespatis/pull-119-missing-stuff
  • Merge pull request 246 from jdespatis/apache-config
  • Merge pull request 244 from nfrp/SWE_localization_zwebb
  • Merge pull request 235 from jdespatis/typo

 

Bugfixes

  • 18241 : Wrong error message when publishing a former draft (Thanks Brendan Pike !)
  • 18259: PHP 5.4 compliance : Bad variable used in eZModuleFunctionInfo::execute(...)
  • 18320 : Fatal error on publish when parent translation not available
  • 18475 : Login problems for users using IE8 - duplicate session headers
  • 18750 : comments made in a webshop order are not visible
  • 18767 : eZContentObjectTreeNode::subtree always have at least one order by
  • 18771 : i18n translations are not utilized in the versionview
  • 18886 : New users only viewable by Administrator until validated
  • 18947 : [HipHop check] is unknown in kernel/content/node_edit.php on line 744
  • 18972 : Autoload generation with namespace PHP namespace can be defined using semi colon, but bracket also
  • 18987 : ezodf export to openoffice in sequence
  • 19005 : Having ezp-next in eZ Publish ends up to fatal error in /setup/info
  • 19026: PHP 5.4 compliance : Bad variable used in eZModuleOperationInfo::execute(...)
  • 19027: PHP 5.4 compliance : New ['REQUEST_TIME'] format makes request date fail or at least inconsistent
  • 19029: Namespace support : backslash is not escaped in generated class name
  • Fixed partially #17073: Vanish wrappers in <script> and <style>
  • Fixed EZPNEXT-179: Error when using namespaces in a REST controller
  • Fixed regression with autoload generator using hardcoded token values
  • Ref #18513 : Fix bad [AttributeOperator] INI section placement
  • Fixed and enabled eZRSSExport unit tests
  • Fixed tests not very gentle with a unique db tests setup

 

Enhancements

Tags

eZ Publish 2011
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.