迅睿開源框架是一款PHP8高性能·簡(jiǎn)單易用的PHP開源開發(fā)框架, 基于MIT開源許可協(xié)議發(fā)布,不限制商業(yè)使用,以多端互聯(lián)為設(shè)計(jì)理念, 支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
業(yè)務(wù)經(jīng)理
微信掃描以上二維碼
028-61286886
技術(shù)咨詢
升級(jí)到4.5.4,提交不了數(shù)據(jù)了,{"code":0,"msg":"跨站驗(yàn)證禁止此操作","data":"CSRFVerify"},這個(gè)跨站的,怎么去掉
系統(tǒng)設(shè)置,安全設(shè)置,關(guān)閉跨站
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
回復(fù)@迅??蚣芗夹g(shù)-李老師 系統(tǒng)設(shè)置,安全設(shè)置,關(guān)閉跨站,{"code":0,"msg":"Duplicate entry '519' for key 'PRIMARY'","data":[]},提示這個(gè),4.5.3,倒不會(huì)
這個(gè)錯(cuò)誤不是跨站引起的、
把錯(cuò)誤日志清空,然后再訪問讓他產(chǎn)生新的錯(cuò)誤日志,再還給我看新的日志內(nèi)容
回復(fù)@迅??蚣芗夹g(shù)-李老師 DEBUG(@反饋BUG) - 2021-12-25 11:29:56 --> 緩存(csrf_hash_xxxx0)自動(dòng)失效
回復(fù)@迅??蚣芗夹g(shù)-李老師
<?php defined('SYSTEMPATH') || exit('No direct script access allowed'); ?>
ERROR - 2021-12-25 11:20:10 --> Duplicate entry '522' for key 'PRIMARY'---http://www.xxxxx.com/index.php?s=sss&c=jffg&m=add
CRITICAL - 2021-12-25 11:20:10 --> Duplicate entry '522' for key 'PRIMARY'
#SQL:INSERT INTO `dr_1_share_index` (`id`, `mid`) VALUES (522, 'sss')
#URL:http://www.xxxxx.com/index.php?s=sss&c=jffg&m=add
#AGENT:Mozilla/5.0 (Windows NT 6.1 WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
#REFERER:http://www.xxxxx.com/
#0 D:\site\wsnw\dayrui\System\Database\MySQLi\Connection.php(292): mysqli->query('INSERT INTO `dr...', 0)
#1 D:\site\wsnw\dayrui\System\Database\BaseConnection.php(670): CodeIgniter\Database\MySQLi\Connection->execute('INSERT INTO `dr...')
#2 D:\site\wsnw\dayrui\System\Database\BaseConnection.php(598): CodeIgniter\Database\BaseConnection->simpleQuery('INSERT INTO `dr...')
#3 D:\site\wsnw\dayrui\System\Database\BaseBuilder.php(1759): CodeIgniter\Database\BaseConnection->query('INSERT INTO `dr...', Array, false)
#4 D:\site\wsnw\dayrui\App\sss\Controllers\Jiameng.php(36): CodeIgniter\Database\BaseBuilder->insert(Array)
#5 D:\site\wsnw\dayrui\System\CodeIgniter.php(824): Phpcmf\Controllers\Jiameng->add()
#6 D:\site\wsnw\dayrui\System\CodeIgniter.php(410): CodeIgniter\CodeIgniter->runController(Object(Phpcmf\Controllers\Jiameng))
#7 D:\site\wsnw\dayrui\System\CodeIgniter.php(318): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#8 D:\site\wsnw\dayrui\Fcms\Init.php(485): CodeIgniter\CodeIgniter->run()
#9 D:\site\wsnw\index.php(48): require('D:\\site\\wsnw\\da...')
#10 {main}
DEBUG(@反饋BUG) - 2021-12-25 11:20:49 --> 運(yùn)行鉤子【cms_init】1次---http://www.xxxxx.com/xxxadmin.php?s=article&c=verify&m=edit&id=537
DEBUG(@反饋BUG) - 2021-12-25 11:29:48 --> 緩存(csrf_hash_11d23433cdd63dab0837caf8e8ec3e25)自動(dòng)失效(/xxxadmin.php?s=article&c=home&m=index)超時(shí): 801秒---http://www.xxxxx.com/xxxadmin.php?s=article&c=home&m=index
DEBUG(@反饋BUG) - 2021-12-25 11:29:56 --> 緩存(csrf_hash_463d6226259c2b3a35b6f33f54e55f20)自動(dòng)失效(/xxxadmin.php?c=system&m=index)超時(shí): 631秒---http://www.xxxxx.com/xxxadmin.php?c=system&m=index
index.php?s=sss&c=jffg&m=add 這個(gè)地址不是cms自帶的文件,難道是你自己開發(fā)的?
原因是入庫id重復(fù)了,建議開發(fā)時(shí)候先判斷下id是否存在
回復(fù)@迅睿框架技術(shù)-李老師 是的,自己寫的,5.4.3的時(shí)候沒問題
ERROR - 2021-12-25 12:08:15 --> 獲取遠(yuǎn)程數(shù)據(jù)失敗[https://www.xxxx.com/cache/api.php]http狀態(tài):403---https://www.xxxx.com/ystladmin.php?c=check&m=do_index&id=09
ERROR - 2021-12-25 12:08:15 --> 獲取遠(yuǎn)程數(shù)據(jù)失敗[https://www.xxxx.com/config/api.php]http狀態(tài):403---https://www.xxxx.com/ystladmin.php?c=check&m=do_index&id=09
ERROR - 2021-12-25 12:08:15 --> 獲取遠(yuǎn)程數(shù)據(jù)失敗[https://www.xxxx.com/dayrui/api.php]http狀態(tài):403---https://www.xxxx.com/ystladmin.php?c=check&m=do_index&id=09
ERROR - 2021-12-25 12:08:15 --> 獲取遠(yuǎn)程數(shù)據(jù)失敗[https://www.xxxx.com/template/api.php]http狀態(tài):403---https://www.xxxx.com/ystladmin.php?c=check&m=do_index&id=09
ERROR - 2021-12-25 12:08:15 --> 獲取遠(yuǎn)程數(shù)據(jù)失敗[https://m.xxxx.com/api.php]http狀態(tài):301---https://www.xxxx.com/ystladmin.php?c=check&m=do_index&id=11
CRITICAL - 2021-12-25 12:10:20 --> fwrite(): Argument #1 ($stream) must be of type resource, bool given
#SQL:SELECT * FROM `dr_1_article` WHERE `dr_1_article`.`catid` = 21 ORDER BY `dr_1_article`.`updatetime` DESC LIMIT 10
系統(tǒng)設(shè)置,安全設(shè)置,關(guān)閉跨站
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
回復(fù)@迅??蚣芗夹g(shù)-李老師 系統(tǒng)設(shè)置,安全設(shè)置,關(guān)閉跨站,{"code":0,"msg":"Duplicate entry '519' for key 'PRIMARY'","data":[]},提示這個(gè),4.5.3,倒不會(huì)
這個(gè)錯(cuò)誤不是跨站引起的、
把錯(cuò)誤日志清空,然后再訪問讓他產(chǎn)生新的錯(cuò)誤日志,再還給我看新的日志內(nèi)容
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
回復(fù)@迅??蚣芗夹g(shù)-李老師 DEBUG(@反饋BUG) - 2021-12-25 11:29:56 --> 緩存(csrf_hash_xxxx0)自動(dòng)失效
這一部分全部?jī)?nèi)容需要看一下
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
回復(fù)@迅??蚣芗夹g(shù)-李老師
<?php defined('SYSTEMPATH') || exit('No direct script access allowed'); ?>
ERROR - 2021-12-25 11:20:10 --> Duplicate entry '522' for key 'PRIMARY'---http://www.xxxxx.com/index.php?s=sss&c=jffg&m=add
CRITICAL - 2021-12-25 11:20:10 --> Duplicate entry '522' for key 'PRIMARY'
#SQL:INSERT INTO `dr_1_share_index` (`id`, `mid`) VALUES (522, 'sss')
#URL:http://www.xxxxx.com/index.php?s=sss&c=jffg&m=add
#AGENT:Mozilla/5.0 (Windows NT 6.1 WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
#REFERER:http://www.xxxxx.com/
#0 D:\site\wsnw\dayrui\System\Database\MySQLi\Connection.php(292): mysqli->query('INSERT INTO `dr...', 0)
#1 D:\site\wsnw\dayrui\System\Database\BaseConnection.php(670): CodeIgniter\Database\MySQLi\Connection->execute('INSERT INTO `dr...')
#2 D:\site\wsnw\dayrui\System\Database\BaseConnection.php(598): CodeIgniter\Database\BaseConnection->simpleQuery('INSERT INTO `dr...')
#3 D:\site\wsnw\dayrui\System\Database\BaseBuilder.php(1759): CodeIgniter\Database\BaseConnection->query('INSERT INTO `dr...', Array, false)
#4 D:\site\wsnw\dayrui\App\sss\Controllers\Jiameng.php(36): CodeIgniter\Database\BaseBuilder->insert(Array)
#5 D:\site\wsnw\dayrui\System\CodeIgniter.php(824): Phpcmf\Controllers\Jiameng->add()
#6 D:\site\wsnw\dayrui\System\CodeIgniter.php(410): CodeIgniter\CodeIgniter->runController(Object(Phpcmf\Controllers\Jiameng))
#7 D:\site\wsnw\dayrui\System\CodeIgniter.php(318): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#8 D:\site\wsnw\dayrui\Fcms\Init.php(485): CodeIgniter\CodeIgniter->run()
#9 D:\site\wsnw\index.php(48): require('D:\\site\\wsnw\\da...')
#10 {main}
DEBUG(@反饋BUG) - 2021-12-25 11:20:49 --> 運(yùn)行鉤子【cms_init】1次---http://www.xxxxx.com/xxxadmin.php?s=article&c=verify&m=edit&id=537
DEBUG(@反饋BUG) - 2021-12-25 11:29:48 --> 緩存(csrf_hash_11d23433cdd63dab0837caf8e8ec3e25)自動(dòng)失效(/xxxadmin.php?s=article&c=home&m=index)超時(shí): 801秒---http://www.xxxxx.com/xxxadmin.php?s=article&c=home&m=index
DEBUG(@反饋BUG) - 2021-12-25 11:29:56 --> 緩存(csrf_hash_463d6226259c2b3a35b6f33f54e55f20)自動(dòng)失效(/xxxadmin.php?c=system&m=index)超時(shí): 631秒---http://www.xxxxx.com/xxxadmin.php?c=system&m=index
index.php?s=sss&c=jffg&m=add 這個(gè)地址不是cms自帶的文件,難道是你自己開發(fā)的?
原因是入庫id重復(fù)了,建議開發(fā)時(shí)候先判斷下id是否存在
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
回復(fù)@迅睿框架技術(shù)-李老師 是的,自己寫的,5.4.3的時(shí)候沒問題
回復(fù)@迅??蚣芗夹g(shù)-李老師
<?php defined('SYSTEMPATH') || exit('No direct script access allowed'); ?>
ERROR - 2021-12-25 12:08:15 --> 獲取遠(yuǎn)程數(shù)據(jù)失敗[https://www.xxxx.com/cache/api.php]http狀態(tài):403---https://www.xxxx.com/ystladmin.php?c=check&m=do_index&id=09
ERROR - 2021-12-25 12:08:15 --> 獲取遠(yuǎn)程數(shù)據(jù)失敗[https://www.xxxx.com/config/api.php]http狀態(tài):403---https://www.xxxx.com/ystladmin.php?c=check&m=do_index&id=09
ERROR - 2021-12-25 12:08:15 --> 獲取遠(yuǎn)程數(shù)據(jù)失敗[https://www.xxxx.com/dayrui/api.php]http狀態(tài):403---https://www.xxxx.com/ystladmin.php?c=check&m=do_index&id=09
ERROR - 2021-12-25 12:08:15 --> 獲取遠(yuǎn)程數(shù)據(jù)失敗[https://www.xxxx.com/template/api.php]http狀態(tài):403---https://www.xxxx.com/ystladmin.php?c=check&m=do_index&id=09
ERROR - 2021-12-25 12:08:15 --> 獲取遠(yuǎn)程數(shù)據(jù)失敗[https://m.xxxx.com/api.php]http狀態(tài):301---https://www.xxxx.com/ystladmin.php?c=check&m=do_index&id=11
CRITICAL - 2021-12-25 12:10:20 --> fwrite(): Argument #1 ($stream) must be of type resource, bool given
#SQL:SELECT * FROM `dr_1_article` WHERE `dr_1_article`.`catid` = 21 ORDER BY `dr_1_article`.`updatetime` DESC LIMIT 10