DBALException: An exception occurred while executing 'INSERT INTO Versions (ver_name, ver_value) VALUES ("last_db_version", ?) ON DUPLICATE KEY UPDATE ver_value = ?' with params ["4.4.x", "4.4.x"]:
SQLSTATE[42S02]: Base table or view not found: 1146 Table '***********_nc.Versions' doesn't exist
Исправил ошибки отредактировав campsite_core.sql (удалил команду SET вверху).
Установка пошла, но "не дошла:
RuntimeException:
in /home/public_html/library/Newscoop/Installer/Services/FinishService.php line 55
at FinishService->generateProxies() in /home/public_html/install/index.php line 344
at {closure}(object(Request))
at call_user_func_array(object(Closure), array(object(Request))) in /home/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 145
at HttpKernel->handleRaw(object(Request), '1') in /home/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 66
at HttpKernel->handle(object(Request), '1', true) in /home/public_html/vendor/silex/silex/src/Silex/Application.php line 547
at Application->handle(object(Request)) in /home/public_html/vendor/silex/silex/src/Silex/Application.php line 524
at Application->run() in /home/public_html/install/index.php line 354
I'm experiencing the same problem as the first and second post during the installation phase.
The installer says everything is fine, prompts me for Server name, Port, User name, Password, Database and if I want to overwrite existing database (tried with both options).
This file: /etc/mysql/my.cnfdows not contain these lines of code: sql-mode= and sql-mode="". I tried adding them (could have been a bit lost in translation) but it didn't help.
2/2DBALException: An exception occurred while executing 'INSERT INTO Versions (ver_name, ver_value) VALUES ("last_db_version", ?) ON DUPLICATE KEY UPDATE ver_value = ?' with params ["4.4.x", "4.4.x"]:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'admin_gazeta.Versions' doesn't exist
in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 91
at DBALException::driverExceptionDuringQuery(object(PDOException), 'INSERT INTO Versions (ver_name, ver_value) VALUES ("last_db_version", ?) ON DUPLICATE KEY UPDATE ver_value = ?', array('4.4.x', '4.4.x')) in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 702
at Connection->executeQuery('INSERT INTO Versions (ver_name, ver_value) VALUES ("last_db_version", :version) ON DUPLICATE KEY UPDATE ver_value = :version', array('version' => '4.4.x')) in /home/admin/web/test.gazeta-gran.ru/public_html/library/Newscoop/Installer/Services/DatabaseService.php line 502
at DatabaseService->saveDatabaseVersion(object(Connection), '4.4.x', '2015.10.29') in /home/admin/web/test.gazeta-gran.ru/public_html/library/Newscoop/Installer/Services/DatabaseService.php line 82
at DatabaseService->fillNewscoopDatabase(object(Connection)) in /home/admin/web/test.gazeta-gran.ru/public_html/install/index.php line 254
at {closure}(object(Request))
at call_user_func_array(object(Closure), array(object(Request))) in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 145
at HttpKernel->handleRaw(object(Request), '1') in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 66
at HttpKernel->handle(object(Request), '1', true) in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/silex/silex/src/Silex/Application.php line 547
at Application->handle(object(Request)) in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/silex/silex/src/Silex/Application.php line 524
at Application->run() in /home/admin/web/test.gazeta-gran.ru/public_html/install/index.php line 354
1/2PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'admin_gazeta.Versions' doesn't exist
in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 694
at PDOStatement->execute() in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 694
at Connection->executeQuery('INSERT INTO Versions (ver_name, ver_value) VALUES ("last_db_version", :version) ON DUPLICATE KEY UPDATE ver_value = :version', array('version' => '4.4.x')) in /home/admin/web/test.gazeta-gran.ru/public_html/library/Newscoop/Installer/Services/DatabaseService.php line 502
at DatabaseService->saveDatabaseVersion(object(Connection), '4.4.x', '2015.10.29') in /home/admin/web/test.gazeta-gran.ru/public_html/library/Newscoop/Installer/Services/DatabaseService.php line 82
at DatabaseService->fillNewscoopDatabase(object(Connection)) in /home/admin/web/test.gazeta-gran.ru/public_html/install/index.php line 254
at {closure}(object(Request))
at call_user_func_array(object(Closure), array(object(Request))) in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 145
at HttpKernel->handleRaw(object(Request), '1') in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 66
at HttpKernel->handle(object(Request), '1', true) in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/silex/silex/src/Silex/Application.php line 547
at Application->handle(object(Request)) in /home/admin/web/test.gazeta-gran.ru/public_html/vendor/silex/silex/src/Silex/Application.php line 524
at Application->run() in /home/admin/web/test.gazeta-gran.ru/public_html/install/index.php line 354
Александр, поделитесь, пожалуйста, получилось у вас установить-таки Newscoop? Что конкретно вы делали, чтобы полностью решить проблемы:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '********_nc.Versions' doesn't exist
DBALException: An exception occurred while executing 'INSERT INTO Versions (ver_name, ver_value) VALUES ("last_db_version", ?) ON DUPLICATE KEY UPDATE ver_value = ?' with params ["4.4.x", "4.4.x"]:
SQLSTATE[42S02]: Base table or view not found: 1146 Table '***********_nc.Versions' doesn't exi
Я так понимаю, правки в campsite_core.sql не дали полного решения?