Results 1 to 11 of 11

Thread: Install tool doesn't work for Contao 3.3.0

  1. #1
    User Carolina's Avatar
    Join Date
    09-05-12.
    Location
    London
    Posts
    99

    Default Install tool doesn't work for Contao 3.3.0

    Hello,

    I get this error message when I go to www.assembly21.com/contao/install.php. I have reseted the hosting account. And still get the same issue.

    Warning: require_once(/home/assembly21/public_html/vendor/autoload.php): failed to open stream: No such file or directory in system/initialize.php on line 110
    #0 system/initialize.php(110): __error(2, 'require_once(/h...', '/home/assembly2...', 110, Array)
    #1 system/initialize.php(110): require_once()
    #2 contao/install.php(24): require('/home/assembly2...')
    #3 {main}

    When I do the Contao check, on assembly21.com/check I get:

    Forbidden
    You don't have permission to access /check/ on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    If it is that there's a file missing, why? I unzipped the contao core on the html_public folder on the server after creating the database.

    I'd appreciate your help.

    Thanks.
    Last edited by Carolina; 05/27/2014 at 14:41.
    Carolina

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Hi Carolina,

    where did you download the Contao ZIP archive? Is there a new folder "vendor" in your Contao installation?

    Anyway, the Contao check should definitely work. If you run the Contao check you can install Contao 3.3.0 from there.
    Contao Community Moderator
    → Support options

  3. #3
    User Carolina's Avatar
    Join Date
    09-05-12.
    Location
    London
    Posts
    99

    Default

    I have downloaded the last release of contao from Git Hub into my machine. I didn't unzip it. And directly uploaded it into the hosting account and extracted the files there. This never happened before.
    Carolina

  4. #4
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Quote Originally Posted by Carolina View Post
    I have downloaded the last release of contao from Git Hub into my machine.
    Please download the archive from the Contao website or from the GitHub releases page (green buttons!).
    Last edited by xchs; 05/27/2014 at 16:58.
    Contao Community Moderator
    → Support options

  5. #5
    User Carolina's Avatar
    Join Date
    09-05-12.
    Location
    London
    Posts
    99

    Default

    Yes, that's what I did. Ah, ok I pressed the grey buttons. Would that be the problem?
    Carolina

  6. #6
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    So is then there a new folder "vendor" in your Contao installation?
    Contao Community Moderator
    → Support options

  7. #7
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Quote Originally Posted by Carolina View Post
    Yes, that's what I did. Ah, ok I pressed the grey buttons. Would that be the problem?
    Yes, definitely! Use the green download buttons instead.

    And even better – download the install archive from the project website: https://contao.org/download.html
    Last edited by xchs; 05/27/2014 at 16:58.
    Contao Community Moderator
    → Support options

  8. #8
    User Carolina's Avatar
    Join Date
    09-05-12.
    Location
    London
    Posts
    99

    Default

    Trying with the version from this website, on the ...contao/install.php page I get:


    Warning: mysql_connect(): Access denied for user 'assembly21dev'@'localhost' (using password: YES) in system/modules/core/library/Contao/Database/Mysql.php on line 58

    #0 [internal function]: __error(2, 'mysql_connect()...', '/home/assembly2...', 58, Array)
    #1 system/modules/core/library/Contao/Database/Mysql.php(58): mysql_connect('localhost:3306', 'assembly21dev', 'May28101415')
    #2 system/modules/core/library/Contao/Database.php(77): Contao\Database\Mysql->connect()
    #3 system/modules/core/library/Contao/Database.php(161): Contao\Database->__construct(Array)
    #4 [internal function]: Contao\Database::getInstance()
    #5 system/modules/core/library/Contao/System.php(122): call_user_func(Array)
    #6 contao/install.php(488): Contao\System->import('Database')
    #7 contao/install.php(183): InstallTool->setUpDatabaseConnection()
    #8 contao/install.php(1148): InstallTool->run()
    #9 {main}


    Warning: Cannot modify header information - headers already sent by (output started at /home/assembly21/public_html/system/helper/functions.php:70) in system/modules/core/library/Contao/Template.php on line 261

    #0 [internal function]: __error(2, 'Cannot modify h...', '/home/assembly2...', 261, Array)
    #1 system/modules/core/library/Contao/Template.php(261): header('Vary: User-Agen...', false)
    #2 system/modules/core/classes/BackendTemplate.php(121): Contao\Template->output()
    #3 contao/install.php(858): Contao\BackendTemplate->output()
    #4 contao/install.php(496): InstallTool->outputAndExit()
    #5 contao/install.php(183): InstallTool->setUpDatabaseConnection()
    #6 contao/install.php(1148): InstallTool->run()
    #7 {main}


    Warning: Cannot modify header information - headers already sent by (output started at /home/assembly21/public_html/system/helper/functions.php:70) in system/modules/core/library/Contao/Template.php on line 262

    #0 [internal function]: __error(2, 'Cannot modify h...', '/home/assembly2...', 262, Array)
    #1 system/modules/core/library/Contao/Template.php(262): header('Content-Type: t...')
    #2 system/modules/core/classes/BackendTemplate.php(121): Contao\Template->output()
    #3 contao/install.php(858): Contao\BackendTemplate->output()
    #4 contao/install.php(496): InstallTool->outputAndExit()
    #5 contao/install.php(183): InstallTool->setUpDatabaseConnection()
    #6 contao/install.php(1148): InstallTool->run()
    #7 {main}


    And yes, in this files there's also a folder called vendor.

    Regards.
    Last edited by Carolina; 05/28/2014 at 16:56.
    Carolina

  9. #9
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Access denied for user 'assembly21dev'
    You have to check the credentials (DB user, DB password, database name) for the database connection.

    I would further recommend to switch to the MySQLi database driver.
    Contao Community Moderator
    → Support options

  10. #10
    User Carolina's Avatar
    Join Date
    09-05-12.
    Location
    London
    Posts
    99

    Default

    database name, username and password are correct. The first two you can see them on the screen. The third one I checked several times...
    Carolina

  11. #11
    User Carolina's Avatar
    Join Date
    09-05-12.
    Location
    London
    Posts
    99

    Beitrag

    This time I used a wizard to create the database instead of creating it automatically and it works. I seems that the hosting company put some settings when creating the database without telling you.
    Last edited by Carolina; 05/29/2014 at 11:26.
    Carolina

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •