Antis FHT für V2

Über Google finde ich das auf die Schnelle

im weiteren Verlauf müsste auch eine Lösung sein, da ich das bei mir ge // t habe. Ist da die neueste Version und zugehörige Programme installiert?

Gruß
Bruno

Was kann oder wie kann ich das lösen Danke schon mal.

Was kann oder wie kann ich das lösen

Ist Fehler drin. Beseitige ihn und es wird funktionieren. :rolleyes:

Vielleicht verrätst du mal was in der Zeile steht. Dann könnte man sich mal ein oder zwei Gedanken dazu machen. :wink:

Toni

hab denn Überblick verloren welche ist die aktuellste

Deine aktuelle Version findest du in der Konsole unter dem Button „Über…“ (Oben rechts)

Hier kannst du einstellen welche Version du verwenden willst: Live-Konfiguration

Deine PHP-Version bekommst du mit einem Script. Dort rufst du einfach folgende Zeile auf:

print_r(phpinfo());

Toni

Hier meine Daten :

PHP Version => 5.4.24
Kernel Version 3.20
Live Update Version 30.10.14 ,3521

Okay…

Unabhängig von der Version ist der Fehler immer noch in Zeile 262. Ich bin noch keinen Schritt weiter :smiley:

Hier ist das aktuelle, soweit ich weiss

ansonsten einfach die Zeile in Dein Skript kopieren.

Hab jetzt die Version istalliert beim ausführen diese Meldung:

PHP-Error-Notice: Undefined offset: 11
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 80PHP-Error-Notice: Undefined offset: 12
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 80PHP-Error-Notice: Undefined offset: 13
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 80PHP-Error-Notice: Undefined offset: 14
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 80PHP-Error-Notice: Undefined offset: 15
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 80PHP-Error-Notice: Undefined offset: 16
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 74PHP-Error-Notice: Use of undefined constant id - assumed ‚id‘
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 110PHP-Error-Notice: Use of undefined constant target - assumed ‚target‘
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 111PHP-Error-Notice: Undefined offset: 3
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 111PHP-Error-Notice: Use of undefined constant time1 - assumed ‚time1‘
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 112PHP-Error-Notice: Undefined offset: 4
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 112PHP-Error-Maximal ErrorCount exceeded for this Session --> Abort ProcessingAbort Processing during exceed of maximal ErrorCount: Undefined offset: 4
Error in Script C:\IP-Symcon\scripts\14803.ips.php on Line 112

Die Excel-Datei hast Du angepasst?

Die „Undefined offset: xx“ machen erst mal nix, das Skript läuft trotzdem. Das kannst Du dir auch noch anschauen

Das sind die zeilen im Skript wo er Fehler bringt und es läuft auch nicht.

  $newdata2 = $configTable[$y][$x];
  	if (!empty ($newdata2)) {
        $tmp  = explode("/", $newdata2);
			$daybefore  = mktime(0, 0, 0, intval($tmp[1])  , intval($tmp[0]-1), intval($tmp[2])); // Fix, das Ding liest 1 tag später aus
        // Ein Datum überschreibt das aktive Profil !
        if ($daybefore ==  mktime(0, 0, 0))  {
           $aktProfil = $newdata;
           $aktProfilReason = " in Excel an heutigem Datum gesetzt";
			}
     }
  }

}
}

// In IPS ein Override gesetzt ?
$VarID_fht_profileoverride = @IPS_GetVariableIDByName(„fht_profileoverride“,0);
if ( $VarID_fht_profileoverride > 0 ) {
$tmp = GetValueString ($VarID_fht_profileoverride);
if (in_array ($tmp, $profiles)) {
$aktProfil = $tmp;
$aktProfilReason = " in fht_profileoverride gesetzt";
}
}

// Room´s auslesen (ID setzen)
//echo "Rooms auslesen
"; //Kontrollausgabe
$newdata = „new“;$rooms = array();
for ($x=25; !empty ($newdata); $x++) {
$newdata = $configTable[$x][1];
if (!empty ($newdata)) {
$rooms[$newdata][id]= $configTable[$x][2];
$rooms[$newdata][target]= $configTable[$x][3];
$rooms[$newdata][time1]= $configTable[$x][4];
$rooms[$newdata][time2]= $configTable[$x][5];

och hier tut sich wieder was :slight_smile:

Der Fehler:
C:\IP-Symcon\scripts\Excel\reader.php on Line 262
sagts ja schon es kommt aus der reader.php in Zeile 262 halt. Das is ne Libary die ich damals auch irgendwo gefunden habe. Aber da ich gerade nicht sicher bin ob ich noch dieselbe Version etc. habe poste doch vielleicht wirklich mal besagte zeile deiner reader.php bzw. kleinen Ausschnitt drumherum.

Gruß,
Jan

P.s.: Die anderen Fehler sehen mir nach der ’ ’ Sache aus, besprochen auf Seite 8 :wink:

Der Fehler kommt nicht mehr

C:\IP-Symcon\scripts\Excel\reader.php on Line 262

Das andere hatte ich ja geschrieben, bzw. verlinkt, muss man nur umsetzen … :wink: