Results 1 to 4 of 4

vbseo_sm_downloads2.php failed to run sitemap

This is a discussion on vbseo_sm_downloads2.php failed to run sitemap within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Fatal error : Call to a member function query() on a non-object in /home/vbseo_sitemap/addons/vbseo_sm_downloads2.php on line 19 now i tried ...

  1. #1
    Member
    Real Name
    frej
    Join Date
    Apr 2009
    Posts
    38
    Liked
    0 times

    vbseo_sm_downloads2.php failed to run sitemap

    Fatal error: Call to a member function query() on a non-object in /home/vbseo_sitemap/addons/vbseo_sm_downloads2.php on line 19

    now i tried replacing the db name as im using latest downloadsII version which has new table names but i still get the same error

    before

    PHP Code:
    $mods $db->query("SELECT id, name FROM " TABLE_PREFIX "dl_cats ORDER BY `id`");
    while (
    $mod $db->fetch_array($mods))

    $url $vbseo_vars['bburl'].'/downloads.php?do=cat&title='.urlencode($mod['name']).'&id='.$mod['id'];
    if(
    VBSEO_ON)
    $url vbseo_any_url($url);
    vbseo_add_url($url1.0'''daily');
    }
    $mods $db->query("SELECT ff.id as fid, ff.name as fname, fc.id as cid, fc.name as cname FROM " TABLE_PREFIX "dl_files ff LEFT JOIN " TABLE_PREFIX "dl_cats fc ON ff.category=fc.id");
    while (
    $mod $db->fetch_array($mods))

    $url $vbseo_vars['bburl'].'/downloads.php?do=file&title='.urlencode(vbseo_filter_text($mod['fname'])).'&cid='.$mod['cid'].'&ctitle='.urlencode(vbseo_filter_text($mod['cname'])).'&id='.$mod['fid'];
    if(
    VBSEO_ON)
    $url vbseo_any_url($url);
    vbseo_add_url($url1.0'''daily');
    }
    ?> 

    after

    PHP Code:
    $mods $db->query("SELECT id, name FROM " TABLE_PREFIX "dl2_categories ORDER BY `id`");
    while (
    $mod $db->fetch_array($mods))

    $url $vbseo_vars['bburl'].'/downloads.php?do=cat&title='.urlencode($mod['name']).'&id='.$mod['id'];
    if(
    VBSEO_ON)
    $url vbseo_any_url($url);
    vbseo_add_url($url1.0'''daily');
    }
    $mods $db->query("SELECT ff.id as fid, ff.name as fname, fc.id as cid, fc.name as cname FROM " TABLE_PREFIX "dl2_files ff LEFT JOIN " TABLE_PREFIX "dl2_categories fc ON ff.category=fc.id");
    while (
    $mod $db->fetch_array($mods))

    $url $vbseo_vars['bburl'].'/downloads.php?do=file&title='.urlencode(vbseo_filter_text($mod['fname'])).'&cid='.$mod['cid'].'&ctitle='.urlencode(vbseo_filter_text($mod['cname'])).'&id='.$mod['fid'];
    if(
    VBSEO_ON)
    $url vbseo_any_url($url);
    vbseo_add_url($url1.0'''daily');
    }
    ?> 

  2. #2
    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
    Are you on vb4? if so, that mod has not been ported to vb4 yet. that is vb3 code.

  3. #3
    Member
    Real Name
    frej
    Join Date
    Apr 2009
    Posts
    38
    Liked
    0 times
    sigh then when can we expect an official vb4 script, it has been delayed quite long otherwise

  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
    The vb3 version was never an official release either. Perhaps some one can convert it. Its not on our plate at this time.

Similar Threads

  1. vBulletin 4.x Sitemap Generator 2.6 BETA 2 LIVE ping failed
    By iNF3RN0 in forum Troubleshooting
    Replies: 0
    Last Post: 05-20-2010, 01:19 PM
  2. vbseo_sm_downloads2.php
    By bollie in forum General Discussion
    Replies: 4
    Last Post: 04-28-2010, 10:33 AM
  3. vBulletin 4.x Google error: download Sitemap failed
    By meonet in forum Troubleshooting
    Replies: 3
    Last Post: 02-14-2010, 01:49 PM
  4. Sitemap Plugin: Google ping: FAILED.
    By Keith Cohen in forum Troubleshooting
    Replies: 11
    Last Post: 11-09-2005, 11:19 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
  •