derDenty 0 Report post Posted June 4, 2004 Ich habe den Mod zuerst mit dem Modinstaller gemacht,da wurden mir nur Fehler angezeigt. Danach habe ich ihn manuell installiert Wenn ich nun im CPU Saving alle Häkchen für ja aktiviere,das ich sehen kann wer alles online war....öffnet sich mein Board nicht mehr und folgende Fehlermeldun wird angezeigt: Fatal error: Call to a member function on a non-object in /home/www/web168/html/board/sources/Boards.php on line 293 Wenn ich die Häkchen wieder entferne,dann geht alles wieder ganz normal. Woran kann das liegen? Hier der Bereich,wo der Fehler sein soll: // Are we viewing the calendar? //----------------------------------------------- if ($ibforums->vars['show_birthdays']) { $a = explode( ',', gmdate( 'Y,n,j,G,i,s', time() + $std->get_time_offset() ) ); $day = $a[2]; $month = $a[1]; $year = $a[0]; $birthstring = ""; $count = 0; $DB->query("SELECT id, name, bday_day as DAY, bday_month as MONTH, bday_year as YEAR FROM ibf_members WHERE bday_day=$day and bday_month=$month"); while ( $user = $DB->fetch_row() ) { $birthstring .= "<a href='{$this->base_url}showuser={$user['id']}'>{$user['name']}</a>"; if ($user['YEAR']) { $pyear = $year - $user['YEAR']; // $year = 2002 and $user['YEAR'] = 1976 $birthstring .= "(<b>$pyear</b>)"; } $birthstring .= $this->sep_char."\n"; $count++; } $birthstring = preg_replace( "/".$this->sep_char."$/", "", trim($birthstring) ); $lang = $ibforums->lang['no_birth_users']; if ($count > 0) { $lang = ($count > 1) ? $ibforums->lang['birth_users'] : $ibforums->lang['birth_user']; $stats_html .= $this->html->birthdays( $birthstring, $count, $lang ); } else { $count = ""; if ( ! $ibforums->vars['autohide_bday'] ) { $stats_html .= $this->html->birthdays( $birthstring, $count, $lang ); } } } //-- mod_wwo begin //*********************************************/ // Add in show online users today //*********************************************/ // Have we global permission ? if ($ibforums->vars['mod_wwo_show']){ // Has this user permission ? if ($ibforums->member['mod_wwo_g_online_info']) { $this->mod_wwo = $std->load_template('mod_wwo_skin'); global $mod_wwo; $stats_html .= $this->mod_wwo->whowasonline($mod_wwo->today()); } } //-- mod_wwo end //----------------------------------------------- // Are we viewing the calendar? //----------------------------------------------- if ($ibforums->vars['show_calendar' PS: Das Problem hatte ich im alten Bord nicht. Share this post Link to post
Helge 192 Report post Posted June 4, 2004 Hmm... Welche Zeile ist denn die Zeile mit dem Fehler? Ich vermute aber das du Irgendwo etwas nicht Richtig eingebaut hast oder sogar etwas vergessen hast, weil der Mod selbst hat keine Fehler, da ich den selbst auch einsetze weiß ich das. Achja, das ist wohl das Falsche Forum, gehört ja in die Modifikationen Deshalb verschoben... Share this post Link to post
derDenty 0 Report post Posted June 4, 2004 Jetzt gehts,habe per Modinstaller nochmals WWO installiert und danach alle manuell erstellten Dateien nochmal hochgeladen. Komisch,aber hauptsache es funzt. :rolleyes: Share this post Link to post