Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Jan 2015
    Location
    Pensacola Florida
    Posts
    24
    Plugin Contributions
    0

    Default Re: 1.56-.6B Change Sitemap XML Result File 404 error

    Thank you for the great explanation. It resolves the problem of the 404 and everything else seems to work fine.

    I made both changes you listed (adding sitemap folder with modified html_header.php and to main_template_vars.php). I tested first on the unmodified site to eliminate any of my template code changes adding a possible problem, it worked so then I went on and modified the actual site and it also worked.

    One thing I did notice (but I do not believe it is a problem to worry about) is the zcadditions.com code inserted prints out on the sitemap result page, is it supposed to?

  2. #12
    Join Date
    Jul 2012
    Posts
    14,077
    Plugin Contributions
    17

    Default Re: 1.56-.6B Change Sitemap XML Result File 404 error

    Quote Originally Posted by websmith View Post
    Thank you for the great explanation. It resolves the problem of the 404 and everything else seems to work fine.

    I made both changes you listed (adding sitemap folder with modified html_header.php and to main_template_vars.php). I tested first on the unmodified site to eliminate any of my template code changes adding a possible problem, it worked so then I went on and modified the actual site and it also worked.

    One thing I did notice (but I do not believe it is a problem to worry about) is the zcadditions.com code inserted prints out on the sitemap result page, is it supposed to?
    Always pays to read an entire post not just about the success at the top. :)

    The display of the code on the page has to do with its placement in the file. Since the code is php it should be enclosed in php tags:
    Code:
    <?php // php code in line(s) that follow 
    ?> //html code here
    It's not exactly bad that the code is displayed, but it isn't really good either especially with an outside "reader" trying to understand the importance of that information on the page... it kind of breaks up things...

    By the way, I had proposed a ZC code change to possibly catch a problem similar to this for a future release and it can be found: https://github.com/zencart/zencart/pull/2469
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Google sitemap 404 error
    By covone in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 2 Dec 2010, 05:58 PM
  2. XML Sitemap: Use Existing File
    By Yolanda in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 May 2010, 11:57 PM
  3. Sitemap XML - Google Error
    By kevinmc3 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 10 Jun 2009, 04:00 PM
  4. sitemap.xml error
    By abhishek77 in forum General Questions
    Replies: 3
    Last Post: 23 Oct 2008, 07:17 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