eZ Publish / Releases / eZ Publish Community Project 2011 / ez-publish-community-project-2011-06

ez-publish-community-project-2011-06

eZ Publish Community Project 2011.06

Requirements

Version : Release date : Requirements :
Community Project 2011.6
OE 5.4.0-dev
June 23rd, 2011

PHP >= 5.2.14, 5.3 recommended
MySQL >= 5.0.51a
PostgreSQL >= 8

If using eZ Find : Java <= 1.6

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

Kernel

  • 23 bug-fixes
  • 1 enhancement
  • 8 pull-requests merged

The Hackathon at the eZ Conference 2011 in London helped evangelize more on how to hack along on eZ Publish Community Project. Keep-up eZ Community, this is wonderful !

 

eZ Find

The bundled version is 2.5, freshly made available.

Upgrade Notes

Upgrading from eZ Publish Community Project 2011.5 to 2011.6

This section describes how to upgrade your existing eZ Publish Community Project 2011.5 installation to build 2011.6. 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.5 to build 2011.6 consists of the following steps:

  • Upgrading the distribution files to 2011.6
  • Upgrading custom extensions
  • Regenerate the autoload array for extensions
  • Clearing the caches

 

Check for requirements

eZ Publish Community Project 4.5 is compatible with PHP version 5.3 and above. So is eZ Publish Community Project 2011.6. For more information regarding system requirements check out http://ez.no/ezpublish/requirements

 

Step 1: Upgrading the distribution files

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

  • design/example
  • design/example_admin
  • var
  • settings/siteaccess
  • settings/override

Replace "example" and "example_admin" with the actual names of your site accesses.

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 running web server.

chmod -R og+rwx design extension settings varchown -R nouser:nouser design extension settings var 

 

Step 2: 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.6 tarball. Note that upgrading the distribution files will overwrite the autoload arrays for extensions. You will need to re-generate the autoload arrays for active extensions later.

eZ Find now embeds Solr 3.1 (the version of eZ Find is now 2.5), this requires a full re-indexing of the content.

 

Step 3: Regenerate the autoload array for extensions

The autoload system also has some changes, for example the autoload array for extensions is now placed in var/autoload of your eZ Publish installation (along the class changes in extensions itself).

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

php bin/php/ezpgenerateautoloads.php --extension

 

Step 4: Clearing the caches

Whenever an eZ Publish solution is upgraded, all caches must be cleared in a proper way. This should be done from within a system shell:

  1. Navigate into the eZ Publish 2011.6 directory.
  2. Run the script using the following shell command:
php bin/php/ezcache.php --clear-all --purge 

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.

Changelog

Changelog from Community Project 2011.5 to Community Project 2011.6

Bugfixes

  • 15183 : collaboration_participation_view tpl function broken
  • 16796 : Command line script siteaccess messages
  • 17279 : Unable to publish when object relation list is required
  • 17387 : DFS Binary downloads get cached locally
  • 17781 : image aliases not restored when restoring object from trash
  • 18164 : ezenum values are lost with ezscriptmonitor/eZContentClassEditDeferredHandler
  • 18220 :   in eZ XML are not part of content
  • 18227 : Asynchronous publishing won't clear cache on a DB based cluster setup
  • 18231 : Infinite loop on transaction when mysql is gone away
  • 18256 : Moved URLs and URLs with incorrect casing produce 2 full page loads
  • 18292 : ezfind - Search for article with location deleted generates fatal error
  • 18312 : An uploaded image content object, created from a content object, is always created in English
  • 18319 : Admin design - Class attribute order up/down buttons lead to empty page
  • 18325 : eZSys::isSSL not fail save
  • 18327 : workflow description is wrong after deleting one event
  • 18334 : : ezsection::fetchByIdentifier() should return null if no section is found
  • 18336 : Alignment in table cells is not rendered properly if RenderParagraphInTableCells=disabled.
  • 18339 : On eZDFS cluster eZmedia files not removed from hdd
  • 18341 : show object states in a backend subitems list
  • 18343 : eZSearch::getEngine() does not return a siteaccess specific instance
  • 18353 : Node view override keys parent_node_remote_id and parent_object_remote_id don't work with node_view_gui
  • 18358 : inconsistency in a method name in eZImageFile class
  • 18401 : php warning in content/edit with multilingual install (language translation selection template)

Enhancements

  • 18013 : cronjobs/updateviewcount.php is far too much suboptimized

Pull requests

  • Merge pull request 47 from jeromegamez/minor_changes
  • Merge pull request 57 from patrickallaert/refactoring/remove-never-used-eZTemplateCompiler-code
  • Merge pull request 71 from crevillo/issue-018401
  • Merge pull request 73 from joekepley/issues-018228
  • Merge pull request 74 from jeromegamez/issue018402_ezfile_create
  • Merge pull request 76 from nmeirik/16560_find_object
  • Merge pull request 77 from crevillo/issue-016796
  • Merge pull request 79 from alexsebbane/ezpublish_18389

Tags

eZ Publish 2011