( ! ) Warning: mysqli_real_connect() [function.mysqli-real-connect]: [2002] Connection refused (trying to connect via tcp://216.18.178.238:6446) in /www/htdocs/ytmnd.com/includes/db/mysqli.php on line 209
Call Stack
#TimeMemoryFunctionLocation
10.0000325680{main}( )../activity.html:0
20.0040551668require_once( '/www/htdocs/ytmnd.com/web/www/users/profile/shared.php' )../activity.html:11
30.0040552104user::info_from_string( )../shared.php:27
40.0040552160user::exists( )../user.php:406
50.0040552308db->single( )../user.php:377
60.0040552352db->query( )../mysqli.php:394
70.0040552352db->require_connection( )../mysqli.php:274
80.0040552352db->connect( )../mysqli.php:239
90.0040553692mysqli_real_connect ( )../mysqli.php:209
100.0040554592ytmnd_error_handler( )../errors.php:0
110.0040568604YTMND_Error_Reporter->send( )../errors.php:38
120.0040568632YTMND_Error_Reporter->generate_error_id( )../report.php:92
130.0040568660YTMND_Error_Reporter->save_to_DB( )../report.php:278
140.0040568800db->query( )../report.php:417
150.0040568800db->require_connection( )../mysqli.php:274
160.0040568800db->connect( )../mysqli.php:239
170.0040570140mysqli_real_connect ( )../mysqli.php:209

( ! ) Warning: mysqli_real_connect() [function.mysqli-real-connect]: (HY000/2002): Connection refused in /www/htdocs/ytmnd.com/includes/db/mysqli.php on line 209
Call Stack
#TimeMemoryFunctionLocation
10.0000325680{main}( )../activity.html:0
20.0040551668require_once( '/www/htdocs/ytmnd.com/web/www/users/profile/shared.php' )../activity.html:11
30.0040552104user::info_from_string( )../shared.php:27
40.0040552160user::exists( )../user.php:406
50.0040552308db->single( )../user.php:377
60.0040552352db->query( )../mysqli.php:394
70.0040552352db->require_connection( )../mysqli.php:274
80.0040552352db->connect( )../mysqli.php:239
90.0040553692mysqli_real_connect ( )../mysqli.php:209
100.0040554592ytmnd_error_handler( )../errors.php:0
110.0040568604YTMND_Error_Reporter->send( )../errors.php:38
120.0040568632YTMND_Error_Reporter->generate_error_id( )../report.php:92
130.0040568660YTMND_Error_Reporter->save_to_DB( )../report.php:278
140.0040568800db->query( )../report.php:417
150.0040568800db->require_connection( )../mysqli.php:274
160.0040568800db->connect( )../mysqli.php:239
170.0040570140mysqli_real_connect ( )../mysqli.php:209

( ! ) Warning: mysqli_query() [function.mysqli-query]: invalid object or resource mysqli in /www/htdocs/ytmnd.com/includes/db/mysqli.php on line 285
Call Stack
#TimeMemoryFunctionLocation
10.0000325680{main}( )../activity.html:0
20.0040551668require_once( '/www/htdocs/ytmnd.com/web/www/users/profile/shared.php' )../activity.html:11
30.0040552104user::info_from_string( )../shared.php:27
40.0040552160user::exists( )../user.php:406
50.0040552308db->single( )../user.php:377
60.0040552352db->query( )../mysqli.php:394
70.0040552352db->require_connection( )../mysqli.php:274
80.0040552352db->connect( )../mysqli.php:239
90.0040553692mysqli_real_connect ( )../mysqli.php:209
100.0040554592ytmnd_error_handler( )../errors.php:0
110.0040568604YTMND_Error_Reporter->send( )../errors.php:38
120.0040568632YTMND_Error_Reporter->generate_error_id( )../report.php:92
130.0040568660YTMND_Error_Reporter->save_to_DB( )../report.php:278
140.0040568800db->query( )../report.php:417
150.0040971500mysqli_query ( )../mysqli.php:285

( ! ) Warning: mysqli_error() [function.mysqli-error]: invalid object or resource mysqli in /www/htdocs/ytmnd.com/includes/db/mysqli.php on line 333
Call Stack
#TimeMemoryFunctionLocation
10.0000325680{main}( )../activity.html:0
20.0040551668require_once( '/www/htdocs/ytmnd.com/web/www/users/profile/shared.php' )../activity.html:11
30.0040552104user::info_from_string( )../shared.php:27
40.0040552160user::exists( )../user.php:406
50.0040552308db->single( )../user.php:377
60.0040552352db->query( )../mysqli.php:394
70.0040552352db->require_connection( )../mysqli.php:274
80.0040552352db->connect( )../mysqli.php:239
90.0040553692mysqli_real_connect ( )../mysqli.php:209
100.0040554592ytmnd_error_handler( )../errors.php:0
110.0040568604YTMND_Error_Reporter->send( )../errors.php:38
120.0040568632YTMND_Error_Reporter->generate_error_id( )../report.php:92
130.0040568660YTMND_Error_Reporter->save_to_DB( )../report.php:278
140.0040568800db->query( )../report.php:417
150.0080971972db->error( )../mysqli.php:293
160.0080972000mysqli_error ( )../mysqli.php:333

( ! ) Warning: mysqli_insert_id() [function.mysqli-insert-id]: invalid object or resource mysqli in /www/htdocs/ytmnd.com/includes/db/mysqli.php on line 358
Call Stack
#TimeMemoryFunctionLocation
10.0000325680{main}( )../activity.html:0
20.0040551668require_once( '/www/htdocs/ytmnd.com/web/www/users/profile/shared.php' )../activity.html:11
30.0040552104user::info_from_string( )../shared.php:27
40.0040552160user::exists( )../user.php:406
50.0040552308db->single( )../user.php:377
60.0040552352db->query( )../mysqli.php:394
70.0040552352db->require_connection( )../mysqli.php:274
80.0040552352db->connect( )../mysqli.php:239
90.0040553692mysqli_real_connect ( )../mysqli.php:209
100.0040554592ytmnd_error_handler( )../errors.php:0
110.0040568604YTMND_Error_Reporter->send( )../errors.php:38
120.0040568632YTMND_Error_Reporter->generate_error_id( )../report.php:92
130.0040568660YTMND_Error_Reporter->save_to_DB( )../report.php:278
140.0080971944db->last_insert_id( )../report.php:423
150.0080971972mysqli_insert_id ( )../mysqli.php:358
ytmnd.com - ERROR ( ._.)

YTMND has encountered an error!

Don't panic -- you must have broken something -- the YTMND minions have encountered an impassable error. We've logged the error for the sake of posterity; it's been sent off to our staff so they may blatantly disregard it. If it's something you think is important or should really be fixed, please email support@ytmnd.com, we'll be ignoring you in no time.

Error Details

Unique error ID:
Error Message:
mysqli_real_connect() [function.mysqli-real-connect]: [2002] Connection refused (trying to connect via tcp://216.18.178.238:6446)
Category:
PHP Error
Error URL:
/users/MolotovSauce/activity
Error Date:
2014-04-20 03:24:16.697269

Stack Trace

#0 In includes/db/mysqli.php on line 209
call
mysqli_real_connect(object object, string string, string string, string string, string string, int integer, string string, int integer)
 
      $this->link mysqli_init(); 
      mysqli_options($this->linkMYSQLI_OPT_CONNECT_TIMEOUT5); 
      mysqli_real_connect($this->link$this->host$this->user$this->password$this->schema$this->portnullMYSQLI_CLIENT_COMPRESS); 
    
    catch (Exception $connection_error) { 
      $connection = array('host'       => $this->host
#1 In includes/db/mysqli.php on line 239
call
db -> connect()
  
    if (!$this->is_connected()) { 
      if ($this->on_demand == true) { 
        return $this->connect(); 
      
      else { 
        return false
#2 In includes/db/mysqli.php on line 274
call
db -> require_connection()
 
  public function query ($query
  
    if ($this->require_connection() == false) { 
      return false
    
 
#3 In includes/db/mysqli.php on line 394
call
db -> query(string string)
 
  public function single ($query$field_name ''
  
    $temp_result $this->query($query); 
 
    if ($temp_result instanceof mysqli_result) { 
      return false
#4 In includes/user.php on line 377
call
db -> single(string string)
    
 
    if ($get_fields != 'user_id') { 
      $taken $db_r->single("SELECT $get_fields FROM users WHERE user_name='$user_name'"); 
    
    else { 
      $taken $db_r->single("SELECT user_id FROM users WHERE user_name='$user_name'"'user_id'); 
#5 In includes/user.php on line 406
call
user :: exists(string string, bool boolean, string string)
      $user_info $db_r->single("SELECT $fields FROM users WHERE user_id=$is_user_id"); 
    
    else { 
      $user_info self::exists($user_name_or_idfalse$fields); 
    
 
    return $user_info
call
user :: info_from_string(string string, string string)
  generic_message('user''NO_USER_SPECIFIED'); 
 
$user_info user::info_from_string($profile_user_id'user_id, user_name, signup_date'); 
 
if ($user_info == false or !is_array($user_info)) { 
  generic_message('user''DOES_NOT_EXIST'); 
call
require_once(string string)
 
 
$section 'activity'
require_once './shared.php'
 
$user_activity = array(); 
$user_activity user_activity::get_actvitity_by_user($profile_user_id50);