Forum Activity

Forum feed

» see all | » latest posts

Shoutbox, problems with username? Code inside...  Top

  • I have recently upgraded to 0.750 Gold, now my shoutbox won't work... It says:
    Fatal error: Call to a member function on a non-object in /hsphere/local/home/drekkame/drekkamer.com/modules/Shoutbox/index.php on line 72

    The code is:

    Code

    // get the username
                            $uid = $shoutline[0];
                            if ($uid == "1") {
                                // user is anonymous
                                $username = pnConfigGetVar('anonymous');
                            } else {
                                // get current username
                                $column = &$pntable['users_column'];
                                $result=$dbconn->Execute("select $column[uname] FROM $pntable[users] WHERE $column[uid]='".pnVarPrepForStore($uid)."'");                            list($username) = $result->fields;
                            }


    Line 72: $result=$dbconn->Execute("select $column[uname] FROM $pntable[users] WHERE $column[uid]='".pnVarPrepForStore($uid)."'");
  • please update modules/Shoutbox/index.php with *this version*

    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Viele Danke icon_smile

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