Results 1 to 3 of 3

Thread: Sitemap: invalid date

  1. #1
    Join Date
    Mar 2011
    Posts
    11

    Default Sitemap: invalid date

    Hello,

    Using vshare v.2.8.1

    When generating a sitemap from the admin section of vshare, then submitting "site.com/sitemap/sitemap_index.xml.gz" to google webmaster tools, google complains of an invalid date:
    "An invalid date was found. Please fix the date or formatting before resubmitting"

    The date on my server is showing the correct time - anyone else getting this or know a fix?

    Thanks.

  2. #2
    Join Date
    Mar 2011
    Posts
    11

    Default

    Also, as a related note.. google webmaster tools complains about the 3rd line in robots.txt:
    Sitemap: sitemap.xml

    Saying:
    Invalid sitemap URL detected; syntax not understood

  3. #3

    Default

    Hi,
    Quote Originally Posted by kprojects View Post
    Hello,

    Using vshare v.2.8.1

    When generating a sitemap from the admin section of vshare, then submitting "site.com/sitemap/sitemap_index.xml.gz" to google webmaster tools, google complains of an invalid date:
    "An invalid date was found. Please fix the date or formatting before resubmitting"

    The date on my server is showing the correct time - anyone else getting this or know a fix?

    Thanks.
    Open vShare/include/class.sitemap.php file and find
    Code:
    date('Y-m-d h:i:s', $sitemap_info['sitemap_create_date'])
    Replace with
    Code:
    date('c', $sitemap_info['sitemap_create_date'])
    Also, as a related note.. google webmaster tools complains about the 3rd line in robots.txt:
    Sitemap: sitemap.xml

    Saying:
    Invalid sitemap URL detected; syntax not understood
    Open vShare/robots.txt file and find
    Code:
    Sitemap: sitemap.xml
    Replace with
    Code:
    Sitemap: sitemap/sitemap_index.xml.gz
    Then create sitemap again.

    Thanks,

    Buyscripts Team.

Tags for this Thread

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
  •