I have a weird error appearing (log only - the page appears to function correctly), and am not at all sure how to diagnose it:
[Wed Jan 21 10:44:39 2015] [error] [client 192.168.0.84] , referer: http://<scrubbed>
Can anyone suggest what might cause this?
Related
I am fairly new to Drupal.
I just got an already existing Drupal project and want to install it.
I copied it to: /var/www/html/myprojects/mydrupalproject
Then I got this error in my error.log from apache2:
[Thu May 03 17:55:41.603774 2018] [php7:notice] [pid 11604] [client
127.0.0.1:41930] PHP Notice: Constant DATE_RFC7231 already defined in /var/www/html/myprojects/mydrupalproject/includes/bootstrap.inc on
line 258, referer: http://127.0.0.1/myprojects/
[Thu May 03 17:55:41.604601 2018] [php7:error] [pid 11604] [client
127.0.0.1:41930] PHP Fatal error: require_once(): Failed opening required
'/var/www/html/myprojects/mydrupalproject/profiles/clusters_public/modules/contrib/apc/drupal_apc_cache.inc'
(include_path='.:/usr/share/php') in
/var/www/html/myprojects/mydrupalproject/includes/bootstrap.inc on
line 2632, referer: http://127.0.0.1/myprojects/
So I tried to use the original .htaccess info in case it was the problem but I still get exactly the same error in the log. Any help?
Failed opening required
'/var/www/html/myprojects/mydrupalproject/profiles/clusters_public/modules/contrib/apc/drupal_apc_cache.inc'
Does this file exist on your webserver and is it accessable? Are the correct file-rights set?
My developer team at General Motors has no PHP experience but we have to help with a Drupal/PHP site that went down. I took the 10 lines from the error logs that look important. Could anyone help us understand what's happening from these 10 lines? Any help is appreciated.
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
Recollecting what was last done might help to resolve your issue. Since in apache error log the showing issue in filter module, check for latest text format if you have updated. (The failing point is when conversion happens from a DOM object back to an HTML snippet). Also verify if you have installed any new module prior to this failure.(if yes try to disable that module using db)
everybody
I'm working on certain project and it worked just fine until the server provider decided to upgrade to PHP 5.6 and now the page is showing error 500.
I've already checked and I found out that this can be caused by few things...
This particular project doesn't use .htaccess file so, I know that's not the problem.
I also read that problem can be somewhere on server so checked the log and this is the message that I get.
[Fri Dec 04 10:17:47.603342 2015] [fcgid:warn] [pid 12468] (104)Connection reset by peer: [client 10.32.109.52:55105] mod_fcgid: error reading data from FastCGI server
[Fri Dec 04 10:17:47.603409 2015] [core:error] [pid 12468] [client 10.32.109.52:55105] End of script output before headers: index.php
You've got a message: End of script output before headers: index.php
So check your code in index.php. Just try to delete all code from file index.php and add this:
<?php phpinfo(); ?>
This should outputs information about PHP's configuration. If you can see this, so the problem is in your code in index.php.
My WP installation generates a Internal Error 500 every time I activate the BuddyPress plugin.
This is the actual error:
[Sat Mar 28 19:12:28.102868 2015] [fastcgi:error] [pid 10447] (104)Connection reset by peer: [client 192.168.1.1:55431] FastCGI: comm with server "/var/www/clients/client1/web4/cgi-bin/php5-fcgi-*-80-site.eu" aborted: read failed, referer: http://site.eu/wp-admin/update.php?action=install-plugin&plugin=buddypress&_wpnonce=54e15a2310
[Sat Mar 28 19:12:28.103055 2015] [fastcgi:error] [pid 10447] [client 192.168.1.1:55431] FastCGI: incomplete headers (0 bytes) received from server "/var/www/clients/client1/web4/cgi-bin/php5-fcgi-*-80-site.eu", referer: http://site.eu/wp-admin/update.php?action=install-plugin&plugin=buddypress&_wpnonce=54e15a2310`
How should I solve that?
P.S. The strange thing is that before, when the server was running Ubuntu 12, I had no troubles activating and using BuddyPress. Then something possessed me and I decided to upgrade the OS to 14.04 and as a result the site became inaccessible. Finally, I figured that it was BuddyPress that was causing the issue, removed it from the plugins folder and the site went back to working. Now every time I try to re-add BP, I get the error above.
According to this post, installing this plugins cause the fcgi process for PHP to hit its memory limit or execution time limit, preventing it to properly finish.
This is a problem that has been occurring a few times a week for the last 12 months but it never used to last for longer than an hour maximum, sometimes a lot less. This time however, it has been showing for nearly 18 hours so clearly it's not going to go away on it's own this time. I've done the usual google search and also checked similar questions on here but nothing gave me a solution.
I have hosting with HostPapa and the error log within cPanel doesn't help me either. It normally just says that a file called robots.txt cannot be found and it also can't find a 404.shtml file. At this moment in time, the error log is completely empty, even if I try to visit the site beforehand.
Best theories I heard was either Wrong Permissions and/or disabling Zend Guard?
[Fri Sep 26 15:54:05 2014] [error] [client 62.24.222.132] File does not exist: /home/tmsth125/public_html/robots.txt, referer: http://tmsthermalstore.com/robots.txt
[Fri Sep 26 15:53:56 2014] [error] [client 62.24.222.131] File does not exist: /home/tmsth125/public_html/404.shtml, referer: http://tmsthermalstore.com/helloworld.php
[Fri Sep 26 15:53:56 2014] [error] [client 62.24.222.131] File does not exist: /home/tmsth125/public_html/helloworld.php, referer: http://tmsthermalstore.com/helloworld.php
After contacting Customer Support via Live Chat, they fixed the issue and confirmed it was related to permissions in the php.ini file.