聯(lián)系官方銷售客服
1835022288
028-61286886
每次第一次登陸后臺的時候提示“系統(tǒng)錯誤 請檢查錯誤日志”,多次點擊登陸后,就會登陸成功,查看錯誤日志顯示連接數(shù)據(jù)庫時出錯。如下:(什么原因呢)
<?php defined('SYSTEMPATH') || exit('No direct script access allowed'); ?>
ERROR - 2020-10-17 08:08:04 --> Error connecting to the database: ????????????????????????????
CRITICAL - 2020-10-17 08:08:04 --> Unable to connect to the database.
#SQL:
#URL:http://www.jieke248.com/admin.php?c=login&m=index&go=http://www.jieke248.com/admin.php
#REFERER:http://www.jieke248.com/admin.php?c=login&m=index&go=http://www.jieke248.com/admin.php
#0 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Database\BaseConnection.php(646): CodeIgniter\Database\BaseConnection->initialize()
#1 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Database\BaseBuilder.php(1860): CodeIgniter\Database\BaseConnection->query('SELECT `passwor...', Array, false)
#2 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\Fcms\Model\Auth.php(123): CodeIgniter\Database\BaseBuilder->get()
#3 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\Core\Controllers\Admin\Login.php(38): Phpcmf\Model\Auth->login('admin', 'admin')
#4 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\CodeIgniter.php(918): Phpcmf\Controllers\Admin\Login->index()
#5 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\CodeIgniter.php(404): CodeIgniter\CodeIgniter->runController(Object(Phpcmf\Controllers\Admin\Login))
#6 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\CodeIgniter.php(312): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#7 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\Fcms\Init.php(378): CodeIgniter\CodeIgniter->run()
#8 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\index.php(47): require('E:\\TOOL\\PhpStud...')
#9 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\admin.php(9): require('E:\\TOOL\\PhpStud...')
#10 {main}
CRITICAL - 2020-10-17 08:09:09 --> Argument 2 passed to CodeIgniter\Debug\Toolbar::renderTimeline() must be of the type float, null given, called in E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Debug\Toolbar\Views\toolbar.tpl.php on line 128
#SQL:
#URL:http://www.jieke248.com/admin.php?debugbar_time=1602893349
#REFERER:http://www.jieke248.com/admin.php?c=error&m=index
#0 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Debug\Toolbar\Views\toolbar.tpl.php(128): CodeIgniter\Debug\Toolbar->renderTimeline(Array, NULL, NULL, NULL, Array)
#1 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Debug\Toolbar.php(498): include('E:\\TOOL\\PhpStud...')
#2 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Debug\Toolbar.php(455): CodeIgniter\Debug\Toolbar->format(Array, 'html')
#3 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\Fcms\Core\Hooks.php(57): CodeIgniter\Debug\Toolbar->respond()
#4 [internal function]: Phpcmf\Hooks::Phpcmf\{closure}()
#5 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Events\Events.php(188): call_user_func(Object(Closure))
#6 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\CodeIgniter.php(293): CodeIgniter\Events\Events::trigger('pre_system')
#7 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\Fcms\Init.php(378): CodeIgniter\CodeIgniter->run()
#8 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\index.php(47): require('E:\\TOOL\\PhpStud...')
#9 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\admin.php(9): require('E:\\TOOL\\PhpStud...')
#10 {main}
CRITICAL - 2020-10-17 08:09:42 --> Argument 2 passed to CodeIgniter\Debug\Toolbar::renderTimeline() must be of the type float, null given, called in E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Debug\Toolbar\Views\toolbar.tpl.php on line 128
#SQL:
#URL:http://www.jieke248.com/admin.php?debugbar_time=1602893381
#REFERER:http://www.jieke248.com/admin.php?c=error&m=index
#0 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Debug\Toolbar\Views\toolbar.tpl.php(128): CodeIgniter\Debug\Toolbar->renderTimeline(Array, NULL, NULL, NULL, Array)
#1 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Debug\Toolbar.php(498): include('E:\\TOOL\\PhpStud...')
#2 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Debug\Toolbar.php(455): CodeIgniter\Debug\Toolbar->format(Array, 'html')
#3 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\Fcms\Core\Hooks.php(57): CodeIgniter\Debug\Toolbar->respond()
#4 [internal function]: Phpcmf\Hooks::Phpcmf\{closure}()
#5 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\Events\Events.php(188): call_user_func(Object(Closure))
#6 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\System\CodeIgniter.php(293): CodeIgniter\Events\Events::trigger('pre_system')
#7 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\dayrui\Fcms\Init.php(378): CodeIgniter\CodeIgniter->run()
#8 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\index.php(47): require('E:\\TOOL\\PhpStud...')
#9 E:\TOOL\PhpStudy20180211\PHPTutorial\WWW\jieke248\admin.php(9): require('E:\\TOOL\\PhpStud...')
#10 {main}
數(shù)據(jù)庫掛了不穩(wěn)定導(dǎo)致
回復(fù)迅睿框架創(chuàng)始人
好的,謝謝,我升級下試試
重啟數(shù)據(jù)庫
PhpStudy用在本地還可以,服務(wù)器不要用他了,穩(wěn)定性差,用Linux加寶塔很完美
回復(fù)@老豆 嗯嗯 謝謝