I am getting this in the Admin when I go to Arcade Subsections:
"ession($bot) { global $DB, $INFO, $std, $ibforums; $db_str = $DB->compile_db_insert_string( array( 'id' => $bot.'_session', 'member_name' => $ibforums->vars['sp_'.$bot], 'member_id' => 0, 'member_group' => $ibforums->vars['spider_group'], 'in_forum' => intval($ibforums->input['f']), 'in_topic' => intval($ibforums->input['t']), 'login_type' => $ibforums->vars['spider_anon'], 'running_time' => $this->time_now, 'location' => $ibforums->input['act'].",".$ibforums->input['p'].",".$ibforums->input['CODE'], 'ip_address' => $this->ip_address, 'browser' => $this->user_agent, ) ); $DB->query("INSERT INTO ibf_sessions ({$db_str['FIELD_NAMES']}) VALUES({$db_str['FIELD_VALUES']})"); } //------------------------------------------- // Updates a BOT current session. //------------------------------------------- function update_bot_session($bot) { global $DB, $ibforums, $INFO; $db_str = $DB->compile_db_update_string( array( 'member_name' => $ibforums->vars['sp_'.$bot], 'member_id' => 0, 'member_group' => $ibforums->vars['spider_group'], 'in_forum' => intval($ibforums->input['f']), 'in_topic' => intval($ibforums->input['t']), 'login_type' => $ibforums->vars['spider_anon'], 'running_time' => $this->time_now, 'location' => $ibforums->input['act'].",".$ibforums->input['p'].",".$ibforums->input['CODE'] ) ); $DB->query("UPDATE ibf_sessions SET $db_str WHERE id='".$bot."_session'"); } } ?>"
and this in the main forum when users go to arcade.php:
"ession($bot) { global $DB, $INFO, $std, $ibforums; $db_str = $DB->compile_db_insert_string( array( 'id' => $bot.'_session', 'member_name' => $ibforums->vars['sp_'.$bot], 'member_id' => 0, 'member_group' => $ibforums->vars['spider_group'], 'in_forum' => intval($ibforums->input['f']), 'in_topic' => intval($ibforums->input['t']), 'login_type' => $ibforums->vars['spider_anon'], 'running_time' => $this->time_now, 'location' => $ibforums->input['act'].",".$ibforums->input['p'].",".$ibforums->input['CODE'], 'ip_address' => $this->ip_address, 'browser' => $this->user_agent, ) ); $DB->query("INSERT INTO ibf_sessions ({$db_str['FIELD_NAMES']}) VALUES({$db_str['FIELD_VALUES']})"); } //------------------------------------------- // Updates a BOT current session. //------------------------------------------- function update_bot_session($bot) { global $DB, $ibforums, $INFO; $db_str = $DB->compile_db_update_string( array( 'member_name' => $ibforums->vars['sp_'.$bot], 'member_id' => 0, 'member_group' => $ibforums->vars['spider_group'], 'in_forum' => intval($ibforums->input['f']), 'in_topic' => intval($ibforums->input['t']), 'login_type' => $ibforums->vars['spider_anon'], 'running_time' => $this->time_now, 'location' => $ibforums->input['act'].",".$ibforums->input['p'].",".$ibforums->input['CODE'] ) ); $DB->query("UPDATE ibf_sessions SET $db_str WHERE id='".$bot."_session'"); } } ?>"
Anyone knows what's the problem and how to fix that, I only get that when I install the arcade
|