[Typo3-UG Oesterreich] Probleme mit Typo 3.6.1 und Users Online Modul
Christian [SilentHardware.de]
christian at silenthardware.de
Mon May 24 19:03:32 CEST 2004
Hallo Typo3-Gemeinde,
seit einiger Zeit beschäftige ich mich mit Typo3 und habe auch vor in nächster Zeit mein Portal auf Typo umzustellen. Ein paar
Probleme tauchen aber erwartungsgemäß uaf, wie z.B. dieses. wofür ich leider auch selber keine Lösung mehr finde:
Ich verwende Typo3.6.1 und das "User Online" Modul kh_usersonline in der Version 0.2.0. Beim Aufruf der Seite bekomme ich allerdings
die Fehlermeldung:
Zitat:
Warning: Invalid argument supplied for foreach() in
/var/www/web1/html/typo/typo3conf/ext/kh_usersonline/pi1/class.tx_khusersonline_pi1.php on line 41
Die Konfiguration in meinem Template sieht folgendermaßen aus:
plugin.tx_khusersonline_pi1 {
# To get this plugin working just type in your
# template 'page.10 =< plugin.tx_khusersonline_pi1'.
# In 'text' and 'text.lang.xx' you can use
# ###GUESTS###, ###MEMBERS###, ###ALLUSERS###
# and ###USERTEXT###.
text (
There ###IS### ###GUESTS### ###GUEST###
and ###MEMBERS### ###MEMBER### online.
###USERTEXT###
)
text.lang.de (
Es ###IS### ###GUESTS### ###GUEST###
und ###MEMBERS### ###MEMBER### online.
###USERTEXT###
)
wordArray {
guests {
GUEST = guest|guests
GUEST.lang.de = Gast|Gäste
IS = is|are
IS.lang.de = ist|sind
}
members {
MEMBER = Member|Members
MEMBER.lang.de = Mitglied|Mitglieder
}
allusers {
USER = Visitor|Visitors
USER.lang.de = Besucher|Besucher
}
}
timeout = 15
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the -tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###content### subpart with some example content:
subparts.content_left < styles.content.getLeft
subparts.content_right < styles.content.getRight
subparts.content_border < styles.content.getBorder
subparts.content < styles.content.get
subparts.usersonline =< plugin.tx_khusersonline_pi1
}
...........
Ich habe keine Ahnung mehr, wo der Fehler liegen kann und hoffe, dass Ihr mir bei der Lösung weiterhelfen könnt.
Vielen Dank
Koyote
More information about the TYPO3-at
mailing list