[u][b][color=#FF0000]Could not establish the MySQL-connection: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)[/color][/b][/u] Please verify the following MySQL-Settings in the file "config/mysql.php" - BS_MYSQL_HOST - BS_MYSQL_LOGIN - BS_MYSQL_PASSWORD [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]79[/b] [ Function: [b]trigger_error()[/b] ] [code]0074 $msg = 'Could not establish the MySQL-connection: '.mysql_error().'{{}}'; 0075 $msg .= 'Please verify the following MySQL-Settings in the file "config/mysql.php"'."\n" 0076 .'- BS_MYSQL_HOST'."\n" 0077 .'- BS_MYSQL_LOGIN'."\n" 0078 .'- BS_MYSQL_PASSWORD'; 0079 trigger_error($msg,E_USER_ERROR); 0080 die(); 0081 } 0082 0083 if(!@mysql_select_db($mysql_database,$this->_con) && $die_on_no_db) 0084 { 0085 $msg = 'Could not establish the MySQL-connection: '.mysql_error($this->_con)."{{}}"; [/code] [*]/var/www/web32/html/forum/src/[b]base.php[/b] in line [b]253[/b] [ Method: [b]BS_MySQL::BS_MySQL()[/b] ] [code]0248 if($this->_config['db']) 0249 { 0250 include_once($this->path.'config/community.php'); 0251 include_once($this->path.'config/mysql.php'); 0252 include_once($this->path.'src/mysql.php'); 0253 $this->db = &new BS_MySQL(BS_MYSQL_HOST,BS_MYSQL_LOGIN,BS_MYSQL_PASSWORD,BS_MYSQL_DATABASE); 0254 } 0255 0256 $this->timer = &new BS_Timer(); 0257 $this->input = &new BS_Input(); 0258 0259 $this->functions = &new BS_Functions($this); [/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]standalone.php[/b] in line [b]40[/b] [ Method: [b]BS_Base::BS_Base()[/b] ] [code]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 [/code] [*]/var/www/web32/html/forum/standalone/[b]chat.php[/b] in line [b]6[/b] [ Method: [b]BS_Standalone::BS_Standalone()[/b] ] [code]0001 <?php 0002 class BS_Standalone_chat extends BS_Standalone 0003 { 0004 function BS_Standalone_chat($path) 0005 { 0006 BS_Standalone::BS_Standalone($path); 0007 } 0008 0009 function run() 0010 { 0011 if(in_array(1,BS_advanced_explode(',',$this->sess->userdata['user_group'])) || in_array(4,BS_advanced_explode(',',$this->sess->userdata['user_group'])) || in_array(5,BS_advanced_explode(',',$this->sess->userdata['user_group']))) 0012 { [/code] [*]/var/www/web32/html/forum/[b]standalone.php[/b] in line [b]29[/b] [ Method: [b]BS_Standalone_chat::BS_Standalone_chat()[/b] ] [code]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 ?> [/code] [/list]