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  
 
   
parse error unexpected T_DOUBLE_ARROW

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » phpBB3 SEO MODS
::  
Author Message
the0ne



Joined: 25 Oct 2006
Posts: 14

parse error unexpected T_DOUBLE_ARROWPosted: Tue Jul 03, 2007 3:49 pm    Post subject: parse error unexpected T_DOUBLE_ARROW

I have installed adv_phpbb3_mod_rewriteV0-2-0RC2a & phpBB3_no_dupeV0-2-0RC2 . It throws this error while trying to look @ the post or forum threads

Code:
Parse error: parse error, unexpected T_DOUBLE_ARROW in /home/content/s/a/i/saijogeorge/html/forum/viewforum.php on line 460



Code:
Parse error: parse error, unexpected T_DOUBLE_ARROW in /home/content/s/a/i/saijogeorge/html/forum/viewtopic.php on line 295


the code is -http://www.1800pocketpc.com/forum/viewforum.txt & -http://www.1800pocketpc.com/forum/viewtopic.txt
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14131

parse error unexpected T_DOUBLE_ARROWPosted: Tue Jul 03, 2007 6:12 pm    Post subject: Re: parse error unexpected T_DOUBLE_ARROW

In viewforum.php, you added :

Code:
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN
         'TOPIC_TITLE'      => (isset($phpbb_seo->seo_censored[$topic_id]) ) ? $phpbb_seo->seo_censored[$topic_id] : censor_text($row['topic_title']),
   // www.phpBB-SEO.com SEO TOOLKIT END


At the wrong place, right after :
Code:
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN
   if ( empty($phpbb_seo->seo_url['topic'][$row['topic_id']]) ) {
      $phpbb_seo->seo_censored[$row['topic_id']] = censor_text($row['topic_title']);
      $phpbb_seo->seo_url['topic'][$row['topic_id']] = $phpbb_seo->format_url($phpbb_seo->seo_censored[$row['topic_id']]);
   }
   // www.phpBB-SEO.com SEO TOOLKIT END


Same in viewtopic.hpp, you added :

Code:
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
   'U_PRINT_TOPIC'         => ($auth->acl_get('f_print', $forum_id)) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&start=$start&$u_sort_param&view=print" . (($highlight_match) ? "&hilit=$highlight" : '')) : '',
   // www.phpBB-SEO.com SEO TOOLKIT END

like if there was no FIND before the correspondng REPLACE WITH.

I suggest you re-mod these two files from scratch, changes are few.

++

_________________
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
the0ne



Joined: 25 Oct 2006
Posts: 14

parse error unexpected T_DOUBLE_ARROWPosted: Wed Jul 04, 2007 2:47 am    Post subject: Re: parse error unexpected T_DOUBLE_ARROW

thanks mate.. i had stuffed up... thanks again. will try to do it all over later tonight...cheerz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » phpBB3 SEO MODS
Page 1 of 1

Navigation Similar Topics

Jump to: