- Moderated by:
- Support
-
- rank:
-
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 -
- rank:
-
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
