了解Drupal PHP错误日志

时间:2017-07-26 12:48:23

标签: php drupal

我在通用汽车公司的开发团队没有PHP经验,但是我们必须帮助一个倒下的Drupal / PHP站点。我从错误日志中看了10行看起来很重要。谁能帮助我们了解这10行中发生了什么?任何帮助表示赞赏。

PHP Warning:  Module 'hash' already loaded in Unknown on line 0
[Sun Jul 23 11:30:04 2017] [notice] Apache/2.2.12 (Linux/SUSE) mod_ssl/2.2.12 OpenSSL/0.9.8j-fips configured -- resuming normal operations
[Sun Jul 23 11:30:05 2017] [notice] Graceful restart requested, doing restart
PHP Warning:  Module 'hash' already loaded in Unknown on line 0
[Sun Jul 23 11:30:05 2017] [notice] Apache/2.2.12 (Linux/SUSE) mod_ssl/2.2.12 OpenSSL/0.9.8j-fips configured -- resuming normal operations
[Sun Jul 23 11:30:39 2017] [error] [client 198.208.85.51] ALERT - possible memory corruption detected - unknown Hashtable destructor (attacker '198.208.85.51', file '/www/theblog/index.php', line 19), referer: https://theblog.com/
[Sun Jul 23 22:18:58 2017] [error] Hostname theblock.com. provided via SNI and hostname theblock.com provided via HTTP are different
[Sun Jul 23 22:18:58 2017] [error] Hostname theblock.com. provided via SNI and hostname theblock.com provided via HTTP are different
[Sun Jul 23 22:59:46 2017] [error] [client 198.208.85.51] PHP Fatal error:  Call to a member function getElementsByTagName() on a non-object in /www/theblock/modules/filter/filter.module on line 1123
[Sun Jul 23 23:07:21 2017] [error] [client 198.208.85.51] PHP Fatal error:  Call to a member function getElementsByTagName() on a non-object in /www/theblock/modules/filter/filter.module on line 1123

1 个答案:

答案 0 :(得分:1)

重新收集上次完成的操作可能有助于解决您的问题。由于在apache错误中记录过滤器模块中的显示问题,如果已更新,请检查最新的文本格式。 (失败的一点是从DOM对象转换回HTML片段时)。还要验证在此故障之前是否安装了任何新模块。(如果是,尝试使用db禁用该模块)