Skip to content
WJunction - Webmaster Forum

IPB Fatal error???

Status
Not open for further replies.
Hope someone can help, I installed en34-ajax thanks v1.0.7 and when I came to access my forum I got this: Fatal error: Class 'boardIndexRecentTopics' not found in /home/voidscri/public_html/hooks/tbGfActionBoardIndex_ea51a9563e3d1b6d818482cc52a32e3d.php on line 14

I don't know enough to solve this, my board is IP.Board 3.3.4
Please help..
 

15 comments

Right I'll try that.. thanks

---------- Post added at 01:29 AM ---------- Previous post was at 01:16 AM ----------

Didn't work mate, still getting same message???
 
from the error above i could see,
"Fatal error: Class 'boardIndexRecentTopics' not found"
do you have boardIndexRecentTopics module installed? if no, then comment this code!
cheers
 
It should. It will flush all hook data into the /hooks directory. Assuming the tbGfActionBoardIndex hook isn't corrupt in the database, it will be rewritten with correct code.
 
according to this "Fatal error: Class 'boardIndexRecentTopics' not found",
if we disable/comment this class that's all error is gone
 
just comment that "boardIndexRecentTopics" class code
or paste your code here
so that we can look in to

Here is the code:

PHP:
<?php /**  * (TB) Group Format  * @file        tbGfActionBoardIndex.php     Action overloader (public_forums_forums_boards)  *  * @copyright    (c) 2006 - 2012 Invision Byte  * @link        http://www.invisionbyte.net/  * @author        Terabyte  * @since        03/09/2009  * @updated        29/10/2011  * @version        4.1.1 (41001)  */ class tbGfActionBoardIndex extends boardIndexRecentTopics {     public function getTotalTextString()     {         if ( $this->settings['show_totals'] && is_array($this->caches['stats']) && $this->caches['stats']['last_mem_id'] )         {             if ( empty($this->caches['stats']['last_mem_group']) || $this->caches['stats']['tb_gf_update'] < IPS_UNIX_TIME_NOW )             {                 # Still here? No group ID or cache update (The cache updates each 15 minutes!)                 $groupFormat = $this->DB->buildAndFetch( array( 'select' => 'member_group_id',                                                                 'from'   => 'members',                                                                 'where'  => 'member_id='.intval($this->caches['stats']['last_mem_id'])                                                         )        );                 $this->caches['stats']['last_mem_group'] = intval($groupFormat['member_group_id']);                 $this->caches['stats']['tb_gf_update']   = IPS_UNIX_TIME_NOW + 900;                                  $this->cache->setCache( 'stats', $this->caches['stats'], array( 'array' => 1 ) );             }                          $this->caches['stats']['last_mem_name'] = IPSMember::makeNameFormatted( $this->caches['stats']['last_mem_name'], $this->caches['stats']['last_mem_group'] );         }                  return parent::getTotalTextString();     } }
 
You may have the wong version of the group format for your ipb version or a bad file in it. Disable the group format hook and see if the error goes away.



If yes then make sure you have the correct version of the hook or get a new file and make sure to read all information with the hook.
 
Lock Down that did the trick, can't thank you enough man, if I can ever help you in any way just say the word, also thanks to everyone else that posted in this thread, you guys rock.. :)
 
Status
Not open for further replies.

About the author

T
Active Member · Joined
Photography, Computers, Football
63
Messages
13
Reactions
8
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom