douyi4544 2017-06-18 17:06
浏览 27

将wordpress移动到不同的Apache模块时出现服务器错误500

I moved all of our databases to a 32-bit MySQL to 64-bit and also upgraded PHP/Apache at the same time. Both web servers are still configured on the machine.

So if I bring up new Apache/PHP/MySQL - everything works. I can do a new wordpress install, run PHP apps, all good. When I transfer my files over to new doc root and my database files I get error 500 whenever trying to bring up a page (even directly).

I have taken the database out of the mix because I can run old Apache/PHP and point it to new MySQL and the sites run fine. So I am guessing this has to do with some kind of mod rewrite setting... but it doesn't make since that a new WP install works and on that install I can change permalink structure.

Let me know if you need any more info.

Log file info:

[18-Jun-2017 17:51:41 UTC] PHP Fatal error: Uncaught Error: Call to a member function importFromArray() on null in E:\apache2\htdocs\smart\wp-content\themes\time\drone\dronetheme.class.php:2 Stack trace:
#0 E:\apache2\htdocs\smart\wp-content\themes\time\inc\options.php(56): DroneTheme->addThemeFeature('favicon', Array)
#1 E:\apache2\htdocs\smart\wp-content\themes\time\functions.php(415): require('E:\apache2...')
#2 E:\apache2\htdocs\smart\wp-content\themes\time\drone\dronetheme.class.php(2): Time->onSetupOptions(Object(DroneThemeOptionsGroup))
#3 E:\apache2\htdocs\smart\wp-includes\class-wp-hook.php(298): DroneTheme->actionAfterSetupTheme('')
#4 E:\apache2\htdocs\smart\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#5 E:\apache2\htdocs\smart\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#6 E:\apache2\htdocs\smart\wp-settings.php(433): do_action('after_setup_the...')
#7 E:\apache2\htdocs\smart\wp-config.php(78): require_once('E:\apache2...')
#8 E:\apache2\h in E:\apache2\htdocs\smart\wp-content\themes\time\drone\dronetheme.class.php on line 2

It seems that I might not have an extension enabled but I went one for one across my old install.

I have new version of Apache running stand alone from old. I can turn on old version of Apache/PHP and everything works fine with same files and database. So there has to be a config difference but I can't see it.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
    • ¥15 Vue3地图和异步函数使用
    • ¥15 C++ yoloV5改写遇到的问题
    • ¥20 win11修改中文用户名路径
    • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
    • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
    • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
    • ¥15 帮我写一个c++工程
    • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
    • ¥15 关于smbclient 库的使用