Details
-
Bug
-
Resolution: Obsolete
-
Blocker
-
5.4.2
-
None
-
Operating System: CentOS 7.0 x64
PHP Version: 5.4.16
Database and version: Mariadb 5.5
Browser (and version): Firefox 35
Description
Hi,
When installing a master version of ezpublish-platform give me a fatal error:
[2015-02-09 13:26:38] app.NOTICE: Siteaccess not matched against configuration, returning default siteaccess. [] [] [2015-02-09 13:26:39] app.DEBUG: Router eZ\Bundle\EzPublishLegacyBundle\Routing\DefaultRouter was not able to match, message "" [] [] [2015-02-09 13:26:41] request.CRITICAL: Uncaught PHP Exception RuntimeException: "Database error" at /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Gateway/ExceptionConversion.php line 395 {"exception":"[object] (RuntimeException(code: 0): Database error at /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Gateway/ExceptionConversion.php:395, Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occured in driver: SQLSTATE[42000] [1049] Unknown database 'none' at /var/www/html/ezpublish5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:103, Doctrine\\DBAL\\Driver\\PDOException(code: 1049): SQLSTATE[42000] [1049] Unknown database 'none' at /var/www/html/ezpublish5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47, PDOException(code: 1049): SQLSTATE[42000] [1049] Unknown database 'none' at /var/www/html/ezpublish5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)"} []
Steps to reproduce
– git clone git@github.com:ezsystems/ezpublish-platform.git ezpublish5
– curl -sS https://getcomposer.org/installer | php
– php -d memory_limit=-1 composer.phar install --prefer-dist --no-dev
Then the assets
– sudo setfacl -R -m u:apache:rwx -m u:apache:rwx ezpublish/
– sudo setfacl -dR -m u:apache:rwx -m u:`whoami`:rwx ezpublish/{cache,logs,config,sessions}
ezpublish_legacy/
{design,extension,settings,var} 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
When accessing the site url to execute setup wizard, the error occurs.
The same error happens when trying to install a community version.