Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Aug 2009
    Location
    UK
    Posts
    71
    Plugin Contributions
    0

    Default Re: How Do I Get Rid Of Nofollow & NO Index tags?

    tried the debugger and got this error reported
    [24-Nov-2009 17:02:51] PHP Parse error: syntax error, unexpected $end in C:\wamp\www\zencart2\includes\templates\glacial_age\common\html_header.php on line 165
    LIne 165 is the blank line at the end of the file. 162/3/4 & 5 listed below!!
    ?>
    </head>
    <?php // NOTE: Blank line following is intended: ?>


    any ideas?

  2. #12
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How Do I Get Rid Of Nofollow & NO Index tags?

    "Unexpected $end" means you've got mismatched braces or brackets, presumably from "deleting the line" as you mentioned in an earlier post.

    I disagree with your statement that "I think it is better to have robots everywhere than no robots at all!!". That's overkill. Using the default Zen Cart code as distributed in the original files in the template_default folder will cause it to work optimally. There's no need to delete/comment anything about robots metatags.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Aug 2009
    Location
    UK
    Posts
    71
    Plugin Contributions
    0

    Default Re: How Do I Get Rid Of Nofollow & NO Index tags?

    I agree I do want it to work with the robot control functionality.
    The unexpected $end error is the one I get when I delete the 2 // as sugested in the zencart fix, not from deleing the lines of code.!!!

    any more insight?

  4. #14
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How Do I Get Rid Of Nofollow & NO Index tags?

    You shouldn't encounter any "Unexpected $end" errors if you make the change suggested earlier in this discussion, found here: http://www.zen-cart.com/forum/showth...513#post809513
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Index filters & meta tags
    By flashy275 in forum General Questions
    Replies: 0
    Last Post: 5 Jan 2011, 01:14 AM
  2. Home url is showing /index.php. How to get rid of it?
    By Sounpopular in forum General Questions
    Replies: 0
    Last Post: 18 Nov 2010, 05:34 PM
  3. How do I get rid of the advertisement on the bottom of my index.php page?
    By moonlight in forum Installing on a Windows Server
    Replies: 2
    Last Post: 17 Jan 2010, 12:50 AM
  4. Replies: 3
    Last Post: 9 Oct 2007, 04:05 PM
  5. Yellow & Orange Login Box:: Get Rid??
    By Linux in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 22 Jun 2007, 07:49 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR