2017-09-28 80 views
0

我已經將我的prestashop轉移到新服務器,基本上我是新來處理日誌,所以我會很感激幫助理解它說我做的事情。prestashop模塊x13allegro更新錯誤

Presta的店鋪工作正常遷移後,我有1個模塊,x13allegro一個問題,而試圖更新模塊,日誌給我這個消息:

[Thu Sep 28 21:14:32.005609 2017] [:error] [pid 10361] [client 194.28.220.210:61470] PHP Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/sentora/hostdata/zadmin/public_html/srv_obuwie-wenecja_pl:/var/sentora/temp/) in /var/sentora/hostdata/zadmin/public_html/srv_obuwie-wenecja_pl/modules/x13allegro/classes/php5/XAllegroUpdate.php on line 0, referer: http://srv.obuwie-wenecja.pl/admin3525/index.php?controller=AdminXAllegroConfiguration&token=da55688d9eea9e289f7f23c0e76813ec&update_module 

[Thu Sep 28 21:14:32.005798 2017] [:error] [pid 10361] [client 194.28.220.210:61470] PHP Warning: file_put_contents(): Filename cannot be empty in /var/sentora/hostdata/zadmin/public_html/srv_obuwie-wenecja_pl/modules/x13allegro/classes/php5/XAllegroUpdate.php on line 0, referer: http://srv.obuwie-wenecja.pl/admin3525/index.php?controller=AdminXAllegroConfiguration&token=da55688d9eea9e289f7f23c0e76813ec&update_module 

[Thu Sep 28 21:14:32.005825 2017] [:error] [pid 10361] [client 194.28.220.210:61470] PHP Warning: ZipArchive::open(): Empty string as source in /var/sentora/hostdata/zadmin/public_html/srv_obuwie-wenecja_pl/modules/x13allegro/classes/php5/XAllegroUpdate.php on line 0, referer: http://srv.obuwie-wenecja.pl/admin3525/index.php?controller=AdminXAllegroConfiguration&token=da55688d9eea9e289f7f23c0e76813ec&update_module 

回答

0

正如你可以看到:的tempnam():open_basedir的限制效果

檢查您的PHP設置並更改open_basedir設置(您可以將其設置爲「無」)。

請參見:

http://php.net/manual/en/ini.core.php#ini.open-basedir

你有沒有清除緩存?如果沒有,請清除它。另外,請看this文章。