Can't install Newscoop. Errors.
  • Trying to install NEWSCOOP 4 (the latest version at the moment), downloaded from here: http://www.sourcefabric.org/ru/newscoop/download/

    When opening MYSITE.com/install/

    Warning
    : require_once(__DIR__/../application.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/wroot/data/www/MYSITE.com/install/index.php on line 16

    Fatal error: require_once() [function.require]: Failed opening required '__DIR__/../application.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/wroot/data/www/MYSITE.com/install/index.php on line16

    There's no such a directory on the server: .:/usr/share/php:/usr/share/pear 

    MYSITE is a stub for a real site name

    *Why no to make an installation wizard, that checks all the requirements first and gives recommendations on the found issues? 
  • 4 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    >
    > *Warning*: require_once(__DIR__/../application.php) [function.require-once]:
    > failed to open stream: No such file or directory in *
    > /var/www/wroot/data/www/MYSITE.com/install/index.php* on line *16*


    it means that you didn't extract all files from tarball. Try to extract
    again and check for errors during this.
  • Actually, it was an incompatible PHP ver.
  • Though, for now problems didn't discontinue.
    Seems like you have to be pro admin to install it.
    Trying to install newscoop 4.2.
    When creating database (Database settings step), I got 500 server error and there's no any info in php error log.
  • Anybody help?

    1)

    Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'www-data'@'localhost' (using password: NO)' in /var/www/wroot/data/www/mediacontex.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:39 Stack trace: #0 /var/www/wroot/data/www/mediacontex.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(39): PDO->__construct('mysql:', NULL, NULL, Array) #1 /var/www/wroot/data/www/mediacontex.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(47): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:', NULL, NULL, Array) #2 /var/www/wroot/data/www/mediacontex.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(348): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, NULL, NULL, Array) #3 /var/www/wroot/data/www/mediacontex.com/library/Newscoop/Doctrine/AdoDbAdapter.php(51): Doctrine\DBAL\Connection->connect() #4 /var/www/wroot/data/www/mediacontex.com/install/classes/CampInstallationBase.php(923): Newscoop\Doctrine\Ado in/var/www/wroot/data/www/mediacontex.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 39
    -------------and, after manually setting params $user and $password-----------------2) Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected' in /var/www/wroot/data/www/mediacontex.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:634 Stack trace: #0 /var/www/wroot/data/www/mediacontex.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(634): PDO->query('--?-- Table str...') #1 /var/www/wroot/data/www/mediacontex.com/library/Newscoop/Doctrine/AdoDbAdapter.php(66): Doctrine\DBAL\Connection->executeQuery('--?-- Table str...', Array) #2 /var/www/wroot/data/www/mediacontex.com/install/classes/CampInstallationBase.php(973): Newscoop\Doctrine\AdoDbAdapter->execute('--?-- Table str...') #3 /var/www/wroot/data/www/mediacontex.com/install/classes/CampInstallationBase.php(264): CampInstallationBaseHelper::ImportDB('/var/www/wroot/...', Array) #4 /var/www/wroot/data/www/mediacontex.com/install/classes/CampInstallationBase.php(93): CampInstallationBase->databaseConfiguration(Array) #5 /var/www/wroot/data/www/mediacontex.com/install/cl in/var/www/wroot/data/www/mediacontex.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php on line 634