聯(lián)系官方銷(xiāo)售客服
1835022288
028-61286886
開(kāi)啟緩存點(diǎn)測(cè)試報(bào)錯(cuò):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": [] } ] }
你選的是什么類型的緩存,點(diǎn)測(cè)試呢
回復(fù)@迅??蚣芗夹g(shù)-陳澤希 每個(gè)類型的緩存都是這個(gè)錯(cuò)誤
運(yùn)行下test.php看看有沒(méi)有紅色提示
我感覺(jué)是文件編碼問(wèn)題,是不是你私自改了系統(tǒng)的某些文件導(dǎo)致編碼不對(duì)呢
回復(fù)@韋爵爺 沒(méi)改,就把網(wǎng)站從Linux遷移到Windows里面的就是這個(gè)樣子
回復(fù)@迅??蚣芗夹g(shù)-陳澤希 沒(méi)有紅色標(biāo)記,都正常
這個(gè)錯(cuò)誤從來(lái)沒(méi)有遇到過(guò),可能是文件原因,新版文件覆蓋一下試一試
覆蓋前需要提前備份好本網(wǎng)站的文件,覆蓋動(dòng)作不可逆轉(zhuǎn),萬(wàn)一覆蓋后遇到致命故障就徹底完蛋了,需要提前備份好,以免出現(xiàn)故障可以恢復(fù)到之前的文件