Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
VistaShouBox
  • Posted: 31.05.2004, 14:50
     
    viking
    rank:
    Freshman Freshman
    registered:
     December 1969
    Status:
    offline
    last visit:
    26.10.08
    Posts:
    46
    This Module cant work with PN .75..

    Get this in the block..

    Fatal error: Call to a member function on a non-object in /home/ikimnet/public_html/mysite/Vistra_Shoutbox/pager/post.php on line 57

    The code is ;

    Code

    ----------------
    if($_GLOBALS['BorI'] == 'b')
    {
     //*----------

     global $pnconfig;

     $result = $dbconn->Execute("
      SELECT show_all
      FROM "
    . $pnconfig[prefix] . "_vistra_shoutbox
     "
    );

     list($show_all) = $result->fields;

     if($show_all)
     {
      echo(" [<a href=\"../../../modules.php?op=modload&name=Vistra_Shoutbox&file=index\" target=\"_parent\" class=\"pn-normal\">"._ALL."</a>]");
     }

    //----------
    }


    =================

    Maybe some can fix it.. the author for this module has convert to new CMS.. :D
  • Posted: 31.05.2004, 15:29
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    That'll be another missing database connection call - the same problem as PNphpBB and a few other modules suffer from. Add the following code prior to the first SQL execution.

    Code

    $dbconn =& pnDBGetConn(true);
    $pntable =& pnDBGetTables();


    -Mark

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula