Warning: PDO::__construct() [pdo.--construct]: [2002] No such file or directory (trying to connect via unix:///var/lib/mysql/mysql.sock) in /home/noveda/domains/babylaarsjes.nl/framework/libraries/Database.php on line 41
object(PDOException)#7 (8) {
  ["message":protected]=>
  string(48) "SQLSTATE[HY000] [2002] No such file or directory"
  ["string":"Exception":private]=>
  string(0) ""
  ["code":protected]=>
  int(2002)
  ["file":protected]=>
  string(69) "/home/noveda/domains/babylaarsjes.nl/framework/libraries/Database.php"
  ["line":protected]=>
  int(41)
  ["trace":"Exception":private]=>
  array(8) {
    [0]=>
    array(6) {
      ["file"]=>
      string(69) "/home/noveda/domains/babylaarsjes.nl/framework/libraries/Database.php"
      ["line"]=>
      int(41)
      ["function"]=>
      string(11) "__construct"
      ["class"]=>
      string(3) "PDO"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(4) {
        [0]=>
        string(68) "mysql:host=localhost;port=3306;dbname=noveda_babylaars;charset=UTF-8"
        [1]=>
        string(16) "noveda_babylaars"
        [2]=>
        string(7) "byt3n0w"
        [3]=>
        array(1) {
          [1002]=>
          string(16) "SET NAMES 'utf8'"
        }
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(66) "/home/noveda/domains/babylaarsjes.nl/framework/libraries/Model.php"
      ["line"]=>
      int(34)
      ["function"]=>
      string(8) "instance"
      ["class"]=>
      string(8) "Database"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(0) {
      }
    }
    [2]=>
    array(4) {
      ["function"]=>
      string(6) "getAll"
      ["class"]=>
      string(5) "Model"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(3) {
        [0]=>
        &string(906) "
			SELECT
				pr.id, pr.title, pr.title_override, pr.quicklink, pr.price,
				fd.id feed_id, fd.quicklink feed_quicklink,
				ven.id vendor_id, ven.title vendor_title, ven.quicklink vendor_quicklink,
				primg.filename product_image_filename,
				venimg.filename vendor_image_filename

			FROM products pr

			INNER JOIN categories cat
			ON pr.category_id = cat.id
			AND cat.online = 1

			INNER JOIN feeds fd
			ON pr.feed_id = fd.id

			INNER JOIN vendors ven
			ON pr.vendor_id = ven.id

			LEFT JOIN colors col
			ON pr.color_id = col.id

			LEFT JOIN images primg
			ON pr.id = primg.related_id
			AND primg.related_table = 'products'
			AND primg.sequence = 1

			LEFT JOIN images venimg
			ON ven.id = venimg.related_id
			AND venimg.related_table = 'vendors_logo'
			AND venimg.sequence = 1

			WHERE pr.online = 1
			AND 1
			
			GROUP BY pr.id

			ORDER BY price asc
			LIMIT :start, :limit
		"
        [1]=>
        &array(3) {
          [0]=>
          string(6) ":start"
          [1]=>
          int(0)
          [2]=>
          int(1)
        }
        [2]=>
        &array(3) {
          [0]=>
          string(6) ":limit"
          [1]=>
          int(16)
          [2]=>
          int(1)
        }
      }
    }
    [3]=>
    array(4) {
      ["file"]=>
      string(72) "/home/noveda/domains/babylaarsjes.nl/application/models/ProductModel.php"
      ["line"]=>
      int(271)
      ["function"]=>
      string(20) "call_user_func_array"
      ["args"]=>
      array(2) {
        [0]=>
        &array(2) {
          [0]=>
          object(ProductModel)#5 (2) {
            ["table":protected]=>
            string(8) "products"
            ["primaryKey":protected]=>
            string(2) "id"
          }
          [1]=>
          string(6) "getAll"
        }
        [1]=>
        &array(3) {
          [0]=>
          string(906) "
			SELECT
				pr.id, pr.title, pr.title_override, pr.quicklink, pr.price,
				fd.id feed_id, fd.quicklink feed_quicklink,
				ven.id vendor_id, ven.title vendor_title, ven.quicklink vendor_quicklink,
				primg.filename product_image_filename,
				venimg.filename vendor_image_filename

			FROM products pr

			INNER JOIN categories cat
			ON pr.category_id = cat.id
			AND cat.online = 1

			INNER JOIN feeds fd
			ON pr.feed_id = fd.id

			INNER JOIN vendors ven
			ON pr.vendor_id = ven.id

			LEFT JOIN colors col
			ON pr.color_id = col.id

			LEFT JOIN images primg
			ON pr.id = primg.related_id
			AND primg.related_table = 'products'
			AND primg.sequence = 1

			LEFT JOIN images venimg
			ON ven.id = venimg.related_id
			AND venimg.related_table = 'vendors_logo'
			AND venimg.sequence = 1

			WHERE pr.online = 1
			AND 1
			
			GROUP BY pr.id

			ORDER BY price asc
			LIMIT :start, :limit
		"
          [1]=>
          array(3) {
            [0]=>
            string(6) ":start"
            [1]=>
            int(0)
            [2]=>
            int(1)
          }
          [2]=>
          array(3) {
            [0]=>
            string(6) ":limit"
            [1]=>
            int(16)
            [2]=>
            int(1)
          }
        }
      }
    }
    [4]=>
    array(6) {
      ["file"]=>
      string(90) "/home/noveda/domains/babylaarsjes.nl/application/controllers/front/HomeFrontController.php"
      ["line"]=>
      int(17)
      ["function"]=>
      string(24) "frontGetFilteredOverview"
      ["class"]=>
      string(12) "ProductModel"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(5) {
        [0]=>
        &array(0) {
        }
        [1]=>
        &int(0)
        [2]=>
        &int(16)
        [3]=>
        &string(5) "price"
        [4]=>
        &string(3) "asc"
      }
    }
    [5]=>
    array(4) {
      ["function"]=>
      string(5) "index"
      ["class"]=>
      string(19) "HomeFrontController"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [6]=>
    array(4) {
      ["file"]=>
      string(67) "/home/noveda/domains/babylaarsjes.nl/framework/libraries/Router.php"
      ["line"]=>
      int(110)
      ["function"]=>
      string(20) "call_user_func_array"
      ["args"]=>
      array(2) {
        [0]=>
        &array(2) {
          [0]=>
          object(HomeFrontController)#2 (4) {
            ["view":protected]=>
            object(View)#3 (19) {
              ["charset":protected]=>
              string(5) "utf-8"
              ["globals"]=>
              NULL
              ["compileDir":protected]=>
              string(62) "/home/noveda/domains/babylaarsjes.nl/cache/templates/compiled/"
              ["cacheDir":protected]=>
              string(60) "/home/noveda/domains/babylaarsjes.nl/cache/templates/cached/"
              ["cacheTime":protected]=>
              int(0)
              ["securityPolicy":protected]=>
              NULL
              ["plugins":protected]=>
              array(0) {
              }
              ["filters":protected]=>
              array(0) {
              }
              ["resources":protected]=>
              array(2) {
                ["file"]=>
                array(2) {
                  ["class"]=>
                  string(18) "Dwoo_Template_File"
                  ["compiler"]=>
                  NULL
                }
                ["string"]=>
                array(2) {
                  ["class"]=>
                  string(20) "Dwoo_Template_String"
                  ["compiler"]=>
                  NULL
                }
              }
              ["loader":protected]=>
              NULL
              ["template":protected]=>
              NULL
              ["runtimePlugins":protected]=>
              NULL
              ["data"]=>
              NULL
              ["scope"]=>
              NULL
              ["scopeTree":protected]=>
              NULL
              ["stack":protected]=>
              NULL
              ["curBlock":protected]=>
              NULL
              ["buffer":protected]=>
              NULL
              ["pluginProxy":protected]=>
              NULL
            }
            ["templatePath":protected]=>
            string(61) "/home/noveda/domains/babylaarsjes.nl/application/views/front/"
            ["templateData":protected]=>
            array(1) {
              ["googleAnalyticsAccount"]=>
              string(10) "UA-81411-8"
            }
            ["productsHistory"]=>
            object(ProductsHistory)#4 (1) {
              ["history":protected]=>
              array(0) {
              }
            }
          }
          [1]=>
          string(5) "index"
        }
        [1]=>
        &array(0) {
        }
      }
    }
    [7]=>
    array(6) {
      ["file"]=>
      string(58) "/home/noveda/domains/babylaarsjes.nl/public_html/index.php"
      ["line"]=>
      int(54)
      ["function"]=>
      string(12) "executeRoute"
      ["class"]=>
      string(6) "Router"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
  }
  ["previous":"Exception":private]=>
  NULL
  ["errorInfo"]=>
  NULL
}
Database connect failed