安裝shopex出現(xiàn)Couldn't lock the file錯(cuò)誤的解決方法

2014-01-06 15:09:16來(lái)源:西部e網(wǎng)作者:

剛剛安裝完shopex,運(yùn)行首頁(yè)發(fā)現(xiàn)一個(gè)“Couldn't lock the file !”錯(cuò)誤,這是怎么回事呢?請(qǐng)看具體的解決辦法吧!

剛剛安裝完shopex,運(yùn)行首頁(yè)發(fā)現(xiàn)一個(gè)“Couldn't lock the file !”錯(cuò)誤,這是怎么回事呢?具體錯(cuò)誤信息如下:

Couldn't lock the file !
--------------------------------------------------------------------------------
#0 secache->trigger_error(Couldn't lock the file !, 256) called at --
#1 secache->_format(1) called at--
#2 secache->trigger_error(Can't open the cachefile: --, 256) called at--
#3 secache->workat-- called at --
#4 secache->secache() called at --
#5 kernel->kernel() called at --
#6 shopCore->shopCore() called at --

查了半天發(fā)現(xiàn)解決方法有兩個(gè):

1、修改config.php文件

在config目錄下找到config.php文件,打開(kāi)并將:

define('WITHOUT_CACHE',false);

修改為:

define('WITHOUT_CACHE',true);

2、修改緩存目錄的權(quán)限

將home/cache里面的cachedata.php和cachedata.stat.php文件刪除,在將目錄權(quán)限修改為777或是775試試?
 

關(guān)鍵詞:shopexphp

贊助商鏈接:

推薦文章