Results 1 to 4 of 4

Database error when running sitemap generator.

This is a discussion on Database error when running sitemap generator. within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; The SQL error: Code: Database error in vBulletin 3.8.1: Invalid SQL: SELECT COUNT(*) as cnt,max(lastpost) as lastupdate FROM vb_thread AS ...

  1. #1
    Junior Member
    Real Name
    Michael
    Join Date
    Mar 2009
    Posts
    6
    Liked
    0 times

    Database error when running sitemap generator.

    The SQL error:

    Code:
    Database error in vBulletin 3.8.1:
    
    Invalid SQL:
    
                           SELECT COUNT(*) as cnt,max(lastpost) as lastupdate
                           FROM vb_thread AS thread
                           INNER JOIN vb_tagthread AS tagthread ON
                                   (tagthread.tagid = 1 AND tagthread.threadid = thread.threadid)
                           WHERE thread.forumid IN()
                                   AND thread.visible = 1
                                   AND thread.sticky IN (0, 1)
                                   AND thread.open <> 10
                           GROUP BY tagthread.tagid;
    
    MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
                                   AND thread.visible = 1
                                   AND thread.sticky IN (0, ' at line 5
    Error Number  : 1064
    Request Date  : Friday, March 20th 2009 @ 09:03:45 PM
    Error Date    : Friday, March 20th 2009 @ 09:03:51 PM
    Script        : http://ploxage-scape.com/forums/vbseo_sitemap/vbseo_sitemap.php
    Referrer      : http://ploxage-scape.com/forums/vbseo_sitemap/index.php?rlist=true
    IP Address    : Hidden.
    Username      : Unregistered
    Classname     : vB_Database
    MySQL Version :

    Any advice?
    What to do?
    Where the problem is coming from?
    Thanks.

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    looks like akk your subforums are private (not visible to guests), so there are no (public) tags that could be included in sitemap. Also, that prevents search engines from indexing your forum, it's recommended to open forums for guests to let search engines find your content.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Junior Member
    Real Name
    Michael
    Join Date
    Mar 2009
    Posts
    6
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Hello,

    looks like akk your subforums are private (not visible to guests), so there are no (public) tags that could be included in sitemap. Also, that prevents search engines from indexing your forum, it's recommended to open forums for guests to let search engines find your content.
    What exact content should i reveal to guests?

    I made it so they can view thread/forum content and browse around it.

    I still get the same error when i try to generate a sitemap.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    I still get the same error when i try to generate a sitemap.
    Can you please provide ftp/admincp access via support ticket for troubleshooting?

    What exact content should i reveal to guests?
    Basically, the more threads content you reveal, the more visitors you can get from search engines.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Error whilst running sitemap generator
    By maksam in forum General Discussion
    Replies: 3
    Last Post: 10-07-2008, 10:23 PM
  2. Database error when running sitemap generator
    By Kaos in forum Troubleshooting
    Replies: 6
    Last Post: 08-22-2008, 06:13 PM
  3. Running Sitemap generator twice a day
    By newbuck in forum General Discussion
    Replies: 3
    Last Post: 07-07-2008, 07:26 PM
  4. Running sitemap generator gives database error
    By T2DMan in forum Troubleshooting
    Replies: 2
    Last Post: 07-01-2008, 09:39 AM
  5. Received error when running sitemap generator
    By POLiSH in forum General Discussion
    Replies: 6
    Last Post: 06-15-2008, 08:22 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
  •