Details
-
Bug
-
Resolution: Unresolved
-
High
-
2015.07
-
None
-
PHP 5.4.16
mysql Ver 15.1 Distrib 5.5.37-MariaDB
Description
Following the same reproduction steps as in EZP-24751 (a simple installation of a master and fetching legacy-bridge afterwards):
I get the following error:
Updating the "ezpublish/config/parameters.yml" file > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache Clearing the cache for the dev environment with debug true PHP Fatal error: Cannot redeclare eZUpdateDebugSettings() (previously declared in /var/www/html/ezpublish5/ezpublish_legacy/kernel/classes/ezscript.php:1225) in /var/www/html/ezpublish5/ezpublish_legacy/kernel/private/classes/global_functions.php on line 109 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.
The reproduction steps are:
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
Attachments
Issue Links
- relates to
-
EZP-24751 Installing legacy bridge on a master results in PHP error on EzPublishLegacyBundle::boot()
- Confirmed