Database Error
Message:Unable to connect: SQLSTATE[HY000] [2002] No such file or directory localhost powerbass_global root IDpb3868
Date:Thursday, March 23, 2017 at 9:11:16 AM
Script:/
The Server is
HTTP_HOST:www.powerbassusa.com
HTTP_ACCEPT_ENCODING:x-gzip, gzip, deflate
HTTP_USER_AGENT:CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
PATH:/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE:
SERVER_SOFTWARE:Apache/2.4.23 (Amazon) PHP/5.6.22
SERVER_NAME:www.powerbassusa.com
SERVER_ADDR:172.31.5.143
SERVER_PORT:80
REMOTE_ADDR:54.167.157.241
DOCUMENT_ROOT:/var/www/html/powerbassusa_com/public_html/
REQUEST_SCHEME:http
CONTEXT_PREFIX:
CONTEXT_DOCUMENT_ROOT:/var/www/html/powerbassusa_com/public_html
SERVER_ADMIN:root@localhost
SCRIPT_FILENAME:/var/www/html/powerbassusa_com/public_html/index.php
REMOTE_PORT:46260
GATEWAY_INTERFACE:CGI/1.1
SERVER_PROTOCOL:HTTP/1.0
REQUEST_METHOD:GET
QUERY_STRING:
REQUEST_URI:/
SCRIPT_NAME:/index.php
PHP_SELF:/index.php
REQUEST_TIME_FLOAT:1490285476.629
REQUEST_TIME:1490285476
DEBUG
array (
  0 => 
  array (
    'file' => '/var/www/html/powerbassusa_com/Application/TSH/Core/db/pdo_db.php',
    'line' => 217,
    'function' => 'oops',
    'class' => 'Mail',
    'type' => '::',
    'args' => 
    array (
      0 => 'Unable to connect: SQLSTATE[HY000] [2002] No such file or directory localhost powerbass_global root IDpb3868',
    ),
  ),
  1 => 
  array (
    'file' => '/var/www/html/powerbassusa_com/Application/TSH/Core/db/pdo_db.php',
    'line' => 68,
    'function' => 'error',
    'class' => 'pdo_db',
    'object' => 
    pdo_db::__set_state(array(
       'last_query' => NULL,
       'last_query_params' => NULL,
       'sql_result' => NULL,
       'db_connection' => NULL,
       'db' => 'default',
       'query_sent' => NULL,
       'query_executed' => NULL,
    )),
    'type' => '->',
    'args' => 
    array (
      0 => 'Unable to connect: SQLSTATE[HY000] [2002] No such file or directory localhost powerbass_global root IDpb3868',
    ),
  ),
  2 => 
  array (
    'file' => '/var/www/html/powerbassusa_com/Application/TSH/Core/db/pdo_db.php',
    'line' => 82,
    'function' => 'db_connect',
    'class' => 'pdo_db',
    'object' => 
    pdo_db::__set_state(array(
       'last_query' => NULL,
       'last_query_params' => NULL,
       'sql_result' => NULL,
       'db_connection' => NULL,
       'db' => 'default',
       'query_sent' => NULL,
       'query_executed' => NULL,
    )),
    'type' => '->',
    'args' => 
    array (
      0 => 'default',
    ),
  ),
  3 => 
  array (
    'file' => '/var/www/html/powerbassusa_com/Application/TSH/Core/CoreMethods.php',
    'line' => 1083,
    'function' => 'runQueryPrepared',
    'class' => 'pdo_db',
    'object' => 
    pdo_db::__set_state(array(
       'last_query' => NULL,
       'last_query_params' => NULL,
       'sql_result' => NULL,
       'db_connection' => NULL,
       'db' => 'default',
       'query_sent' => NULL,
       'query_executed' => NULL,
    )),
    'type' => '->',
    'args' => 
    array (
      0 => '	SELECT 
									* ,
									CL.code AS language_code,
									CL.name AS language_name
								FROM 
									`powerbass_constructor__ips`  MCI
								INNER JOIN
									`powerbass_constructor__countrycodes` MCCC
								ON 
									MCCC.`country_code`=MCI.`country_code`
								
								INNER JOIN
									`powerbass_constructor__countries` MCC
								ON 
									MCC.`country_id`=MCCC.`id`
								
								LEFT JOIN 
									`powerbass_constructor__languages` CL
								ON
									CL.`lid`=MCC.`default_language`
								WHERE 
									INET_ATON(:ip) BETWEEN MCI.begin_num AND MCI.end_num 
								LIMIT 1',
      1 => 
      array (
        ':ip' => '54.167.157.241',
      ),
    ),
  ),
  4 => 
  array (
    'file' => '/var/www/html/powerbassusa_com/Application/TSH/Core/CoreMethods.php',
    'line' => 892,
    'function' => 'ip_detection',
    'class' => 'CoreMethods',
    'object' => 
    Request::__set_state(array(
       'role' => 'frontend',
       'db' => 
      pdo_db::__set_state(array(
         'last_query' => NULL,
         'last_query_params' => NULL,
         'sql_result' => NULL,
         'db_connection' => NULL,
         'db' => 'default',
         'query_sent' => NULL,
         'query_executed' => NULL,
      )),
       'user' => 
      User::__set_state(array(
         'logged_in' => false,
         'role' => '',
         'db' => 
        pdo_db::__set_state(array(
           'last_query' => NULL,
           'last_query_params' => NULL,
           'sql_result' => NULL,
           'db_connection' => NULL,
           'db' => 'default',
           'query_sent' => NULL,
           'query_executed' => NULL,
        )),
      )),
    )),
    'type' => '->',
    'args' => 
    array (
      0 => '54.167.157.241',
    ),
  ),
  5 => 
  array (
    'file' => '/var/www/html/powerbassusa_com/Application/TSH/Request.php',
    'line' => 59,
    'function' => 'parse_url_params',
    'class' => 'CoreMethods',
    'object' => 
    Request::__set_state(array(
       'role' => 'frontend',
       'db' => 
      pdo_db::__set_state(array(
         'last_query' => NULL,
         'last_query_params' => NULL,
         'sql_result' => NULL,
         'db_connection' => NULL,
         'db' => 'default',
         'query_sent' => NULL,
         'query_executed' => NULL,
      )),
       'user' => 
      User::__set_state(array(
         'logged_in' => false,
         'role' => '',
         'db' => 
        pdo_db::__set_state(array(
           'last_query' => NULL,
           'last_query_params' => NULL,
           'sql_result' => NULL,
           'db_connection' => NULL,
           'db' => 'default',
           'query_sent' => NULL,
           'query_executed' => NULL,
        )),
      )),
    )),
    'type' => '->',
    'args' => 
    array (
    ),
  ),
  6 => 
  array (
    'file' => '/var/www/html/powerbassusa_com/public_html/index.php',
    'line' => 56,
    'function' => 'build',
    'class' => 'Request',
    'object' => 
    Request::__set_state(array(
       'role' => 'frontend',
       'db' => 
      pdo_db::__set_state(array(
         'last_query' => NULL,
         'last_query_params' => NULL,
         'sql_result' => NULL,
         'db_connection' => NULL,
         'db' => 'default',
         'query_sent' => NULL,
         'query_executed' => NULL,
      )),
       'user' => 
      User::__set_state(array(
         'logged_in' => false,
         'role' => '',
         'db' => 
        pdo_db::__set_state(array(
           'last_query' => NULL,
           'last_query_params' => NULL,
           'sql_result' => NULL,
           'db_connection' => NULL,
           'db' => 'default',
           'query_sent' => NULL,
           'query_executed' => NULL,
        )),
      )),
    )),
    'type' => '->',
    'args' => 
    array (
    ),
  ),
)
array (
  'login_attempts_left' => 10,
  'login_attempts' => 10,
)