gpt4 book ai didi

php - fatal error : Call to undefined function gzopen() when installing WordPress theme

转载 作者:行者123 更新时间:2023-12-03 20:31:55 28 4
gpt4 key购买 nike

我在尝试激活 WordPress 主题后看到以下错误。浏览器中的错误信息是...

Fatal error: Call to undefined function gzopen() in /var/www/mysite.com/wp-content/themes/flat/themify/themify-builder/classes/class-themify-builder-layouts.php on line 528

检查我的 /var/log/apache2/error.log 我看到以下错误:

Call to undefined function gzopen() in /var/www/mywebsite.com/wp-      content/themes/flat/themify/themify-builder/classes/class-themify-builder-layouts.php on line     528, referer: http://mywebsite.com/wp-admin/update.php?action=upload-theme

服务器信息:

OS: Ubuntu 14.04 LTS
Apache: APache/2.4.7
PHP: PHP 5.5.9-1ubuntu4

最佳答案

这也发生在我身上(升级到 14.04 #ubuntu 之后)。我花了一整天的时间来解决这个问题,但最终我找到了解决方案。

gzopen 替换为 gzopen64

这对我来说绝对有效。PS:我希望 magento 社区知道在升级 apache 和 php 后创建包时出现了这个问题。

关于php - fatal error : Call to undefined function gzopen() when installing WordPress theme,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25393650/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com