Fork me on GitHub

UpDownload 2.1.1 error when Initialized  Bottom

  • hi there, i just downloaded what i think is the latest version of UpDownload. I uploaded it and then tried to initialize it but i get this error:

    Fatal error: Call to a member function on a non-object in /home/rocomau/public_html/modules/UpDownload/pninit.php on line 55

    and line 55 has this code:

    if ($dbconn->ErrorNo() != 0)


    can anyone offer any help?? please
  • can anyone help?
  • Hmmm. That's an odd error to get at that point. Perhaps $dbconn is not actually named $dbconn. See what object name is used in a line that should look something like...

    Code

    list($dbconn) = pnDBGetConn();


    or maybe something like...

    Code

    list($dbconn) =& pnDBGetConn(true);


    and see if it's

    Code

    list($SOME_OTHER_OBJECT_NAME) = pnDBGetConn();


    If it is, then change the object name to whatever they used in the line above.

    Ed
  • You don't say what PN version your using but (at a guess) your trying to install the lateset updownload on .726 or earlier - this won't work. The latest updownload is for .750 and later - I beleive this is in the module's docs.

    -Mark

    --
    Visit My homepage and Zikula themes.

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