
乐道一美国虚拟主机用户的thinkphp网站程序搬家后出现错误:
core/library/think/cache/driver/File.php 第 117 行左右
unserialize(): Error at offset 0 of 885 bytes
解决方法:
错误提示中有cache,说明一般和缓存有问题,只要清理下网站文件里的缓存即可。缓存文件在runtime这个文件夹内,在你的网站中找到runtime文件夹,把里面cache和temp里的文件都清空,但要保留这二个目录。
thinkphp网站程序的runtime存放路径不是统一的,如我的网站是在data/runtime路径下,有些可能在别的路径下,你需要找找,一般都容易找到。
