Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2017
    Location
    London
    Posts
    3
    Plugin Contributions
    0

    Default Item page keeps linking to Site Map

    The item page of my site keeps linking to the site map on mobile while everything is ok on the desktop. I have searched the forum endlessly without any solution to the problem. My site is www.bnscleaningservices.co.uk
    I will appreciate any help to solve this problem. Thanks

  2. #2
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Item page keeps linking to Site Map

    This issue is somewhat incorrectly explained as to what is being seen. The content presented at least from a mobile device is not the sitemap but instead a failed attempt to render the normal page content. There is a full page's worth of html in the source code, but it does not pass validation and apparently has some major errors in it.

    Now, the html validator was unable to directly review the page possibly because of some htaccess rule or something but I was able to copy and paste the html source code into the validator and at least came up with the following though I would guess there are more issues but they were silenced:

    Code:
    Error: Bad value includes/templates/bns_template/images/Oficce Cleaning London.gif for attribute src on element img: Illegal character in path segment: space is not allowed.
    From line 285, column 64; to line 285, column 229
    s.co.uk/"><img src="includes/templates/bns_template/images/Oficce Cleaning London.gif" alt="Office Cleaning London" title=" Office Cleaning London " width="1050" height="80" /></a>  
    Error: The font element is obsolete. Use CSS instead.
    From line 287, column 1; to line 287, column 22
    v>↩</div>↩<font color="#00A544"><b><ce
    Error: Element center not allowed as child of element b in this context. (Suppressing further errors from this subtree.)
    From line 287, column 26; to line 287, column 33
    0A544"><b><center>Call  
    Content model for element b:
    Phrasing content.
    Error: The center element is obsolete. Use CSS instead.
    From line 287, column 26; to line 287, column 33
    0A544"><b><center>Call  
    Error: The align attribute on the div element is obsolete. Use CSS instead.
    From line 291, column 1; to line 291, column 19
    d time-->↩<div align="right">↩Welco
    Error: Stray end tag form.
    From line 296, column 830; to line 296, column 836
    Search" /></form></div>
    Error: The frameborder attribute on the iframe element is obsolete. Use CSS instead.
    From line 387, column 68; to line 389, column 71
    dContent"><iframe frameborder="0" scrolling="no" allowTransparency="true" width="250" height="120"↩src="https://cdn.yoshki.com/badge-bics.html"↩style="border:0px;margin:0px;padding:0px;backgroundColor:transparent;"></ifra
    Error: The scrolling attribute on the iframe element is obsolete. Use CSS instead.
    From line 387, column 68; to line 389, column 71
    dContent"><iframe frameborder="0" scrolling="no" allowTransparency="true" width="250" height="120"↩src="https://cdn.yoshki.com/badge-bics.html"↩style="border:0px;margin:0px;padding:0px;backgroundColor:transparent;"></ifra
    Error: The allowtransparency attribute on the iframe element is obsolete. Use CSS instead.
    From line 387, column 68; to line 389, column 71
    dContent"><iframe frameborder="0" scrolling="no" allowTransparency="true" width="250" height="120"↩src="https://cdn.yoshki.com/badge-bics.html"↩style="border:0px;margin:0px;padding:0px;backgroundColor:transparent;"></ifra
    Error: No li element in scope but a li end tag seen.
    From line 703, column 5; to line 703, column 9
    </ul>↩    </li>↩↩↩   
    Error: Element li not allowed as child of element nav in this context. (Suppressing further errors from this subtree.)
    From line 706, column 5; to line 706, column 25
    li>↩↩↩    <li id="menu-search"><form 
    Contexts in which element li may be used:
    Inside ol elements.
    Inside ul elements.
    Content model for element nav:
    Flow content, but with no main element descendants.
    Error: Stray end tag ul.
    From line 708, column 3; to line 708, column 7
    ></li>↩↩  </ul>↩</nav
    Warning: Element name fb:like cannot be represented as XML 1.0.
    From line 784, column 1; to line 784, column 51
    /script>↩↩<fb:like send="true" width="450" show_faces="true"></fb:l
    Error: Element fb:like not allowed as child of element body in this context. (Suppressing further errors from this subtree.)
    From line 784, column 1; to line 784, column 51
    /script>↩↩<fb:like send="true" width="450" show_faces="true"></fb:l
    Apparently also, some html got caught up in my copy and paste of the screen contents. Hope that the necessary parts are legible within.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jun 2017
    Location
    London
    Posts
    3
    Plugin Contributions
    0

    Default Re: Item page keeps linking to Site Map

    Quote Originally Posted by mc12345678 View Post
    This issue is somewhat incorrectly explained as to what is being seen. The content presented at least from a mobile device is not the sitemap but instead a failed attempt to render the normal page content. There is a full page's worth of html in the source code, but it does not pass validation and apparently has some major errors in it.

    Now, the html validator was unable to directly review the page possibly because of some htaccess rule or something but I was able to copy and paste the html source code into the validator and at least came up with the following though I would guess there are more issues but they were silenced:

    Code:
    Error: Bad value includes/templates/bns_template/images/Oficce Cleaning London.gif for attribute src on element img: Illegal character in path segment: space is not allowed.
    From line 285, column 64; to line 285, column 229
    s.co.uk/"><img src="includes/templates/bns_template/images/Oficce Cleaning London.gif" alt="Office Cleaning London" title=" Office Cleaning London " width="1050" height="80" /></a>  
    Error: The font element is obsolete. Use CSS instead.
    From line 287, column 1; to line 287, column 22
    v>↩</div>↩<font color="#00A544"><b><ce
    Error: Element center not allowed as child of element b in this context. (Suppressing further errors from this subtree.)
    From line 287, column 26; to line 287, column 33
    0A544"><b><center>Call  
    Content model for element b:
    Phrasing content.
    Error: The center element is obsolete. Use CSS instead.
    From line 287, column 26; to line 287, column 33
    0A544"><b><center>Call  
    Error: The align attribute on the div element is obsolete. Use CSS instead.
    From line 291, column 1; to line 291, column 19
    d time-->↩<div align="right">↩Welco
    Error: Stray end tag form.
    From line 296, column 830; to line 296, column 836
    Search" /></form></div>
    Error: The frameborder attribute on the iframe element is obsolete. Use CSS instead.
    From line 387, column 68; to line 389, column 71
    dContent"><iframe frameborder="0" scrolling="no" allowTransparency="true" width="250" height="120"↩src="https://cdn.yoshki.com/badge-bics.html"↩style="border:0px;margin:0px;padding:0px;backgroundColor:transparent;"></ifra
    Error: The scrolling attribute on the iframe element is obsolete. Use CSS instead.
    From line 387, column 68; to line 389, column 71
    dContent"><iframe frameborder="0" scrolling="no" allowTransparency="true" width="250" height="120"↩src="https://cdn.yoshki.com/badge-bics.html"↩style="border:0px;margin:0px;padding:0px;backgroundColor:transparent;"></ifra
    Error: The allowtransparency attribute on the iframe element is obsolete. Use CSS instead.
    From line 387, column 68; to line 389, column 71
    dContent"><iframe frameborder="0" scrolling="no" allowTransparency="true" width="250" height="120"↩src="https://cdn.yoshki.com/badge-bics.html"↩style="border:0px;margin:0px;padding:0px;backgroundColor:transparent;"></ifra
    Error: No li element in scope but a li end tag seen.
    From line 703, column 5; to line 703, column 9
    </ul>↩    </li>↩↩↩   
    Error: Element li not allowed as child of element nav in this context. (Suppressing further errors from this subtree.)
    From line 706, column 5; to line 706, column 25
    li>↩↩↩    <li id="menu-search"><form 
    Contexts in which element li may be used:
    Inside ol elements.
    Inside ul elements.
    Content model for element nav:
    Flow content, but with no main element descendants.
    Error: Stray end tag ul.
    From line 708, column 3; to line 708, column 7
    ></li>↩↩  </ul>↩</nav
    Warning: Element name fb:like cannot be represented as XML 1.0.
    From line 784, column 1; to line 784, column 51
    /script>↩↩<fb:like send="true" width="450" show_faces="true"></fb:l
    Error: Element fb:like not allowed as child of element body in this context. (Suppressing further errors from this subtree.)
    From line 784, column 1; to line 784, column 51
    /script>↩↩<fb:like send="true" width="450" show_faces="true"></fb:l
    Apparently also, some html got caught up in my copy and paste of the screen contents. Hope that the necessary parts are legible within.
    Hello mc12345678
    Thanks so much for your help in looking up the code and finding the errors, however, am just at a lost in solving the problem. Please do you know which file(s) to edit or what i need to do to solve the problem?
    Looking forward to hearing from you.
    Thanks again

 

 

Similar Threads

  1. v155 Item page goes to site map on mobile
    By hflsales in forum General Questions
    Replies: 7
    Last Post: 11 Jul 2017, 12:39 PM
  2. Site map page?
    By david52 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Aug 2011, 11:47 PM
  3. Remove item from Site Map
    By balloondude in forum General Questions
    Replies: 4
    Last Post: 31 May 2009, 04:17 AM
  4. broken site map page
    By mrmeech in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Jun 2007, 06:25 PM

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