SVN 3791 PHP Error
I noticed my Apache error_log was getting large so I checked into it. I’m getting a large amount of these same errors from every machine that is imaged.
Here is the last few lines:
[Thu Jul 16 08:47:11.413272 2015] [:error] [pid 2828] [client 10.1.33.158:37609] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/ww w/html/fog/service/auto.register.php on line 73 [Thu Jul 16 08:53:13.914835 2015] [:error] [pid 2883] [client 10.1.33.159:56712] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/ww w/html/fog/service/locationcheck.php on line 3 [Thu Jul 16 08:53:28.964064 2015] [:error] [pid 2864] [client 10.1.33.159:56714] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/ww w/html/fog/service/auto.register.php on line 73
CentOS7, SVN 3791
@Tom-Elliott Gotcha. We’re just imaging like crazy and that is creating a lot of these errors which filled about 12GB of logspace up. I’ve adjusted my logrotation (which is probably the better answer anyways).
fyi, GitHub still works… I’ve used it before when SF was down.
I’m thinking that GitHub is far more reliable… and I might just switch completely to that.
I have fixed these two errors so they should no longer report problems, though they were non-impacting.
Unfortunately, sourceforge is currently in disaster recover mode and I can’t push the fixes right now. I have a few other “corrections” that I hope to get going too.