[u][b][color=#FF0000]MySQL-Query failed: 126: Incorrect key file for table './usr_web32_1/bs_sessions.MYI'; try to repair it[/color][/b][/u] MySQL-Query: "DELETE FROM bs_sessions WHERE session_id != '1c5dcdca469c7208b354c87bf4ff3b40' AND date < 1714332033" [b]Call-trace:[/b] [list] [*][i]Unknown[/i] [ Method: [b]BS_ErrorHandler::handleError()[/b] ] [*]/var/www/web32/html/forum/src/[b]mysql.php[/b] in line [b]168[/b] [ Function: [b]trigger_error()[/b] ] [code]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 { [/code] [*]/var/www/web32/html/forum/src/auth/[b]session.php[/b] in line [b]998[/b] [ Method: [b]BS_MySQL::sql_qry()[/b] ] [code]0993 if($a > 0) 0994 { 0995 $this->db->sql_qry( 0996 "DELETE FROM ".BS_TB_SESSIONS." WHERE session_id != '".$this->session_id."' AND 0997 date < ".($time - BS_ONLINE_TIMEOUT) 0998 ); 0999 } 1000 } 1001 1002 /** 1003 * sets the user data 1004 * [/code] [*]/var/www/web32/html/forum/src/auth/[b]session.php[/b] in line [b]155[/b] [ Method: [b]BS_Session::_logout_offline_user()[/b] ] [code]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 { 0160 $user = $this->input->get_var(BS_COOKIE_PREFIX.'user','cookie',BS_STRING); 0161 $pw = $this->input->get_var(BS_COOKIE_PREFIX.'pw','cookie',BS_STRING); [/code] [*]/var/www/web32/html/forum/src/auth/[b]user.php[/b] in line [b]78[/b] [ Method: [b]BS_Session::init_session()[/b] ] [code]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(); [/code] [*]/var/www/web32/html/forum/src/[b]base.php[/b] in line [b]352[/b] [ Method: [b]BS_User::init()[/b] ] [code]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 [/code] [*]/var/www/web32/html/forum/src/[b]base.php[/b] in line [b]225[/b] [ Method: [b]BS_Base::_init()[/b] ] [code]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? [/code] [*]/var/www/web32/html/forum/src/[b]module.php[/b] in line [b]45[/b] [ Method: [b]BS_Base::BS_Base()[/b] ] [code]0040 * BS_add_objects_to_class() to add the objects to this module. 0041 */ 0042 function BS_Module($path,$call_base = true) 0043 { 0044 if($call_base) 0045 BS_Base::BS_Base($path); 0046 } 0047 0048 /** 0049 * The method which should start everything. 0050 * 0051 * If any kind of error appears (for example: a parameter is invalid), please call [/code] [*]/var/www/web32/html/forum/src/[b]page.php[/b] in line [b]82[/b] [ Method: [b]BS_Module::BS_Module()[/b] ] [code]0077 include_once($path.'modules/'.$action.'.php'); 0078 $class = 'BS_Module_'.$action; 0079 if(class_exists($class)) 0080 { 0081 $this->_module_name = $action; 0082 return new $class($path); 0083 } 0084 } 0085 0086 // use default module 0087 $this->_module_name = 'portal'; 0088 include_once($path.'modules/portal.php'); [/code] [*]/var/www/web32/html/forum/src/[b]page.php[/b] in line [b]49[/b] [ Method: [b]BS_Page::_load_module()[/b] ] [code]0044 include_once($path.'config/userdef.php'); 0045 include_once($path.'src/general_functions.php'); 0046 include_once($path.'src/base.php'); 0047 include_once($path.'src/module.php'); 0048 0049 $this->_module = $this->_load_module($path); 0050 0051 $this->_module->functions->start_document(); 0052 0053 // output 0054 $this->_display_head(); 0055 $this->_display_module(); [/code] [*]/var/www/web32/html/forum/[b]index.php[/b] in line [b]110[/b] [ Method: [b]BS_Page::BS_Page()[/b] ] [code]0105 Please delete the install.php first!</b></center>' 0106 ); 0107 } 0108 0109 include_once($path.'src/page.php'); 0110 new BS_Page($path); 0111 ?> [/code] [/list]