Page 1 of 2 1 2 LastLast
Results 1 to 15 of 25

Links not working after site transfer

This is a discussion on Links not working after site transfer within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hi I transfered my site from one server to a new one last night and repointed the domain to the ...

  1. #1
    Junior Member Array
    Real Name
    Britmovie
    Join Date
    Apr 2008
    Posts
    20
    Liked
    0 times

    Links not working after site transfer

    Hi I transfered my site from one server to a new one last night and repointed the domain to the new one. I had to turn VBSEO off as on the new transfered site the post links didnt work with it on. Is the something I need to run etc after transfering the site
    Home || site frontpage

  2. #2
    Junior Member Array
    Real Name
    Britmovie
    Join Date
    Apr 2008
    Posts
    20
    Liked
    0 times

    Got this

    Database error in vBulletin 3.8.0 Beta 1:
    Invalid SQL:
    SELECT count(*)as cnt,max(dateline) as lastupdate
    FROM vb_groupmessage
    WHERE groupid='4';
    MySQL Error : Unknown column 'groupid' in 'where clause'
    Error Number : 1054
    Request Date : Saturday, November 1st 2008 @ 06:55:39 AM
    Error Date : Saturday, November 1st 2008 @ 06:55:42 AM
    Script : Log in - British Film and cinema forum - vBulletin Admin Control Panel
    Referrer : Log in - British Film and cinema forum - vBulletin Admin Control Panel
    IP Address : 81.79.163.188
    Username : Britmovie
    Classname : vB_Database
    MySQL Version : 5.0.45

    When i tried to run a sitemap update i got this....i think its a reinstall job?

  3. #3
    vBSEO.com Webmaster Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    722 times
    Blog Entries
    4
    Make sure you uploaded vBSEO .htaccess to your forum root and your server supports mod_rewrite

    For the second problem
    find this in vbseo_sitemap_functions.php file:
    PHP Code:
                 $tcount $db->query_first("
                     SELECT count(*)as cnt,max(dateline) as lastupdate
                     FROM " 
    TABLE_PREFIX "groupmessage
                     WHERE groupid='
    $rrow[groupid]'
                 "
    ); 
    replace with
    PHP Code:
                 $tcount $db->query_first("
                     SELECT count(*)as cnt,max(dateline) as lastupdate
                     FROM " 
    TABLE_PREFIX "groupmessage AS groupmessage
                     LEFT JOIN " 
    TABLE_PREFIX "discussion AS discussion ON (groupmessage.discussionid = discussion.discussionid)
                     WHERE discussion.groupid='
    $rrow[groupid]'
                 "
    ); 
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  4. #4
    Junior Member Array
    Real Name
    Britmovie
    Join Date
    Apr 2008
    Posts
    20
    Liked
    0 times

    No I still get this

    [SECTION START] showthread [5,855.4Kb mem used] [1,841,929s (+1,841,929s)]
    [archive homepage] [5,940.2Kb mem used] [1,841,931s (+2s)]
    [SECTION START] forumdisplay archived [5,941.1Kb mem used] [1,841,931s (+0s)]
    [SECTION START] member [5,967.8Kb mem used] [1,841,931s (+0s)]
    [SECTION START] polls [6,334.3Kb mem used] [1,841,931s (+0s)]
    [SECTION START] blogs [6,341.3Kb mem used] [1,841,931s (+0s)]
    [SECTION START] albums [6,380.5Kb mem used] [1,841,931s (+0s)]
    [SECTION START] groups [6,382.6Kb mem used] [1,841,931s (+0s)]
    Database error


    Database error in vBulletin 3.8.0 Beta 1:
    Invalid SQL:
    SELECT count(*)as cnt,max(dateline) as lastupdate
    FROM vb_groupmessage
    WHERE groupid='4';
    MySQL Error : Unknown column 'groupid' in 'where clause'
    Error Number : 1054
    Request Date : Saturday, November 1st 2008 @ 02:43:46 PM
    Error Date : Saturday, November 1st 2008 @ 02:43:48 PM
    Script : Log in - British Film and cinema forum - vBulletin Admin Control Panel
    Referrer : Log in - British Film and cinema forum - vBulletin Admin Control Panel
    IP Address : 81.79.163.188
    Username : Britmovie
    Classname : vB_Database
    MySQL Version : 5.0.45

  5. #5
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    Looks like you did not apply code modification as described above, you still have an old db query there:
    Code:
    Invalid SQL:
    SELECT count(*)as cnt,max(dateline) as lastupdate
    FROM vb_groupmessage
    WHERE groupid='4';
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  6. #6
    Junior Member Array
    Real Name
    Britmovie
    Join Date
    Apr 2008
    Posts
    20
    Liked
    0 times

    It was done?

    Hi I did replace the code with the code supplied but it did not do anything at all so I reverted the file back to the existing file?

  7. #7
    Junior Member Array
    Real Name
    Britmovie
    Join Date
    Apr 2008
    Posts
    20
    Liked
    0 times
    Quote Originally Posted by Mert Gökçeimam View Post
    Make sure you uploaded vBSEO .htaccess to your forum root and your server supports mod_rewrite

    For the second problem
    find this in vbseo_sitemap_functions.php file:
    PHP Code:
                 $tcount $db->query_first("
                     SELECT count(*)as cnt,max(dateline) as lastupdate
                     FROM " 
    TABLE_PREFIX "groupmessage
                     WHERE groupid='
    $rrow[groupid]'
                 "
    ); 
    replace with
    PHP Code:
                 $tcount $db->query_first("
                     SELECT count(*)as cnt,max(dateline) as lastupdate
                     FROM " 
    TABLE_PREFIX "groupmessage AS groupmessage
                     LEFT JOIN " 
    TABLE_PREFIX "discussion AS discussion ON (groupmessage.discussionid = discussion.discussionid)
                     WHERE discussion.groupid='
    $rrow[groupid]'
                 "
    ); 
    ====================
    Sorry this didnt work?

  8. #8
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    Hello,

    that code modification should resolve database error that is mentioned in post #2, which is related to vBSEO Sitemap Generator.
    The issue described in post #1 is not related to it, what exactly is the error you get with vBSEO enabled?
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  9. #9
    Junior Member Array
    Real Name
    Britmovie
    Join Date
    Apr 2008
    Posts
    20
    Liked
    0 times
    The link problem was solved I just reinstalled and it worked great.
    The sitemap doesnt generate and gives

    Code:
    vBSEO Sitemap Generator 
    [SECTION START] showthread [6,321.1Kb mem used] [1,937,610s (+1,937,610s)]
    [archive homepage] [6,430.1Kb mem used] [1,937,611s (+1s)]
    [SECTION START] forumdisplay archived [6,431.1Kb mem used] [1,937,611s (+0s)]
    [SECTION START] member [6,457.0Kb mem used] [1,937,611s (+0s)]
    [SECTION START] polls [6,825.8Kb mem used] [1,937,611s (+0s)]
    [SECTION START] blogs [6,832.9Kb mem used] [1,937,611s (+0s)]
    [SECTION START] albums [6,872.4Kb mem used] [1,937,611s (+0s)]
    [SECTION START] groups [6,874.5Kb mem used] [1,937,611s (+0s)]
    		Database errorThe British Film and cinema forum database has encountered a problem.Please try the following: 
    
    • Load the page again by clicking the Refresh button in your web browser.
    • Open the www.britmovie.net home page, then try to open another page.
    • Click the Back button to try another link.
    The Home || site frontpage forum technical staff have been notified of the error, though you may contact them if the problem persists. We apologise for any inconvenience.
    and in a subframe
    Code:
    Database error in vBulletin 3.8.0 Beta 1:
    Invalid SQL:
               SELECT count(*)as cnt,max(dateline) as lastupdate
               FROM vb_groupmessage
               WHERE groupid='4';
    MySQL Error   : Unknown column 'groupid' in 'where clause'
    Error Number  : 1054
    Request Date  : Sunday, November 2nd 2008 @ 12:25:53 PM
    Error Date    : Sunday, November 2nd 2008 @ 12:25:54 PM
    Script        : Log in - British Film and cinema forum - vBulletin Admin Control Panel
    Referrer      : Log in - British Film and cinema forum - vBulletin Admin Control Panel
    IP Address    : 81.79.163.188
    Username      : Britmovie
    Classname     : vB_Database
    MySQL Version : 5.0.45
    This is with the code you gave me?

  10. #10
    Senior Member Array
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,095
    Liked
    6 times
    If you look at the query it is showing that it is still the old format of the query. Make sure that you download that file, make the edits, save it, then reupload it. If that still does not work, please open a support ticket with your FTP info as well as your admincp info so we can look into it for you.
    The Forum Hosting - Forum Hosting from the Forum Experts

  11. #11
    Junior Member Array
    Real Name
    Tomislav
    Join Date
    Sep 2007
    Location
    Croatia
    Posts
    14
    Liked
    0 times
    Quote Originally Posted by Mert Gökçeimam View Post
    Make sure you uploaded vBSEO .htaccess to your forum root and your server supports mod_rewrite

    For the second problem
    find this in vbseo_sitemap_functions.php file:
    PHP Code:
                 $tcount $db->query_first("
                     SELECT count(*)as cnt,max(dateline) as lastupdate
                     FROM " 
    TABLE_PREFIX "groupmessage
                     WHERE groupid='
    $rrow[groupid]'
                 "
    ); 
    replace with
    PHP Code:
                 $tcount $db->query_first("
                     SELECT count(*)as cnt,max(dateline) as lastupdate
                     FROM " 
    TABLE_PREFIX "groupmessage AS groupmessage
                     LEFT JOIN " 
    TABLE_PREFIX "discussion AS discussion ON (groupmessage.discussionid = discussion.discussionid)
                     WHERE discussion.groupid='
    $rrow[groupid]'
                 "
    ); 
    I had the same problem, and that code fixed it. Thank you very much!

  12. #12
    Senior Member Array HeLL_BoY's Avatar
    Real Name
    erol
    Join Date
    Mar 2008
    Posts
    119
    Liked
    0 times
    Merhaba Mert bey.

    Açtığım ticket'in cevabı burdaymış ingilizcem ileri derecede zayıf ama attım tuttu galiba .htaccess dosyasını değiştirip vermiş olduğunuz kodları değiştirdim şuanda bir sorun görünmüyor teşekkür ederim

  13. #13
    Junior Member Array
    Real Name
    Maik
    Join Date
    Sep 2008
    Posts
    5
    Liked
    0 times
    Quote Originally Posted by Mert Gökçeimam View Post
    For the second problem
    find this in vbseo_sitemap_functions.php file:
    PHP Code:
                 $tcount $db->query_first("
                     SELECT count(*)as cnt,max(dateline) as lastupdate
                     FROM " 
    TABLE_PREFIX "groupmessage
                     WHERE groupid='
    $rrow[groupid]'
                 "
    ); 
    replace with
    PHP Code:
                 $tcount $db->query_first("
                     SELECT count(*)as cnt,max(dateline) as lastupdate
                     FROM " 
    TABLE_PREFIX "groupmessage AS groupmessage
                     LEFT JOIN " 
    TABLE_PREFIX "discussion AS discussion ON (groupmessage.discussionid = discussion.discussionid)
                     WHERE discussion.groupid='
    $rrow[groupid]'
                 "
    ); 
    This is the solution for my problem after the vbulletin update 3.7.4 to 3.8.

    Thanks

  14. #14
    Member Array
    Real Name
    Leandro
    Join Date
    Nov 2008
    Posts
    49
    Liked
    0 times
    I've got exactly the same db issue after upgraded to 3.8.0
    It was kind of though found out what was causing this. Finally I saw sitemap generator was not working any longer.
    Searched here I found Mert's patch for this.

    Just used it and solved the problem at all.

    This patch is mandatory for who upgraded to 3.8.0 and have Social Groups enabled because there are some differences on Social Groups db from 3.7.X to 3.8.0

    Thanks

  15. #15
    Member Array
    Real Name
    Edwin Kersten
    Join Date
    Dec 2006
    Posts
    31
    Liked
    0 times
    why hasnt there been created a new working sitemap generator in the downloads section yet? we shouldnt hunt bugs and patch them ourselves should we?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Transfer vBSEO To New Site
    By Inersha in forum General Discussion
    Replies: 1
    Last Post: 10-30-2008, 10:39 AM
  2. Links not working
    By Orcas in forum Troubleshooting
    Replies: 7
    Last Post: 02-09-2008, 07:54 PM
  3. No links working?
    By livesportnetwork in forum Troubleshooting
    Replies: 2
    Last Post: 11-18-2006, 03:24 PM
  4. Some links are not working :(
    By MrNase in forum Bug Reporting
    Replies: 5
    Last Post: 09-24-2005, 03:07 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
  •