聯系官方銷售客服
1835022288
028-61286886
開啟緩存點測試報錯:php7.3的
{ "title": "ErrorException", "type": "ErrorException", "code": 500, "message": "Uncaught CodeIgniter\\Format\\Exceptions\\FormatException: Failed to parse json string, error: \"Malformed UTF-8 characters, possibly incorrectly encoded\". in C:\\wwwroot\\cclmi.com\\dayrui\\System\\Format\\Exceptions\\FormatException.php:44\nStack trace:\n#0 C:\\wwwroot\\cclmi.com\\dayrui\\System\\Format\\JSONFormatter.php(42): CodeIgniter\\Format\\Exceptions\\FormatException::forInvalidJSON('Malformed UTF-8...')\n#1 C:\\wwwroot\\cclmi.com\\dayrui\\System\\API\\ResponseTrait.php(407): CodeIgniter\\Format\\JSONFormatter->format(Array)\n#2 C:\\wwwroot\\cclmi.com\\dayrui\\System\\API\\ResponseTrait.php(114): CodeIgniter\\Debug\\Exceptions->format(Array)\n#3 C:\\wwwroot\\cclmi.com\\dayrui\\Fcms\\Extend\\Exceptions.php(55): CodeIgniter\\Debug\\Exceptions->respond(Array, 500)\n#4 [internal function]: Phpcmf\\Extend\\Exceptions->exceptionHandler(Object(CodeIgniter\\Exceptions\\CriticalError))\n#5 {main}\n thrown", "file": "C:\\wwwroot\\cclmi.com\\dayrui\\System\\Format\\Exceptions\\FormatException.php", "line": 44, "trace": [ { "function": "shutdownHandler", "class": "CodeIgniter\\Debug\\Exceptions", "type": "->", "args": [] } ] }
你選的是什么類型的緩存,點測試呢
回復@迅睿框架技術-陳澤希 每個類型的緩存都是這個錯誤
運行下test.php看看有沒有紅色提示
我感覺是文件編碼問題,是不是你私自改了系統的某些文件導致編碼不對呢
回復@韋爵爺 沒改,就把網站從Linux遷移到Windows里面的就是這個樣子
回復@迅睿框架技術-陳澤希 沒有紅色標記,都正常
這個錯誤從來沒有遇到過,可能是文件原因,新版文件覆蓋一下試一試
覆蓋前需要提前備份好本網站的文件,覆蓋動作不可逆轉,萬一覆蓋后遇到致命故障就徹底完蛋了,需要提前備份好,以免出現故障可以恢復到之前的文件