Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.3-dev
    • Fix Version/s: 5.3
    • Component/s: Install
    • Labels:
    • Environment:

      PHP 5.3.3
      CentOS 6.6
      Mysql 5.1.69

    • Sprint:
      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

      1. git clone https://github.com/ezsystems/ezpublish-community.git ezpublish5
      2. git clone https://github.com/ezsystems/ezpublish-legacy.git ezpublish_legacy
      3. 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
        
      4. 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
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jerome.vieilledent-obsolete@ez.no Jérôme Vieilledent (Inactive)
              Reporter:
              Joao.Pingo-obsolete@ez.no Joao Pingo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h