On Dec 7th I updated the more recently-modified files from the github and went merrily on my way.

But yesterday I checked and found 6.5 GB of error messages had accumulated.

 

It seems that files on both Tim Sawyer’s Allmon GitHub and Jim Dixon’s SVN (for the voter files) both still have the offending “split” statement in them. It’s in link.php line 11 and server.php line 29.  It is enough to replace “split” with “preg_split” to make the problem go away.

 

Perhaps Tim’s “explode()”  mod never got in for some reason?

 

73 and HNY

 

Ken

 

 

From: Tim Sawyer [mailto:tim.sawyer@mac.com]
Sent: Saturday, December 07, 2013 10:28 AM
To: Ken
Cc: app_rpt mailing list
Subject: Re: [App_rpt-users] allmon all full

 

Thanks. I think I’ve updated that in a current version with explode().

--

Tim

:wq

 

On Dec 6, 2013, at 7:03 PM, Ken <ke2n@cs.com> wrote:



My box running the Allstar monitor crashed – because it ran out of disk space.

I found that this was due to the error log (/var/log/httpd/error_log) filling up with a zillion messages like this one:

 

[Fri Dec 06 21:36:28 2013] [error] [client 108.18.144.226] PHP Deprecated:  Function split() is deprecated in /var/www/html/server.php on line 29, referer: http://108.18.144.226/link.php?node=28204

 

Line 29 of server.php has the problematical split function

 

$arr = split("\|", trim($line));

 

I replaced it with

 

$arr = preg_split("/\|/", trim($line));

 

There is also the same error for line 11 of link.php.

 

After making these changes, I deleted the error log – and it has not come back.

 

My system is running:

PHP 5.3.27

httpd-2.2.3-45.el5.centos.1

 

73

Ken

_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users