Forest header image

Symfony Finland
Random things on PHP, Symfony and web development

eZ Platform Multisite & Multiple Repository Configuration

eZ Platform can run with configurations that have multiple separate content repositories. For the most part creating new repositories and sites is self documenting.

There is gotcha with setting persistence caching for multiple repositories. This leads to random fatal errors as stash persistence cache is shared between sites using the same repository. Example:

[ Oct 15 2015 09:55:11 ] Unexpected error, the message was : Could not find 'Content' with identifier 'array (
 'id' => 2643,
 'languages' => NULL,
 'versionNo' => 34,
)' in /var/www/html/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/ContentService.php on line 414

See a complete skeleton configuration below.

Configuration example


Written by Jani Tarvainen on Friday October 16, 2015
Permalink - Tags: ezplatform, caching, cache

« eZ Publish 5 / Platform Migration Bundle - Display Symfony debug toolbar in production (eZ Platform) »