dqmfo84644 2016-06-29 04:37
浏览 56

DrupalGap“安装SDK”错误:致命错误:在第461行的/../../ .. /sites/all/modules/drupalgap/drupalgap.module中找不到类'ZipArchive'

I am new to DrupalGap and while configuring DrupalGap I encountered the following error:

Fatal error: Class 'ZipArchive' not found in /../../.. /sites/all/modules/drupalgap/drupalgap.module on line 461

Reproduce Error

  1. Navigate to Configuration/Web Services/DrupalGap
  2. In the "Directory" section, clicked "Install SDK" button.

I have looked around and haven't found a clear solution to this issue. A user on another SO thread recommended installing the "Zip extension". I've tried that but am still getting the error.

Reference Thread

Fatal error: Class 'ZipArchive' not found in

http://www.php.net/manual/en/book.zip.php

Additional Notes

  • This "Install SDK" step worked fine on my local environment. I followed the same steps on my server
  • I'm running a D7 install
  • I'm using DrupalGap 7.x-1.15

Any help or advice would be greatly appreciated!

Thanks.

  • 写回答

1条回答 默认 最新

  • doufen9815 2016-08-12 07:48
    关注

    You need to install and enable PHP Zip extension to use ZipArchive class

    For Ubuntu

    • PHP7 : sudo apt-get install php7.0-zip
    • PHP5 : sudo apt-get install php5-zip

    Once the archive is installed restart your apache server and DONE !

    For Ubuntu

    • sudo /etc/init.d/apache2 restart
    评论

报告相同问题?

悬赏问题

  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 用hfss做微带贴片阵列天线的时候分析设置有问题
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 海浪数据 南海地区海况数据,波浪数据