Fork me on GitHub

UpDownload stop after an upgrade to RC3 file-->dl-navigat  Bottom

  • Fatal error: Call to a member function on a non-object in path\UpDownload\dl-navigation.php on line 59
    Note that this error was not present in RC1 or in RC2 before, is totally new!
    So is a bug in postnuke in somewhere or is updownload failed again?
    Does any one knows how i can fix that please?.
    -----------------
    I was checking the code of original core module of download in postnuke, the line 49 in dl-navigation.php is the following:

    Code

    $result =& $dbconn->Execute("SELECT $column[cid], $column[title], $column[cdescription]

    I thougth that --> column[cdescription] must be --> column[description] without the letter --> c
    /Best Regards
  • This is an easy fix. All you need to do is add the line

    pnModDBInfoLoad($ModName);

    in the index.php after:

    include_once ("modules/$ModName/dl-util.php");
    include_once ("modules/$ModName/dl-categories.php");
    include_once ("modules/$ModName/dl-navigation.php");

    This resolves the problem of not finding the tables definitions it needs.

    Trever
  • Thanks for fix!
    /Best Regards
  • You will also have to add:
    pnModDBInfoLoad($ModName);
    in admin.php after:
    include_once ("modules/$ModName/dl-categories.php");
    include_once ("modules/$ModName/dl-util.php");

This list is based on users active over the last 60 minutes.