MySQL-Query failed: 1194: Table 'bs_sessions' is marked as crashed and should be repairedMySQL-Query: "SELECT s.*,u.`user_name` user_name,p.ghost_mode,p.user_group
FROM bs_sessions s
LEFT JOIN bs_user u ON s.user_id = u.`id`
LEFT JOIN bs_profiles p ON s.user_id = p.id
ORDER BY s.date DESC"
Call-trace:
- Unknown [ Method: BS_ErrorHandler::handleError() ]
- /var/www/web32/html/forum/src/mysql.php in line 168
[ Function: trigger_error() ]
0163
0164 $query = @mysql_query($sql,$this->_con);
0165 if(!$query && $error)
0166 {
0167 trigger_error('MySQL-Query failed: '.mysql_errno($this->_con).': '.mysql_error($this->_con)."{{}}"
0168 .'MySQL-Query: "'.$sql.'"',E_USER_ERROR);
0169 die();
0170 }
0171
0172 $this->_total_queries++;
0173 if($this->_enable_debug)
0174 {
- /var/www/web32/html/forum/src/auth/session.php in line 965
[ Method: BS_MySQL::sql_qry() ]
0960 "SELECT s.*,u.`".BS_EXPORT_USER_NAME."` user_name,p.ghost_mode,p.user_group
0961 FROM ".BS_TB_SESSIONS." s
0962 LEFT JOIN ".BS_TB_USER." u ON s.user_id = u.`".BS_EXPORT_USER_ID."`
0963 LEFT JOIN ".BS_TB_PROFILES." p ON s.user_id = p.id
0964 ORDER BY s.date DESC"
0965 );
0966 while($data = $this->db->sql_fetch_assoc($qry))
0967 {
0968 $data['bot_name'] = $this->_get_bot_name($data['user_agent'],$data['user_ip']);
0969 $this->_online_table[$data['session_id']] = $data;
0970 }
0971
- /var/www/web32/html/forum/src/auth/session.php in line 153
[ Method: BS_Session::_generate_session_table() ]
0148 *
0149 * @access public
0150 */
0151 function init_session()
0152 {
0153 $this->_generate_session_table();
0154 $this->_init_session();
0155 $this->_logout_offline_user();
0156
0157 // login by cookie?
0158 if(!$this->_admin_required && !$this->is_loggedin())
0159 {
- /var/www/web32/html/forum/src/auth/user.php in line 78
[ Method: BS_Session::init_session() ]
0073 *
0074 * @access public
0075 */
0076 function init()
0077 {
0078 $this->init_session();
0079
0080 $this->_calculate_forum_lang();
0081 $this->_calculate_forum_theme();
0082 $this->_calculate_timezone();
0083
0084 $time = time();
- /var/www/web32/html/forum/src/base.php in line 352
[ Method: BS_User::init() ]
0347 BS_add_objects_to_class($this,$this->$name);
0348
0349 // init the session
0350 if($this->_config['sess'])
0351 {
0352 $this->sess->init();
0353 $this->auth->init();
0354 if($this->_config['unread'])
0355 $this->unread->init();
0356 }
0357
0358 // init language
- /var/www/web32/html/forum/src/base.php in line 225
[ Method: BS_Base::_init() ]
0220 {
0221 if(isset($this->_config[$val]))
0222 $this->_config[$val] = false;
0223 }
0224
0225 $this->_init($admin_required);
0226 }
0227
0228 /**
0229 * inits all necessary stuff
0230 *
0231 * @param boolean $admin_required for the session: is an admin required to login?
- /var/www/web32/html/forum/src/standalone.php in line 40
[ Method: BS_Base::BS_Base() ]
0035 * @param boolean $use_ob do you want to use output-buffering?
0036 * @param array $exclude the exclude-objects-array for BS_Base
0037 */
0038 function BS_Standalone($path,$use_ob = true,$exclude = array())
0039 {
0040 BS_Base::BS_Base($path,$exclude);
0041
0042 $this->_use_ob = $use_ob;
0043 }
0044
0045 /**
0046 * Displays this object / performs the action
- /var/www/web32/html/forum/standalone/linklist_redirect.php in line 28
[ Method: BS_Standalone::BS_Standalone() ]
0023 */
0024 function BS_Standalone_linklist_redirect($path)
0025 {
0026 BS_Standalone::BS_Standalone($path,false,array(
0027 'sql_helper','tpl','url','unread','forums','html'
0028 ));
0029 }
0030
0031 function run()
0032 {
0033 $lid = $this->input->get_var(BS_URL_ID,'get',BS_ID);
0034 if($lid != null)
- /var/www/web32/html/forum/standalone.php in line 29
[ Method: BS_Standalone_linklist_redirect::BS_Standalone_linklist_redirect() ]
0024 {
0025 include_once($bspath.'standalone/'.$action.'.php');
0026 $class = 'BS_Standalone_'.$action;
0027 if(class_exists($class))
0028 {
0029 $c = new $class($bspath);
0030 $c->display();
0031 }
0032 }
0033 ?>
Show BBCode for the error-message (to post somewhere)