在本地新安装 ecshop 时出现如下的错误警告:
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for ...
ecshop 配送设置是较常用的一个功能了,小虎博客在最近的一次系统设置方式设置时出现了如下的 bug:
Warning: number_format() expects parameter 1 to be double, string given in ****//includes/lib_common.php on line 959
这实际上是配送插件与 ecshop 不兼容所导致的,我们仔细看来检查一下配送插件里面免费额度为 0,而 ecshop 本身的 bug 导致了 $price 的值为空,所以在直接调用 number_format 的...
自从帮客户转移了 ecshop 空间之后,网站就出现一连串的问题,今天又出现了了这样的错误提示:
Notice: unserialize() [function.unserialize]: Error at offset 159 of 647 bytes in \eshop\includes\lib_common.php on line 224
直接显示报错,最后小虎博客找到的原因原来是在转移过程中丢失了问题,也就是在上传到新空间的时候有些文章上传不完整导致的,只好再次上传,这次将整个文件打包上传上去,然后...