[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]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]