SQLSTATE[HY000] [2002] No such file or directory
1 /home/bobmar/public_html/review/classes/errorHandler.class.php line 119Kint::trace()
  • Source
  • 112 $debug = DEBUG;
    113 if ($debug == 0) {
    114 header("location:/" . ERROR_URL);
    115 // send mail to the developers
    116 }
    117 else {
    118 echo $exception->getMessage();
    119 Kint::trace();
    120 exit(1);
    121 }
    122 }
    123
    124 public static function handleShutdown()
    125 {
    126 $debug = DEBUG;
2 PHP internal callerrorHandler::handleException(exception)
  • Arguments
  • exception object PDOException (8)
    • object (8)
    • Available methods (10)
    • protected message -> string (48) "SQLSTATE[HY000] [2002] No such file or directory"
      private string -> string (0) ""
      protected code -> integer 2002
      protected file -> string (62) "/home/bobmar/public_html/review/classes/dbConnection.class.p …"
      /home/bobmar/public_html/review/classes/dbConnection.class.php
      protected line -> integer 25
      private trace -> array (4)
      array (6)
      'file' => string (62) "/home/bobmar/public_html/review/classes/dbConnection.class.p …"
      /home/bobmar/public_html/review/classes/dbConnection.class.php
      'line' => integer 25
      'function' => string (11) "__construct"
      'class' => string (3) "PDO"
      'type' => string (2) "->"
      'args' => array (4)
      string (54) "mysql:host=localhost;dbname=bobmar_review;charset=utf8"
      string (13) "bobmar_logger"
      string (12) "rQT6o5x@kx6!"
      array (2)
      '20' => integer 0
      '3' => integer 2
      array (6)
      'file' => string (48) "/home/bobmar/public_html/review/includes/lib.php"
      'line' => integer 21
      'function' => string (11) "__construct"
      'class' => string (12) "dbConnection"
      'type' => string (2) "->"
      'args' => array (0)
      array (4)
      'file' => string (60) "/home/bobmar/public_html/review/application/includes/lib.php"
      'line' => integer 2
      'args' => array (1)
      string (48) "/home/bobmar/public_html/review/includes/lib.php"
      'function' => string (12) "require_once"
      array (4)
      'file' => string (53) "/home/bobmar/public_html/review/application/index.php"
      'line' => integer 4
      'args' => array (1)
      string (60) "/home/bobmar/public_html/review/application/includes/lib.php"
      'function' => string (12) "require_once"
      private previous -> NULL
      public errorInfo -> NULL
    • final public getCode()
      Inherited from Exception
      
      final public getFile()
      Inherited from Exception
      
      final public getLine()
      Inherited from Exception
      
      final public getMessage()
      Inherited from Exception
      
      final public getPrevious()
      Inherited from Exception
      
      final public getTrace()
      Inherited from Exception
      
      final public getTraceAsString()
      Inherited from Exception
      
      public __construct($message, $code, $previous)
      Inherited from Exception
      
      public __toString()
      Inherited from Exception
      
      final private __clone()
      Inherited from Exception