phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Zero dupilcate MOD problem

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » Zero duplicate
::  
Author Message
funwadi
PR0
PR0


Joined: 06 May 2007
Posts: 51
Location: UAE

Zero dupilcate MOD problemPosted: Fri May 11, 2007 11:17 pm    Post subject: Zero dupilcate MOD problem

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 ?
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13031

Zero dupilcate MOD problemPosted: Sat May 12, 2007 9:12 am    Post subject: Re: Zero dupilcate MOD problem

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:
#
#-----[ 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 Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
funwadi
PR0
PR0


Joined: 06 May 2007
Posts: 51
Location: UAE

Zero dupilcate MOD problemPosted: Sat May 12, 2007 10:33 am    Post subject: Re: Zero dupilcate MOD problem

It's working Sir. Thanks a lot Smile Smile Smile
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » Zero duplicate
Page 1 of 1

Navigation Similar Topics

Jump to: