Results 1 to 4 of 4

Problem with sitemap

This is a discussion on Problem with sitemap within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Hello, I just checked in WT and my sitemaps have error. When I try to open them directly I get ...

  1. #1
    Senior Member
    Real Name
    Darko
    Join Date
    Apr 2009
    Posts
    167
    Liked
    0 times

    Problem with sitemap

    Hello,

    I just checked in WT and my sitemaps have error. When I try to open them directly I get this error in browser:

    XML Parsing error: No element found
    Location: http://mysite/sitemap_1.xml.gz
    Line Number 1, Column 1:


    ------------------------------
    and after second get me to this message:
    ------------------------------------
    Content Encoding Error


    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.



    I just moved to new server and it doesn't work there while it work on old one.. What can be problem? What I am missing?

  2. #2
    Senior Member
    Real Name
    Darko
    Join Date
    Apr 2009
    Posts
    167
    Liked
    0 times
    I contact my new host and they said there is gzip on server and it is not a problem.
    This is answer from them:

    The problem isn't with gzip, rather it looks like whatever is being used to generate this gzip file is putting html at the top of the file, which will break the gzip file. In particular, it looks like the script used to generate the sitemap is producing an error. See below.

    mstandley@dell-desktop:~$ cat sitemap_1.xml.gz | head -n2

    Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/serbian1/public_html/vbseo_sitemap/vbseo_getsitemap.php on line 70

    If I manually remove those lines, the resulting file is a valid gzip archive. So correcting the code that causes that warning to be displayed should fix your problem.

  3. #3
    Senior Member
    Real Name
    Darko
    Join Date
    Apr 2009
    Posts
    167
    Liked
    0 times
    It looks that host managed to make it work

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    If you are on php 5.3, you will need to edit the script as this post describes:
    vBSEO Sitemap 2.5: PHP Deprecated: Function set_magic_quotes_runtime() is deprecated

Similar Threads

  1. Sitemap problem
    By zems in forum Troubleshooting
    Replies: 18
    Last Post: 04-29-2009, 04:59 AM
  2. Sitemap Problem ?
    By [KAPLAN] in forum General Discussion
    Replies: 2
    Last Post: 08-21-2008, 09:41 AM
  3. Sitemap Problem
    By sokorelis in forum Troubleshooting
    Replies: 13
    Last Post: 02-22-2008, 12:49 PM
  4. Sitemap problem
    By networktemple in forum Troubleshooting
    Replies: 1
    Last Post: 06-20-2007, 10:03 PM
  5. Problem with Sitemap!
    By MUAHHH in forum Troubleshooting
    Replies: 7
    Last Post: 05-03-2007, 04:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •