Bug Tracking


 
 

Zu Fehlernotizen springen   Zur Fehlerhistorie springen   Drucken   vorherige Seite nächste Seite
 
ID Kategorie Version Auswirkung Reproduzierbar Meldungsdatum Letzte Aktualisierung
1130 [openPHPnuke] Core opn 2.4.x Kleiner Fehler Immer 17.08.2008 14:11:46 17.08.2008 14:51:09
 
Reporter xxxxxx
Status anzeigen Öffentlich
Bearbeitung durch stefan
Priorität Normal
Lösung Behoben
Status Behoben
...
Projektion Keine
Aufwand Keiner
...
Zusammenfassung Modul Tutorial, zwei kleine Fehler
Beschreibung 1) Fehler in SQL-String:
xxx/opn2/modules/tutorial/plugin/sidebox/assoctopicstut/main.php
Zeile 28: $t_result = &$opnConfig['database']->Execute ('SELECT topicid, topicimage, topictext, pid FROM ' . $opnTables['tutorial_topics'] . ' WHERE WHERE user_group IN (' . $checkerlist . ')');

Zwei Mal „WHERE“ in SQL-String

2) Initialisierung von Variable fehlt:
xxx/opn2/modules/tutorial/tutorial_func.php
Zeile 421: $data_tpl['showcatlink'] = $tut_options['showcatlink'];

$tut_options['showcatlink'] nicht definiert.

Mögliche Lösung:

Habe folgenden mit ### markierten Code ab Zeile 106 hinzugefügt:

if ( ($tut_options === false) OR (!is_array ($tut_options) ) ) {
$tut_options = array ();
$tut_options['docenterbox'] = 0;
$tut_options['dothetitle'] = 1;
$tut_options['dothetitle_max'] = 0;
$tut_options['dothebody'] = 0;
$tut_options['dothebody_max'] = 0;
$tut_options['dothefooter'] = 1;
$tut_options['dothefooter_max'] = 0;
$tut_options['showtopic'] = 1;
$tut_options['showfulllink'] = 0;
### GREGOR
$tut_options['showcatlink'] = 0;
###
} else {
if (!isset ($tut_options['docenterbox']) ) {
$tut_options['docenterbox'] = 0;
}
if (!isset ($tut_options['dothetitle']) ) {
$tut_options['dothetitle'] = 1;
}
if (!isset ($tut_options['dothetitle_max']) ) {
$tut_options['dothetitle_max'] = 0;
}
if (!isset ($tut_options['dothebody']) ) {
$tut_options['dothebody'] = 0;
}
if (!isset ($tut_options['dothebody_max']) ) {
$tut_options['dothebody_max'] = 0;
}
if (!isset ($tut_options['dothefooter']) ) {
$tut_options['dothefooter'] = 1;
}
if (!isset ($tut_options['dothefooter_max']) ) {
$tut_options['dothefooter_max'] = 0;
}
if (!isset ($tut_options['showtopic']) ) {
$tut_options['showtopic'] = 1;
}
if (!isset ($tut_options['showfulllink']) ) {
$tut_options['showfulllink'] = 0;
}
### GREGOR
if (!isset ($tut_options['showcatlink']) ) {
$tut_options['showcatlink'] = 0;
}
###
}

Schritte zur Reproduzierung In der Labor reproduzierbar
Zusätzliche Information Hallo,

ich habe diesen Bug bereits als E-Mail an Stefan geschickt. Habe jetzt erst durch Spinne den BugTracker gefunden.

Gruß,
Gregor
 
Fehlernotiz
stefan
17.08.2008 14:51:09
Wurde in Revision 2205 Trunk korrigiert

Danke

Fehlerhistorie
Änderungsdatum Benutzername Feld Änderung
17.08.2008 14:51:09 stefan Status Zugewiesen => Behoben
17.08.2008 14:51:09 stefan Behoben in Version => opn 2.4.x
17.08.2008 14:51:09 stefan Lösung Offen => Behoben
17.08.2008 14:51:09 stefan Fehlernotiz hinzugefügt: 1856  
17.08.2008 14:50:18 stefan Bearbeitung durch => stefan
17.08.2008 14:50:18 stefan Status Neu => Zugewiesen
17.08.2008 14:12:18 xxxxxx Fehler beobachten: xxxxxx  
17.08.2008 14:11:46 xxxxxx Neuer Fehler  


 
Ladezeit 0.07967 Sekunden