后台接口栏目下载小程序包出错

adc 2019-08-30 18:27:39

程序版本:蝉知2.0

参考官方帮助文档:https://www.chanzhi.org/book/weixin/375.html

在执行到在后台下载小程序包这一步时,下载的小程序包名为wmp.zip,但压缩包文件不到1KB,解压缩错误,提示压缩包存在问题。

试了很多次都这样。请问是什么原因呢?谢谢!

回帖列表
adc 2019-09-02 19:18:06


谢谢你们!日志如下,删除了对shell_exec函数的禁用就解决问题了










19:10:24 shell_exec() has been disabled for security reasons in module/wmp/control.php on line 102 when visiting /zhl.php?m=wmp&f=downloadpackage


19:10:24 shell_exec() has been disabled for security reasons in module/wmp/control.php on line 102 when visiting /zhl.php?m=wmp&f=downloadpackage


19:10:24 shell_exec() has been disabled for security reasons in module/wmp/control.php on line 102 when visiting /zhl.php?m=wmp&f=downloadpackage


19:10:24 file_get_contents(tmp/wmp/project.config.json): failed to open stream: No such file or directory in module/wmp/control.php on line 104 when visiting /zhl.php?m=wmp&f=downloadpackage


19:10:24 file_put_contents(tmp/wmp/project.config.json): failed to open stream: No such file or directory in module/wmp/control.php on line 107 when visiting /zhl.php?m=wmp&f=downloadpackage


19:10:24 file_get_contents(tmp/wmp/config/my.js): failed to open stream: No such file or directory in module/wmp/control.php on line 110 when visiting /zhl.php?m=wmp&f=downloadpackage


19:10:24 file_put_contents(tmp/wmp/config/my.js): failed to open stream: No such file or directory in module/wmp/control.php on line 115 when visiting /zhl.php?m=wmp&f=downloadpackage


19:10:24 shell_exec() has been disabled for security reasons in module/wmp/control.php on line 117 when visiting /zhl.php?m=wmp&f=downloadpackage


19:10:24 filesize(): stat failed for tmp/wmp.zip in module/wmp/control.php on line 122 when visiting /zhl.php?m=wmp&f=downloadpackage


19:10:24 readfile(tmp/wmp.zip): failed to open stream: No such file or directory in module/wmp/control.php on line 123 when visiting /zhl.php?m=wmp&f=downloadpackage


shiyangyang 2019-09-02 13:55:18
chanzhi(eps)\system\config\my.php中 debug值改成 2 重新操作一下 看一下 chanzhi(eps)\system\tmp\log\php开头的文件有什么记录。看看是否有相应的函数禁用了?
1/ 1
浙ICP备14025715号-9
ZSITE8.6