Details
-
Sub-task
-
Resolution: Fixed
-
Blocker
-
5.3-dev
-
PHP 5.3.3
CentOS 6.6
Mysql 5.1.69
-
Ventoux Sprint 3
Description
If you follow the installation instruction of Install.md for ezpublish community you will get an exception after running composer
Steps to reproduce
- git clone https://github.com/ezsystems/ezpublish-community.git ezpublish5
- git clone https://github.com/ezsystems/ezpublish-legacy.git ezpublish_legacy
- give the appropriate permissions to installation
sudo setfacl -R -m u:apache:rwx -m u:apache:rwx \ ezpublish/{cache,logs,config} ezpublish_legacy/{design,extension,settings,var} web sudo setfacl -dR -m u:apache:rwx -m u:`whoami`:rwx \ ezpublish/{cache,logs,config} ezpublish_legacy/{design,extension,settings,var} web
- Run composer update composer update --prefer-dist
In the end of the composer run the following error is present
[PDOException] SQLSTATE[42000] [1044] Access denied for user ''@'localhost' to database 'none'
If you try to open the setup wizard the following error is present in apache log
[Thu Jan 02 14:40:19 2014] [error] [client 192.168.2.50] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000] [1044] Access denied for user ''@'localhost' to database 'none'' in /var/www/html/ezpublish5/vendor/zetacomponents/database/src/handler.php:104\nStack trace:\n#0 /var/www/html/ezpublish5/vendor/zetacomponents/database/src/handler.php(104): PDO->__construct('mysql:dbname=no...', 'user', NULL, Array)\n#1 /var/www/html/ezpublish5/vendor/zetacomponents/database/src/handlers/mysql.php(127): ezcDbHandler->__construct(Array, 'mysql:dbname=no...')\n#2 /var/www/html/ezpublish5/vendor/zetacomponents/database/src/factory.php(178): ezcDbHandlerMysql->__construct(Array)\n#3 /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/EzcDbHandler.php(97): ezcDbFactory::create(Array)\n#4 /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/ApiLoader/LegacyDbHandlerFactory.php(37): eZ\\Publish\\Core\\Persistence\\Legacy\\EzcDbHandler::create(Array)\n#5 /var/www/html/ezpublish5/ezpublish/cache/prod/ezpubli in /var/www/html/ezpublish5/vendor/zetacomponents/database/src/handler.php on line 104