如何修复mediawiki数据库中的回溯错误?

4uqofj5v  于 2021-06-20  发布在  Mysql
关注(0)|答案(0)|浏览(283)

当我试图为我的第二个wiki创建一个数据库作为我一直计划的wiki家族的一部分时,我遇到了各种错误和访问消息。其中之一与用户有关。尽管我已经检查了mysql数据库管理器中的所有权限,但是回溯显示仍然缺少权限。请告诉我有关如何修复这些错误的信息,并解释缺少哪些部分的权限。
回溯:


# 0 /home/gjlxrtap/public_html/mw19/includes/libs/rdbms/database/Database.php(979): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

# 1 /home/gjlxrtap/public_html/mw19/includes/libs/rdbms/database/Database.php(1343): Wikimedia\Rdbms\Database->query(string, string)

# 2 /home/gjlxrtap/public_html/mw19/includes/libs/rdbms/database/Database.php(1411): Wikimedia\Rdbms\Database->select(string, array, array, string, array, array)

# 3 /home/gjlxrtap/public_html/mw19/includes/user/User.php(1287): Wikimedia\Rdbms\Database->selectRow(string, array, array, string, array)

# 4 /home/gjlxrtap/public_html/mw19/includes/user/User.php(496): User->loadFromDatabase(integer)

# 5 /home/gjlxrtap/public_html/mw19/includes/libs/objectcache/WANObjectCache.php(892): User->{closure}(boolean, integer, array, NULL)

# 6 [internal function]: WANObjectCache->{closure}(boolean, integer, array, NULL)

# 7 /home/gjlxrtap/public_html/mw19/includes/libs/objectcache/WANObjectCache.php(1012): call_user_func_array(Closure, array)

# 8 /home/gjlxrtap/public_html/mw19/includes/libs/objectcache/WANObjectCache.php(898): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array, NULL)

# 9 /home/gjlxrtap/public_html/mw19/includes/user/User.php(521): WANObjectCache->getWithSetCallback(string, integer, Closure, array)

# 10 /home/gjlxrtap/public_html/mw19/includes/user/User.php(441): User->loadFromCache()

# 11 /home/gjlxrtap/public_html/mw19/includes/user/User.php(405): User->loadFromId(integer)

# 12 /home/gjlxrtap/public_html/mw19/includes/session/UserInfo.php(88): User->load()

# 13 /home/gjlxrtap/public_html/mw19/includes/session/CookieSessionProvider.php(119): MediaWiki\Session\UserInfo::newFromId(string)

# 14 /home/gjlxrtap/public_html/mw19/includes/session/SessionManager.php(487): MediaWiki\Session\CookieSessionProvider->provideSessionInfo(WebRequest)

# 15 /home/gjlxrtap/public_html/mw19/includes/session/SessionManager.php(190): MediaWiki\Session\SessionManager->getSessionInfoForRequest(WebRequest)

# 16 /home/gjlxrtap/public_html/mw19/includes/WebRequest.php(735): MediaWiki\Session\SessionManager->getSessionForRequest(WebRequest)

# 17 /home/gjlxrtap/public_html/mw19/includes/session/SessionManager.php(129): WebRequest->getSession()

# 18 /home/gjlxrtap/public_html/mw19/includes/Setup.php(762): MediaWiki\Session\SessionManager::getGlobalSession()

# 19 /home/gjlxrtap/public_html/mw19/includes/WebStart.php(114): require_once(string)

# 20 /home/gjlxrtap/public_html/mw19/index.php(40): require(string)

# 21 {main}

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题