2017-09-28 85 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文章。