Details
-
Bug
-
Resolution: Unresolved
-
High
-
2015.07
-
None
-
PHP 5.4.16
mysql Ver 15.1 Distrib 5.5.37-MariaDB
Description
Steps to reproduce:
1. Install master:
php -d memory_limit=-1 composer.phar create-project --no-dev --prefer-source ezsystems/ezplatform ezpublish5 'dev-master'
2. Fill database:
php ezpublish/console ezplatform:install --env prod demo-clean
3. Set permissions and dump assets:
sudo setfacl -R -m u:apache:rwx -m u:apache:rwx ezpublish/{cache,logs,config,sessions} web sudo setfacl -dR -m u:apache:rwx -m u:`whoami`:rwx ezpublish/{cache,logs,config} web php ezpublish/console assets:install --symlink web php ezpublish/console ezpublish:legacy:assets_install --symlink web php ezpublish/console assetic:dump --env=prod web
4. Follow steps on:
https://doc.ez.no/display/EZP/Installing+eZ+Publish+Legacy+on+top+of+eZ+Platform
5. Add the initializeContainer function at the description of :
https://jira.ez.no/browse/EZP-24109
6. Clear caches;
7. Fetch legacy-bridge:
composer require --update-no-dev ezsystems/legacy-bridge
At the end, after updating parameters.yml, I get:
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache PHP Warning: Uncaught exception 'Symfony\Component\Debug\Exception\ContextErrorException' with message 'Warning: require_once(/var/www/html/ezpublish5/ezpublish/../ezpublish_legacy/autoload.php): failed to open stream: No such file or directory' in /var/www/html/ezpublish5/vendor/ezsystems/legacy-bridge/bundle/EzPublishLegacyBundle.php:43 Stack trace: #0 /var/www/html/ezpublish5/vendor/ezsystems/legacy-bridge/bundle/EzPublishLegacyBundle.php(43): Symfony\Component\Debug\ErrorHandler->handleError(2, 'require_once(/v...', '/var/www/html/e...', 43, Array) #1 /var/www/html/ezpublish5/vendor/ezsystems/legacy-bridge/bundle/EzPublishLegacyBundle.php(43): eZ\Bundle\EzPublishLegacyBundle\EzPublishLegacyBundle::boot() #2 /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(142): eZ\Bundle\EzPublishLegacyBundle\EzPublishLegacyBundle->boot() #3 /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(70): Symfony\Component\HttpKernel\Kernel->boot in /var/www/html/ezpublish5/vendor/ezsystems/legacy-bridge/bundle/EzPublishLegacyBundle.php on line 43 PHP Fatal error: eZ\Bundle\EzPublishLegacyBundle\EzPublishLegacyBundle::boot(): Failed opening required '/var/www/html/ezpublish5/ezpublish/../ezpublish_legacy/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/ezpublish5/vendor/ezsystems/legacy-bridge/bundle/EzPublishLegacyBundle.php on line 43 Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception [RuntimeException] An error occurred when executing the "'cache:clear --no-warmup'" command.
Attachments
Issue Links
- relates to
-
EZP-24761 Installing legacy bridge on a master results in PHP error on redeclaration of eZUpdateDebugSettings()
- Confirmed