pclzip.php: error_log being written by WP at a pace of 1 Gb per minute
-
Now, this is a problem. Every 24 hours or so, my error_log is written apparently by WP until the space of my hard disk is fully taken.
It starts like this and goes on without variations:
[Sat Nov 15 13:39:55 2014] [error] [client 93.103.21.231] PHP Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 10007 is not allowed to access / owned by uid 0 in Command line code(1) : eval()’d code on line 34
[Sat Nov 15 13:39:55 2014] [error] [client 93.103.21.231] PHP Warning: opendir(/): failed to open dir: No such file or directory in Command line code(1) : eval()’d code on line 34 [Sat Nov 15 13:39:55 2014] [error] [client 93.103.21.231] PHP Warning: readdir() expects parameter 1 to be resource, boolean given in Command line code(1) : eval()’d code on line 35
[Sat Nov 15 13:39:55 2014] [error] [client 93.103.21.231] PHP Warning: readdir() expects parameter 1 to be resource, boolean given in Command line code(1) : eval()’d code on line 35 [Sat Nov 15 13:39:55 2014] [error] [client 93.103.21.231] PHP Warning: readdir() expects parameter 1 to be resource, boolean given in Command line code(1) : eval()’d code on line 35Support of Hostgator tried to diagnose this and they came out with this conclusion:
The error log entry also implies that the “readdir()” function is used because of the “eval()” function, so we can assume the scripts responsible make a mention of both. We looked for this, and this cut down the potentially responsible scripts considerably: ######################################################
[root@tor httpdocs]# for file in $(find -type f -name “*.php” -exec grep -ls “eval(” {} \;); do grep -ls “readdir(” $file ;done ./xxx/wp-admin/includes/class-pclzip.php ./wp-admin/includes/class-pclzip.php
[root@rat httpdocs]# ######################################################
Either (or both) of those two scripts are likely responsible for this.What can be the problem?
- The topic ‘pclzip.php: error_log being written by WP at a pace of 1 Gb per minute’ is closed to new replies.