Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
derDenty

mod_wwo Fehler

Recommended Posts

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×