Guest Posted February 15, 2009 Share Posted February 15, 2009 After installing Header tags SEO from Header tags 2.6.2 up to Header tags SEO version 3.0.9 I have the following Parse error on the home page. Your help is higly appreciated Rene Parse error: syntax error, unexpected T_CASE in /www/t/u/b/tube-fidelity.com/public_html/includes/header_tags.php on line 159 public_html/includes/header_tags.php if ($insertPoint == 0) $insertPoint = $idx; } // advanced_search_result.php case (strstr($_SERVER['PHP_SELF'],FILENAME_ADVANCED_SEARCH_RESULT) or strstr($PHP_SELF,FILENAME_ADVANCED_SEARCH_RESULT)): Line 159 $header_tags_array = tep_header_tag_page(FILENAME_ADVANCED_SEARCH_RESULT); break; // advanced_search.php case (strstr($_SERVER['PHP_SELF'],FILENAME_ADVANCED_SEARCH) or strstr($PHP_SELF,FILENAME_ADVANCED_SEARCH)): $header_tags_array = tep_header_tag_page(FILENAME_ADVANCED_SEARCH); break; Quote Link to comment Share on other sites More sharing options...
satish Posted February 15, 2009 Share Posted February 15, 2009 case (strstr($_SERVER['PHP_SELF'],FILENAME_ADVANCED_SEARCH_RESULT) or strstr($PHP_SELF,FILENAME_ADVANCED_SEARCH_RESULT)): Line 159 replace with $page = strstr($PHP_SELF,FILENAME_ADVANCED_SEARCH_RESULT)); and echo $page. case $page: and chek this might clear or help in analysing further. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Guest Posted February 15, 2009 Share Posted February 15, 2009 case (strstr($_SERVER['PHP_SELF'],FILENAME_ADVANCED_SEARCH_RESULT) or strstr($PHP_SELF,FILENAME_ADVANCED_SEARCH_RESULT)): Line 159 replace with $page = strstr($PHP_SELF,FILENAME_ADVANCED_SEARCH_RESULT)); and echo $page. case $page: and chek this might clear or help in analysing further. Satish Thank you very much for your help. I now have the following error: Fatal error: Call to undefined function tep_get_defined_content() in /www/t/u/b/tube-fidelity.com/public_html/includes/header.php on line 61 </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td align="right" class="headerNavigation"><a href="java script:window.external.AddFavorite(location.href,document.title);" class="headerNavigation"><?php echo BOX_HEADER_ADDFAVORITE; ?></a> </td> </tr> <?php echo tep_get_defined_content('Page Header'); ?> Line 61 <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> <td align="right" class="headerNavigation"> | Quote Link to comment Share on other sites More sharing options...
satish Posted February 15, 2009 Share Posted February 15, 2009 <?php echo tep_get_defined_content('Page Header'); ?> chek that You have this tep_get_defined_content function included. One of Your contribution has this. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Guest Posted February 15, 2009 Share Posted February 15, 2009 <?php echo tep_get_defined_content('Page Header'); ?> chek that You have this tep_get_defined_content function included. One of Your contribution has this. Satish Dear Satish, Thank you for your information. De you mean by your answer that I should have installed a contribution where a file called Page Header is included? Rene Quote Link to comment Share on other sites More sharing options...
Guest Posted February 15, 2009 Share Posted February 15, 2009 Dear Satish,Thank you for your information. De you mean by your answer that I should have installed a contribution where a file called Page Header is included? Rene I have deleted line 61 from public_html/includes/header.php It now seem to work fine. I hope it is the solution Rene <?php echo tep_get_defined_content('Page Header'); ?> Line 61 Quote Link to comment Share on other sites More sharing options...
satish Posted February 16, 2009 Share Posted February 16, 2009 Well but hat might just not generate the required meta tag value. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.