迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發(fā)框架,基于MIT開源許可協(xié)議發(fā)布,免費且不限制商業(yè)使用,是免費開源的產品,以萬端互聯(lián)為設計理念,支持的微信公眾號、小程序、APP客戶端、移動端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
升級到4.5.4,提交不了數(shù)據(jù)了,{"code":0,"msg":"跨站驗證禁止此操作","data":"CSRFVerify"},這個跨站的,怎么去掉
系統(tǒng)設置,安全設置,關閉跨站
回復@迅??蚣芗夹g-李老師 系統(tǒng)設置,安全設置,關閉跨站,{"code":0,"msg":"Duplicate entry '519' for key 'PRIMARY'","data":[]},提示這個,4.5.3,倒不會
這個錯誤不是跨站引起的、
把錯誤日志清空,然后再訪問讓他產生新的錯誤日志,再還給我看新的日志內容
回復@迅??蚣芗夹g-李老師 DEBUG(@反饋BUG) - 2021-12-25 11:29:56 --> 緩存(csrf_hash_xxxx0)自動失效
回復@迅??蚣芗夹g-李老師
<?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 --> 運行鉤子【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)自動失效(/xxxadmin.php?s=article&c=home&m=index)超時: 801秒---http://www.xxxxx.com/xxxadmin.php?s=article&c=home&m=index
DEBUG(@反饋BUG) - 2021-12-25 11:29:56 --> 緩存(csrf_hash_463d6226259c2b3a35b6f33f54e55f20)自動失效(/xxxadmin.php?c=system&m=index)超時: 631秒---http://www.xxxxx.com/xxxadmin.php?c=system&m=index
index.php?s=sss&c=jffg&m=add 這個地址不是cms自帶的文件,難道是你自己開發(fā)的?
原因是入庫id重復了,建議開發(fā)時候先判斷下id是否存在
回復@迅睿框架技術-李老師 是的,自己寫的,5.4.3的時候沒問題
ERROR - 2021-12-25 12:08:15 --> 獲取遠程數(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 --> 獲取遠程數(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 --> 獲取遠程數(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 --> 獲取遠程數(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 --> 獲取遠程數(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)設置,安全設置,關閉跨站
回復@迅??蚣芗夹g-李老師 系統(tǒng)設置,安全設置,關閉跨站,{"code":0,"msg":"Duplicate entry '519' for key 'PRIMARY'","data":[]},提示這個,4.5.3,倒不會
這個錯誤不是跨站引起的、
把錯誤日志清空,然后再訪問讓他產生新的錯誤日志,再還給我看新的日志內容
回復@迅??蚣芗夹g-李老師 DEBUG(@反饋BUG) - 2021-12-25 11:29:56 --> 緩存(csrf_hash_xxxx0)自動失效
這一部分全部內容需要看一下
回復@迅??蚣芗夹g-李老師
<?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 --> 運行鉤子【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)自動失效(/xxxadmin.php?s=article&c=home&m=index)超時: 801秒---http://www.xxxxx.com/xxxadmin.php?s=article&c=home&m=index
DEBUG(@反饋BUG) - 2021-12-25 11:29:56 --> 緩存(csrf_hash_463d6226259c2b3a35b6f33f54e55f20)自動失效(/xxxadmin.php?c=system&m=index)超時: 631秒---http://www.xxxxx.com/xxxadmin.php?c=system&m=index
index.php?s=sss&c=jffg&m=add 這個地址不是cms自帶的文件,難道是你自己開發(fā)的?
原因是入庫id重復了,建議開發(fā)時候先判斷下id是否存在
回復@迅睿框架技術-李老師 是的,自己寫的,5.4.3的時候沒問題
回復@迅??蚣芗夹g-李老師
<?php defined('SYSTEMPATH') || exit('No direct script access allowed'); ?>
ERROR - 2021-12-25 12:08:15 --> 獲取遠程數(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 --> 獲取遠程數(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 --> 獲取遠程數(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 --> 獲取遠程數(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 --> 獲取遠程數(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