$group=$group['ParentID'];
Danke RWN
Das klappt auch, nur deren Warnmeldungen hat es rund 15… er sagt auch variablen nicht definiert… auch wenn das Script funktioniert. Ich bin kein PHP Hirsch… aber so von .Net her scheint es vielleicht etwas mit Define explicit oder so in PHP zu geben wo ich global im Script sagen kann, dass ich die Var etc. nicht explizit definieren muss… denn das will er glaub ich in dem Script…
['ITEMS']
musst halt anpassen überall.
Moin,
ich habe das Script seit einiger Zeit im Einsatz.
Klappt wunderbar, ich bekome aber auch eine ganze Reihe von Meldungen im Log, die ich gerne wegbekommen würde.
Die knappen Hinweise von RWN haben mir leider nicht geholfen, ich würde mich über etwas detaillierte Hinweise zur Behebung freuen.
Meine Meldungen sehen so aus:
Datum/Zeit Versender Nachricht
21.03.2010 14:50:02 ExecuteThreadID #1 [.newsreader
ewsscript] =
Notice: Use of undefined constant ParentID - assumed ‚ParentID‘ in C:\IP-Symcon\scripts\27035.ips.php on line 28
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 180
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 182
Notice: Use of undefined constant TITLE - assumed ‚TITLE‘ in C:\IP-Symcon\scripts\27035.ips.php on line 182
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 185
Notice: Use of undefined constant LINK - assumed ‚LINK‘ in C:\IP-Symcon\scripts\27035.ips.php on line 185
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 188
Notice: Use of undefined constant DESCRIPTION - assumed ‚DESCRIPTION‘ in C:\IP-Symcon\scripts\27035.ips.php on line 188
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 191
Notice: Use of undefined constant PUBDATE - assumed ‚PUBDATE‘ in C:\IP-Symcon\scripts\27035.ips.php on line 191
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 194
Notice: Use of undefined constant GUID - assumed ‚GUID‘ in C:\IP-Symcon\scripts\27035.ips.php on line 194
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 180
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 182
Notice: Use of undefined constant TITLE - assumed ‚TITLE‘ in C:\IP-Symcon\scripts\27035.ips.php on line 182
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 185
Notice: Use of undefined constant LINK - assumed ‚LINK‘ in C:\IP-Symcon\scripts\27035.ips.php on line 185
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 188
Notice: Use of undefined constant DESCRIPTION - assumed ‚DESCRIPTION‘ in C:\IP-Symcon\scripts\27035.ips.php on line 188
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 191
Notice: Use of undefined constant PUBDATE - assumed ‚PUBDATE‘ in C:\IP-Symcon\scripts\27035.ips.php on line 191
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 194
Notice: Use of undefined constant GUID - assumed ‚GUID‘ in C:\IP-Symcon\scripts\27035.ips.php on line 194
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 180
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 182
Notice: Use of undefined constant TITLE - assumed ‚TITLE‘ in C:\IP-Symcon\scripts\27035.ips.php on line 182
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 185
Notice: Use of undefined constant LINK - assumed ‚LINK‘ in C:\IP-Symcon\scripts\27035.ips.php on line 185
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 188
Notice: Use of undefined constant DESCRIPTION - assumed ‚DESCRIPTION‘ in C:\IP-Symcon\scripts\27035.ips.php on line 188
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 191
Notice: Use of undefined constant PUBDATE - assumed ‚PUBDATE‘ in C:\IP-Symcon\scripts\27035.ips.php on line 191
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 194
Notice: Use of undefined constant GUID - assumed ‚GUID‘ in C:\IP-Symcon\scripts\27035.ips.php on line 194
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 180
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 182
Notice: Use of undefined constant TITLE - assumed ‚TITLE‘ in C:\IP-Symcon\scripts\27035.ips.php on line 182
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 185
Notice: Use of undefined constant LINK - assumed ‚LINK‘ in C:\IP-Symcon\scripts\27035.ips.php on line 185
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 188
Notice: Use of undefined constant DESCRIPTION - assumed ‚DESCRIPTION‘ in C:\IP-Symcon\scripts\27035.ips.php on line 188
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 191
Notice: Use of undefined constant PUBDATE - assumed ‚PUBDATE‘ in C:\IP-Symcon\scripts\27035.ips.php on line 191
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 194
Notice: Use of undefined constant GUID - assumed ‚GUID‘ in C:\IP-Symcon\scripts\27035.ips.php on line 194
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 180
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 182
Notice: Use of undefined constant TITLE - assumed ‚TITLE‘ in C:\IP-Symcon\scripts\27035.ips.php on line 182
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 185
Notice: Use of undefined constant LINK - assumed ‚LINK‘ in C:\IP-Symcon\scripts\27035.ips.php on line 185
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 188
Notice: Use of undefined constant DESCRIPTION - assumed ‚DESCRIPTION‘ in C:\IP-Symcon\scripts\27035.ips.php on line 188
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 191
Notice: Use of undefined constant PUBDATE - assumed ‚PUBDATE‘ in C:\IP-Symcon\scripts\27035.ips.php on line 191
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 194
Notice: Use of undefined constant GUID - assumed ‚GUID‘ in C:\IP-Symcon\scripts\27035.ips.php on line 194
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in C:\IP-Symcon\scripts\27035.ips.php on line 180
Notice: Use of unde
Du musst alles was er anmeckert in ’ ’ setzen.
diese Variable ist bei dir nicht definiert.
Notice: Undefined variable: nr_news in C:\IP-Symcon\scripts\27035.ips.php on line 155
Aahh - wenn man´s weiss versteht man auch die Meldungen
Wie muss ich denn die nr_news Variable definieren?
Ich hab das Script so kopiert wie es weiter vorne im Thread steht…
Für V2.2.
Zeile 153 einfügen:
$nr_news = "";
Aktuelle curl in den IPS ext Ordner kopieren.
php_curl.zip (137 KB)
Ich habe folgende Meldungen:
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 181
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 183
Notice: Use of undefined constant TITLE - assumed ‚TITLE‘ in E:\IP-Symcon\scripts
ewsscript.php on line 183
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 186
Notice: Use of undefined constant LINK - assumed ‚LINK‘ in E:\IP-Symcon\scripts
ewsscript.php on line 186
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 189
Notice: Use of undefined constant DESCRIPTION - assumed ‚DESCRIPTION‘ in E:\IP-Symcon\scripts
ewsscript.php on line 189
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 192
Notice: Use of undefined constant PUBDATE - assumed ‚PUBDATE‘ in E:\IP-Symcon\scripts
ewsscript.php on line 192
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 195
Notice: Use of undefined constant GUID - assumed ‚GUID‘ in E:\IP-Symcon\scripts
ewsscript.php on line 195
Notice: Undefined index: GUID in E:\IP-Symcon\scripts
ewsscript.php on line 195
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 181
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 183
Notice: Use of undefined constant TITLE - assumed ‚TITLE‘ in E:\IP-Symcon\scripts
ewsscript.php on line 183
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 186
Notice: Use of undefined constant LINK - assumed ‚LINK‘ in E:\IP-Symcon\scripts
ewsscript.php on line 186
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 189
Notice: Use of undefined constant DESCRIPTION - assumed ‚DESCRIPTION‘ in E:\IP-Symcon\scripts
ewsscript.php on line 189
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 192
Notice: Use of undefined constant PUBDATE - assumed ‚PUBDATE‘ in E:\IP-Symcon\scripts
ewsscript.php on line 192
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 195
Notice: Use of undefined constant GUID - assumed ‚GUID‘ in E:\IP-Symcon\scripts
ewsscript.php on line 195
Notice: Undefined index: GUID in E:\IP-Symcon\scripts
ewsscript.php on line 195
Notice: Use of undefined constant ITEMS - assumed ‚ITEMS‘ in E:\IP-Symcon\scripts
ewsscript.php on line 181
Kann mir jemand helfen, diese wegzubekommen.
Jetzt schon mal vielen Dank
Nix für ungut, aber wie wäre es denn, wenn Du dir den Thread mal richtig durchliest. Deine Fehler sind da schon x mal durchgekaut.
Hallo,
habe das script nach Anleitung installiert und angepasst.
Leider läuft es noch nicht:
Fatal error: Call to undefined function curl_init() in [WWW\Newsreader\Newsscript] on line 166
Irgendwas habe ich da falsch gemacht.
meine php.ini hat folgenden Inhalt:
max_execution_time=60
register_globals=on
error_reporting=E_ALL
extension_dir=C:\IP-Symcon\ext
extension = php_gd2.dll
extension = php_gettext.dll
extension = php_soap.dll
extension = php_curl.dll
[DATE]
date.timezone="Europe/Berlin"
Danke für einen Hinweis.
&&& Fehler erkannt, muste den Dienst stoppen und starten, nach Änderung der php.ini
Hast Du die richtige curl Version eingebunden. Sie mal in deinem Log nach.
Hallo,
kann mir hier jemand auf die Spünge helfen:
Fatal error: Uncaught Error: Cannot use string offset as an array in C:\IP-Symcon\scripts\28957.ips.php:182 Stack trace: #0 {main} thrown in C:\IP-Symcon\scripts\28957.ips.php on line 182
PHP-Error-Error: Uncaught Error: Cannot use string offset as an array in C:\IP-Symcon\scripts\28957.ips.php:182 Stack trace: #0 {main} thrown Error in Script C:\IP-Symcon\scripts\28957.ips.php on Line 182Abort Processing during Fatal-Error: Uncaught Error: Cannot use string offset as an array in C:\IP-Symcon\scripts\28957.ips.php:182 Stack trace: #0 {main} thrown Error in Script C:\IP-Symcon\scripts\28957.ips.php on Line 182
LG
Frank
Hi Frank!
Ich behaupte mal, dass das Script hier extrem veraltet ist und nicht mehr funktioniert. Aber hier im Forum finden sich einige Alternativen an Scripten bzgl. RSS. Einfach mal im Forum suchen
Viele Grüße,
Chris