前几天已经安装成功了,然后把系统文件和数据库打包保存后,安装了其他系统,之后又删除了其他系统,把之前打包的flarum系统解压到原来目录下,就变成如下这样一大片文字:
Flarum encountered a boot error (Illuminate\Database\QueryException)
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘flarum_sql.dqc_settings’ doesn’t exist (SQL: select value
, key
from dqc_settings
)
thrown in D:\phpstudy_pro\WWW\vendor\illuminate\database\Connection.php on line 669
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘flarum_sql.dqc_settings’ doesn’t exist in D:\phpstudy_pro\WWW\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:67
Stack trace:
#0 D:\phpstudy_pro\WWW\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php(67): PDO->prepare(‘select value
,…’, Array)
#1 D:\phpstudy_pro\WWW\vendor\illuminate\database\Connection.php(331): Doctrine\DBAL\Driver\PDOConnection->prepare(‘select value
,…’)
#2 D:\phpstudy_pro\WWW\vendor\illuminate\database\Connection.php(662): Illuminate\Database\Connection->Illuminate\Database{closure}(‘select value
,…’, Array)
#3 D:\phpstudy_pro\WWW\vendor\illuminate\database\Connection.php(629): Illuminate\Database\Connection->runQueryCallback(‘select value
,…’, Array, Object(Closure))
#4 D:\phpstudy_pro\WWW\vendor\illuminate\database\Connection.php(338): Illuminate\Database\Connection->run(‘select value
,…’, Array, Object(Closure))
#5 D:\phpstudy_pro\WWW\vendor\illuminate\database\Query\Builder.php(2159): Illuminate\Database\Connection->select(‘select value
,…’, Array, true)
#6 D:\phpstudy_pro\WWW\vendor\illuminate\database\Query\Builder.php(2311): Illuminate\Database\Query\Builder->runSelect()
#7 D:\phpstudy_pro\WWW\vendor\illuminate\database\Query\Builder.php(2619): Illuminate\Database\Query\Builder->Illuminate\Database\Query{closure}()
#8 D:\phpstudy_pro\WWW\vendor\illuminate\database\Query\Builder.php(2313): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure))
#9 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Settings\DatabaseSettingsRepository.php(25): Illuminate\Database\Query\Builder->pluck(‘value’, ‘key’)
#10 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Settings\MemoryCacheSettingsRepository.php(30): Flarum\Settings\DatabaseSettingsRepository->all()
#11 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Settings\MemoryCacheSettingsRepository.php(42): Flarum\Settings\MemoryCacheSettingsRepository->all()
#12 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Extension\ExtensionManager.php(345): Flarum\Settings\MemoryCacheSettingsRepository->get(‘extensions_enab…’)
#13 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Extension\ExtensionManager.php(317): Flarum\Extension\ExtensionManager->getEnabled()
#14 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Extension\ExtensionManager.php(333): Flarum\Extension\ExtensionManager->getEnabledExtensions()
#15 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Extension\ExtensionServiceProvider.php(30): Flarum\Extension\ExtensionManager->extend(Object(Illuminate\Container\Container))
#16 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension{closure}(Object(Flarum\Foundation\Application))
#17 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Foundation\Application.php(322): call_user_func(Object(Closure), Object(Flarum\Foundation\Application))
#18 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Foundation\Application.php(263): Flarum\Foundation\Application->fireAppCallbacks(Array)
#19 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Foundation\InstalledSite.php(148): Flarum\Foundation\Application->boot()
#20 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Foundation\InstalledSite.php(81): Flarum\Foundation\InstalledSite->bootLaravel()
#21 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Http\Server.php(56): Flarum\Foundation\InstalledSite->bootApp()
#22 D:\phpstudy_pro\WWW\vendor\flarum\core\src\Http\Server.php(33): Flarum\Http\Server->safelyBootAndGetHandler()
#23 D:\phpstudy_pro\WWW\public\index.php(26): Flarum\Http\Server->listen()
#24 {main}
……………………………………………
睡觉了,不知道明天晚上能看到解决方法哇。