Details
-
Bug
-
Resolution: Invalid
-
High
-
None
Description
Following the document, https://doc.ez.no/display/EZP/Installing+eZ+Publish+Legacy+on+top+of+eZ+Platform, I've found some typos apparently it refers "app/" folder when it actually should be "ezpublish/"
Where it is
ez_publish_legacy:
behat_site_admin:
legacy_mode: true
ez_publish_legacy:
system:
behat_site_admin:
legacy_mode: true
You'll also have to set "minimum-stability": "dev" in order to be able to run (No longer needed and to be avoided; see Important Note comment beneath)
composer require ezsystems/legacy-bridge
You may get the error
[Symfony\Component\DependencyInjection\Exception\InactiveScopeException] You cannot create a service ("request") of an inactive scope ("request").
when attempting to run console commands, a work around is:
- Edit ezpublish/EzPublishKernel.php
- At the end of the file add
protected function initializeContainer() { parent::initializeContainer(); if (PHP_SAPI == 'cli') { $this->getContainer()->enterScope('request'); $this->getContainer()->set('request', new \Symfony\Component\HttpFoundation\Request(), 'request'); } }
The access to http://host/ezsetup and run the setup