Results 1 to 5 of 5

Installed Sitemap Generator - Keep getting database errors when trying to generate my f

This is a discussion on Installed Sitemap Generator - Keep getting database errors when trying to generate my f within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I am trying to run the vBSEO Sitemap Generator for the first time on my forum, and it keeps causing ...

  1. #1
    Member
    Real Name
    Daniel
    Join Date
    Nov 2006
    Location
    Seattle, WA
    Posts
    65
    Liked
    1 times

    Installed Sitemap Generator - Keep getting database errors when trying to generate my f

    I am trying to run the vBSEO Sitemap Generator for the first time on my forum, and it keeps causing a database error when the generator finishes the first sitemap file and starts the second one.

    This is the error:
    Code:
    Database error in vBulletin 3.8.6:
    
    Invalid SQL:
    
                        SELECT p.dateline,p.postid,p.threadid
                        FROM post AS p
                        WHERE p.threadid = 34551
                            AND visible = 1
                        ORDER BY p.dateline;
    
    MySQL Error   : MySQL server has gone away
    I increased my wait_timeout variable to 90 seconds and the same error happens.

    I commented the following out of my vbseo.php file:
    Code:
     vbseo_close_db();
    And the same error happens.

    Within my Sitemap settings, I increased the "Delay Execution After Each Sitemap File" to 30, 60, and 90 - and none of those changes corrected this.

    Please advise. What else can I do to generate a sitemap?

    I'm running vBulletin 3.8.6 with vBSEO 3.5.2 and Sitemap Generator 2.5

  2. #2
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello Daniel,

    How many URLs are you including on each sitemap?.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  3. #3
    Member
    Real Name
    Daniel
    Join Date
    Nov 2006
    Location
    Seattle, WA
    Posts
    65
    Liked
    1 times
    I'm including 30,000 URL's for each sitemap.

    I just changed the "Delay Execution After Each Sitemap File" variable to "0" and it ran just fine. I usually always have this set to 20 but for some reason, setting it back to 0 worked great. Go figure.

    Thanks.

  4. #4
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Great! . Don't forget to only include forumdisplay, showthread, CMS and blogs pages (if apply) within your sitemaps.

    Best regards.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  5. #5
    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
    "mysql gone away" errors refer to the wait_timeout setting in /etc/my.cnf I would suggest a setting of around 180, and play with it up or down from there to match your server speeds and site needs.

Similar Threads

  1. Replies: 1
    Last Post: 07-21-2010, 04:48 AM
  2. vBulletin 4.x vbseo sitemap generator don't want to generate database problem?
    By MayanForum.net in forum Troubleshooting
    Replies: 7
    Last Post: 05-06-2010, 04:12 PM
  3. vBulletin 3.x Sitemap Generator Database error =.= HELP PLS
    By angelvn in forum Troubleshooting
    Replies: 8
    Last Post: 02-20-2010, 10:09 AM
  4. Database error when running sitemap generator.
    By Lilmikeishere in forum Troubleshooting
    Replies: 3
    Last Post: 03-22-2009, 09:32 AM
  5. Replies: 18
    Last Post: 09-10-2008, 04:39 PM

Posting Permissions

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