5.7.0.3 doesn't install, 5.7.0.4 installation stops with errors while creating database tables - SOLVED

Permalink
5.7.0.3 immediately leads to the following warnings and error messages:


Warning: array_replace_recursive(): Argument #2 is not an array in /home/.sites/web/concrete57/concrete/vendor/illuminate/config/Illuminate/Config/FileLoader.php on line 102
Warning: Invalid argument supplied for foreach() in /home/.sites/web/concrete57/concrete/src/Foundation/ClassAliasList.php on line 24
Warning: array_replace_recursive(): Argument #2 is not an array in /home/.sites/web/concrete57/concrete/vendor/illuminate/config/Illuminate/Config/FileLoader.php on line 102
Warning: Invalid argument supplied for foreach() in /home/.sites/web/concrete57/concrete/src/Foundation/ClassAliasList.php on line 24
Warning: array_replace_recursive(): Argument #2 is not an array in /home/.sites/web/concrete57/concrete/vendor/illuminate/config/Illuminate/Config/FileLoader.php on line 102
Warning: Invalid argument supplied for foreach() in /home/.sites/web/concrete57/concrete/src/Foundation/Service/ProviderList.php on line 27
Fatal error: Uncaught exception 'ReflectionException' with message 'Class helper/file does not exist' in /home/.sites/web/concrete57/concrete/vendor/illuminate/container/Illuminate/Container/Container.php:501 Stack trace: #0 /home/.sites/web/concrete57/concrete/vendor/illuminate/container/Illuminate/Container/Container.php(501): ReflectionClass->__construct('helper/file') #1 /home/.sites/web/concrete57/concrete/vendor/illuminate/container/Illuminate/Container/Container.php(425): Illuminate\Container\Container->build('helper/file', Array) #2 /home/.sites/web/concrete57/concrete/src/Application/Application.php(217): Illuminate\Container\Container->make('helper/file') #3 /home/.sites/web/concrete57/concrete/bootstrap/start.php(116): Concrete\Core\Application\Application->setupFilesystem() #4 /home/.sites/web/concrete57/concrete/dispatcher.php(36): require('/home/.sites/95...') #5 /home/.sites/web/concrete57/index.php(2): require('/home/.sites in /home/.sites/web/concrete57/concrete/vendor/illuminate/container/Illuminate/Container/Container.php on line 501


Does anybody know what that means?

okapi
 
andrew replied on at Permalink Reply
andrew
Do you have any files in your root config directory. Try removing them. Does this help?
okapi replied on at Permalink Reply
okapi
No, there were no files in application/config.

Now have i tried version 5.7.0.4 - the errors are gone and after the successful pre-installation check the installation process begins creating the database tables, but stops after 3 seconds with a new error message:

#0 /home/.sites/web/concrete57/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(811): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'CREATE TABLE Co...') #1 [internal function]: Doctrine\DBAL\Connection->query('CREATE TABLE Co...') #2 /home/.sites/web/concrete57/concrete/src/Database/Connection/Connection.php(77): call_user_func_array('parent::query', Array) #3 /home/.sites/web/concrete57/concrete/src/Package/Package.php(178): Concrete\Core\Database\Connection\Connection->query('CREATE TABLE Co...') #4 /home/.sites/web/concrete57/concrete/src/Package/StartingPointPackage.php(190): Concrete\Core\Package\Package::installDB('/home/.sites/95...') #5 [internal function]: Concrete\Core\Package\StartingPointPackage->install_database() #6 /home/.sites/web/concrete57/concrete/controllers/install.php(261): call_user_func(Array) #7 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'install_databas...') #8 /home/.sites/web/concrete57/concrete/src/Controller/AbstractController.php(149): call_user_func_array(Array, Array) #9 /home/.sites/web/concrete57/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #10 /home/.sites/web/concrete57/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #11 /home/.sites/web/concrete57/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #12 /home/.sites/web/concrete57/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #13 /home/.sites/web/concrete57/concrete/src/Application/Application.php(313): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #14 /home/.sites/web/concrete57/concrete/bootstrap/start.php(179): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #15 /home/.sites/web/concrete57/concrete/dispatcher.php(36): require('/home/.sites/95...') #16 /home/.sites/web/concrete57/index.php(2): require('/home/.sites/95...') #17 {main}
okapi replied on at Permalink Reply
okapi
UPDATE: Now i found out that the problem was caused by using MyISAM database tables.

All errors are gone now by using InnoDB!

Thank you,
Michael
tolga replied on at Permalink Reply
tolga
Actually i confirm that this error is due to not empty application/config directory. I get the same error while re-installing c5. I just commented database.php and try to install C5.

Moreover, it does not make sense that this error is related to MyISAM or InnoDB.