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 请教:如何用postman调用本地虚拟机区块链接上的合约?
    • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?
    • ¥15 乘性高斯噪声在深度学习网络中的应用
    • ¥15 运筹学排序问题中的在线排序
    • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
    • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
    • ¥15 C++ 头文件/宏冲突问题解决
    • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
    • ¥50 安卓adb backup备份子用户应用数据失败
    • ¥20 有人能用聚类分析帮我分析一下文本内容嘛