Answer the question
In order to leave comments, you need to log in
CMS Bolt: how to upgrade / transfer the database to the local computer?
Good afternoon, there is a site transferred locally to cms bolt, there is a bolt.db file.
When I put this database where it should be - the app/database/bolt.db folder, then when I try to get to the site, I get an error:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]:
General error: 11 database disk image is malformed' in W:\home\localhost\www\opart2\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:92
Stack trace: #0 W:\home\localhost\www\site \vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php(92): PDO->query('PRAGMA synchron...') #1 W:\home\localhost\www\site\vendor\ doctrine\dbal\lib\Doctrine\DBAL\Connection.php(931):
Doctrine\DBAL\Driver\PDOConnection->query('PRAGMA synchron...') #2 W:\home\localhost\www\site\app\src\Bolt\Application.php(116):
Doctrine\DBAL\Connection ->query('PRAGMA synchron...') #3 W:\home\localhost\www\site\app\src\Bolt\Application.php(69):
Bolt\Application->initDatabase() #4 W: \home\localhost\www\site\app\bootstrap.php(50): Bolt\Application->initialize() #5 W:\home\localhost\www\site\index.php(24):
require_once('W :\home\localho...') #6 {main} Next exception 'Doctrine\DBAL\Driver\PDOException' with message 'SQLSTATE[HY000]: General error: 11 databa in W:\home\localhost\www\site \vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\AbstractSQLiteDriver.php on line 84
If there is no base in this folder, everything works, he just creates his own. How can I upgrade the one he creates to the right one or transfer the right base so that it is displayed?
Answer the question
In order to leave comments, you need to log in
carefully look at the default file, what encoding it is written in, how it is arranged inside and copy-paste your own into it without destroying its foundations)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question