云服务器

首页 > ecshop/shopex网站 > ShopEx运行一段时间后出现Couldn’t lock the file错误提示

ShopEx运行一段时间后出现Couldn’t lock the file错误提示

ShopEx运行一段时间后出现Couldn’t lock the file错误提示:

Couldn’t lock the file !

——————————————————————————–

#0  cache_secache->trigger_error(Couldn’t lock the file !, 256) called at [/home/king555/domains/jm123.com/public_html/plugins/functions/cache_secache.php:391]
#1  cache_secache->_format(1) called at [/home/king555/domains/jm123.com/public_html/plugins/functions/cache_secache.php:663]
#2  cache_secache->trigger_error(Can’t open the cachefile: /home/king555/domains/jm123.com/public_html/home/cache/cachedata.php, 256) called at [/home/king555/domains/jm123.com/public_html/plugins/functions/cache_secache.php:100]
#3  cache_secache->workat(/home/king555/domains/jm123.com/public_html/home/cache/cachedata) called at [/home/king555/domains/jm123.com/public_html/plugins/functions/cache_secache.php:38]
#4  cache_secache->cache_secache() called at [/home/king555/domains/jm123.com/public_html/core/kernel.php:61]
#5  kernel->kernel() called at [/home/king555/domains/jm123.com/public_html/core/include_v5/shopCore.php:19]
#6  shopCore->shopCore() called at [/home/king555/domains/jm123.com/public_html/
core_shopexdream_2013_8_10_mult_city/include/customCore.php:9]
#7  customCore->customCore() called at [/home/king555/domains/jm123.com/public_html/index.php:19]

 

先进入到乐道主机香港空间或是美国空间管理面板

解决方法一:
在config下打开config.php,找到
define(‘WITHOUT_CACHE’,false);改为
define(‘WITHOUT_CACHE’,true);这是一种解决方法,如不行试试方法二。

解决方法二:
有时可能是缓存目录文件的权限问题了。
更改缓存目录的权限home/cache,将755改为777或775。
或者把home/cache目录下面的cachedata.php和cachedata.stat.php都给删除。
图片描述