( ! ) 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.0000325776{main}( )../index.php:0
20.0040566860asset->__construct( )../index.php:42
30.0040566936asset::exists_by_md5( )../asset.php:127
40.0040567036db->escape( )../asset.php:586
50.0040567036db->require_connection( )../mysqli.php:517
60.0040567036db->connect( )../mysqli.php:239
70.0040568376mysqli_real_connect ( )../mysqli.php:209
80.0040569276ytmnd_error_handler( )../errors.php:0
90.0040581080YTMND_Error_Reporter->send( )../errors.php:38
100.0040581108YTMND_Error_Reporter->generate_error_id( )../report.php:92
110.0040581136YTMND_Error_Reporter->save_to_DB( )../report.php:278
120.0040581276db->query( )../report.php:417
130.0040581360mysqli_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.0000325776{main}( )../index.php:0
20.0040566860asset->__construct( )../index.php:42
30.0040566936asset::exists_by_md5( )../asset.php:127
40.0040567036db->escape( )../asset.php:586
50.0040567036db->require_connection( )../mysqli.php:517
60.0040567036db->connect( )../mysqli.php:239
70.0040568376mysqli_real_connect ( )../mysqli.php:209
80.0040569276ytmnd_error_handler( )../errors.php:0
90.0040581080YTMND_Error_Reporter->send( )../errors.php:38
100.0040581108YTMND_Error_Reporter->generate_error_id( )../report.php:92
110.0040581136YTMND_Error_Reporter->save_to_DB( )../report.php:278
120.0040581276db->query( )../report.php:417
130.0040981104db->error( )../mysqli.php:293
140.0040981132mysqli_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.0000325776{main}( )../index.php:0
20.0040566860asset->__construct( )../index.php:42
30.0040566936asset::exists_by_md5( )../asset.php:127
40.0040567036db->escape( )../asset.php:586
50.0040567036db->require_connection( )../mysqli.php:517
60.0040567036db->connect( )../mysqli.php:239
70.0040568376mysqli_real_connect ( )../mysqli.php:209
80.0040569276ytmnd_error_handler( )../errors.php:0
90.0040581080YTMND_Error_Reporter->send( )../errors.php:38
100.0040581108YTMND_Error_Reporter->generate_error_id( )../report.php:92
110.0040581136YTMND_Error_Reporter->save_to_DB( )../report.php:278
120.0040981076db->last_insert_id( )../report.php:423
130.0040981104mysqli_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:
/assets/fbc3e5bfeb8223718550f5d0d00b1eb1
Error Date:
2014-04-20 03:24:23.417269

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 517
call
db -> require_connection()
 
  public function escape ($input
  
    if ($this->require_connection() == false) { 
      return false
    
/* 
#3 In includes/asset.php on line 586
call
db -> escape(string string)
   
     global $db_w
 
      $asset_md5 $db_w->escape(strtolower($asset_md5)); 
 
      return $db_w->single("SELECT * FROM assets WHERE file_md5='$asset_md5'"); 
   
#4 In includes/asset.php on line 127
call
asset :: exists_by_md5(string string)
 
    if (is_string($asset) and preg_match('/^[A-Fa-f0-9]{32}$/'$asset)) { 
 
      $asset_info self::exists_by_md5($asset); 
 
      if ($asset_info == false) { 
        throw new YTMND_Exception("Tried to instantiate non-existent asset by MD5 ($asset)."7003); 
#5 In web/www/assets/index.php on line 42
call
asset -> __construct(string string)
 
 
try { 
  $asset = new ytmnd_asset($asset_id); 
  $asset_id   $asset->asset_id
  $asset_info $asset->information();