首页后端开发JAVAunserialize(): Error at offset 0 of 10898 bytes

unserialize(): Error at offset 0 of 10898 bytes

时间2023-03-27 16:19:26发布访客分类JAVA浏览412
导读:thinkphp5 unserialize( : Error at offset 0 of 932 bytes该问题一般是用了git导致的ThinkPHP5框架在thinkphp\library\think\cache\driver\Fli...

thinkphp5 unserialize(): Error at offset 0 of 932 bytes

该问题一般是用了git导致的

ThinkPHP5框架

在thinkphp\library\think\cache\driver\Flie.php中,

找到下面一句 大约120行左右

content  =  substr(content, 32) 先修32 为大写的数字

content = substr(content, 32000);

正常显示后可改回原来的值即可。

一般解决完,后续就ok了

未经允许不得转载:肥猫博客 » unserialize(): Error at offset 0 of 10898 bytes

声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!

phpthinkphp

若转载请注明出处: unserialize(): Error at offset 0 of 10898 bytes
本文地址: https://pptw.com/jishu/511.html
CVE-2021-44731 linux snap 本地提权漏洞分析 TP5.0、TP5.1、TP6.0 下载方式及环境要求

游客 回复需填写必要信息