MyXoops Forum

Forum - myXOOPS German Support

3 + 4 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Aw: XOOPsPOLL funktioniert nicht

Betreff: Aw: XOOPsPOLL funktioniert nicht
von Goffy am 12.03.2012 13:39:24

Hallo bulli

Soweit ich sehe, werden die Cookies nur von Zeile 81 der index.php eingelesen.

Versuch mal Zitat:
$voted_polls = (!empty($HTTP_COOKIE_VARS['voted_polls'])) ? $HTTP_COOKIE_VARS['voted_polls'] : array();
durch Zitat:
$voted_polls = array();
zu ersetzen.
Die Zeilen 89, 94, 99 und 104 Zitat:
setcookie("voted_polls[$poll_id]", 1, 0);
nimm mal mit Zitat:
//setcookie("voted_polls[$poll_id]", 1, 0);
raus und dann, teste, ob noch alles funktioniert.

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5332 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1818 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag