Zero dupilcate MOD problem

Zero duplicate support forum.
Personalized HTTP 301 dynamic redirections.

Moderator: Moderators


Zero dupilcate MOD problem

Postby funwadi » Fri May 11, 2007 11:17 pm

Hello dcz,

I have already installed all your MODs except Sitemap MODs but i uninstalled every MOD of your's because i was facing one problem which is now solved. So than i started again installing all your MODs and i have almost installed every MOD and when i try to install back phpBB SEO Zero dupilcate - phpBB SEO Advanced mod Rewrite version
0.2.2 MOD so and when i go to www.funwadi.com/forum the site is opening but when i go into any topic it gives me this error

Fatal error: Call to undefined function: seo_start() in /home/traders/public_html/funwadi/forum/viewtopic.php on line 284

and my 284 line of viewtopic is

$phpbb_seo->seo_start( $start, $board_config['posts_per_page'] );

What to do now? Any idea Sir ?
funwadi
PR0
PR0
 
Posts: 53
Joined: Sun May 06, 2007 10:31 am
Location: UAE

Advertisement

Postby dcz » Sat May 12, 2007 9:12 am

Well, it's just the very last instruction in the zero dupe install, it's conditional to add the seo_start() method, as it could already be in phpbb_seo_class.php for other reasons.

This just mean you're in the case where you need to add it, so take a look again at the very last FIND :

Code: Select all
#
#-----[ FIND ]------------------------------------------
# Note : This particular replace may have already been performed
# If so, just skip this step

}
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
# Note : This particular replace may have already been performed
# If so, just skip this step

   /**
   * check start var consistency
   */
   function seo_start($start = 0, $limit = 0) {
      if ($limit > 0) {
         $start = ( is_int( $start/$limit ) ) ? $start : intval($start/$limit)*$limit;
         $this->start = ( $start > 0  ) ? $this->seo_static['start'] . $start : '';
      } else {
         $this->start = ( $start > 0  ) ? $this->seo_static['start'] . $start : '';
      }
   }

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


Will do it. Just make sure about headers returned ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Postby funwadi » Sat May 12, 2007 10:33 am

It's working Sir. Thanks a lot :) :) :)
funwadi
PR0
PR0
 
Posts: 53
Joined: Sun May 06, 2007 10:31 am
Location: UAE


Return to Zero duplicate phpBB2

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest


 
cron