Steckdose von ANEL

Tach Zusammen,

bei mir kommt seit kurzem nur noch:

Warning:  stream_socket_client(): failed to bind to '0.0.0.0:50101', system said: No such file or directory in C:\IP-Symcon\scripts\10931.ips.php on line 265

Fatal error:  Maximum execution time of 30 seconds exceeded in C:\IP-Symcon\scripts\10931.ips.php on line 274
Abort Processing during Fatal-Error: Maximum execution time of 30 seconds exceeded
   Error in Script C:\IP-Symcon\scripts\10931.ips.php on Line 274

Dabei ist mir aufgefallen (wenn ich es richtig gesehen habe), daß die Variable $ip nirgendwo definiert ist.
Hab das Script auch mal neu installiert, ohne Veränderung. Einzig auf die neueste IPS-Version hatte ich geupdated?

Viele Grüße aus OBC

kea

Hallo,
hat jemand das Script unter IPS 5.0 am laufen ? Erhalte seit dem Update nur folgende Fehlermeldung:


Fatal error:  Maximum execution time of 30 seconds exceeded in C:\IP-Symcon\scripts\40980.ips.php on line 278

Gruss
Stefan

Ursache ist wohl die „create function“ - hat jemand eine Idee wie die Zeile geändert werden muss sodass diese unter IPS5 läuft?


$surgeinfo["mac"] = array_reduce(explode(".",$surgeinfo["mac"]),create_function('$a,$b','return strtoupper((strlen($a) ? $a.":" : "").($b>15 ? dechex($b) : "0".dechex($b)));'));


Deprecated:  Function create_function() is deprecated in C:\IP-Symcon\scripts\40980.ips.php on line 307
Deprecated:  Function create_function() is deprecated in C:\IP-Symcon\scripts\40980.ips.php on line 307

Gruss
Stefan

Ich werde mir das ganze in den nächsten Tagen mal anschauen.