Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61) in /usr/home/www_icod243/htdocs/lib/MySQL.php on line 44
Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /usr/home/www_icod243/htdocs/lib/MySQL.php on line 347
Warning: MySQL::executeQuery(): Couldn't fetch mysqli in /usr/home/www_icod243/htdocs/lib/MySQL.php on line 159
object(SQLException)#7 (9) {
["userInfo":protected]=>
string(472) "
SELECT `id` AS `id`, `Category_id` AS `category_id`, `Title` AS `title`, `Description` AS `description`, `Price` AS `price`, `PriceForSort` AS `price_for_sort`, `PriceUnitForSort` AS `price_unit_for_sort`, `Path` AS `path`, `SortOrder` AS `sort_order`, `klass_id` AS `klass_id`, `File` AS `file`, `DownloadsCount` AS `downloads_count`
FROM `sd4_ShopProduct`
WHERE `id` = ''
LIMIT 2
"
["nativeError":protected]=>
NULL
["message":protected]=>
string(509) "Could not execute query [User Info:
SELECT `id` AS `id`, `Category_id` AS `category_id`, `Title` AS `title`, `Description` AS `description`, `Price` AS `price`, `PriceForSort` AS `price_for_sort`, `PriceUnitForSort` AS `price_unit_for_sort`, `Path` AS `path`, `SortOrder` AS `sort_order`, `klass_id` AS `klass_id`, `File` AS `file`, `DownloadsCount` AS `downloads_count`
FROM `sd4_ShopProduct`
WHERE `id` = ''
LIMIT 2
]"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(0)
["file":protected]=>
string(42) "/usr/home/www_icod243/htdocs/lib/MySQL.php"
["line":protected]=>
int(159)
["trace":"Exception":private]=>
array(5) {
[0]=>
array(6) {
["file"]=>
string(42) "/usr/home/www_icod243/htdocs/lib/MySQL.php"
["line"]=>
int(271)
["function"]=>
string(12) "executeQuery"
["class"]=>
string(5) "MySQL"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(472) "
SELECT `id` AS `id`, `Category_id` AS `category_id`, `Title` AS `title`, `Description` AS `description`, `Price` AS `price`, `PriceForSort` AS `price_for_sort`, `PriceUnitForSort` AS `price_unit_for_sort`, `Path` AS `path`, `SortOrder` AS `sort_order`, `klass_id` AS `klass_id`, `File` AS `file`, `DownloadsCount` AS `downloads_count`
FROM `sd4_ShopProduct`
WHERE `id` = ''
LIMIT 2
"
}
}
[1]=>
array(6) {
["file"]=>
string(43) "/usr/home/www_icod243/htdocs/lib/Mapper.php"
["line"]=>
int(85)
["function"]=>
string(6) "select"
["class"]=>
string(5) "MySQL"
["type"]=>
string(2) "->"
["args"]=>
array(4) {
[0]=>
array(12) {
["id"]=>
string(2) "id"
["category_id"]=>
string(11) "Category_id"
["title"]=>
string(5) "Title"
["description"]=>
string(11) "Description"
["price"]=>
string(5) "Price"
["price_for_sort"]=>
string(12) "PriceForSort"
["price_unit_for_sort"]=>
string(16) "PriceUnitForSort"
["path"]=>
string(4) "Path"
["sort_order"]=>
string(9) "SortOrder"
["klass_id"]=>
string(8) "klass_id"
["file"]=>
string(4) "File"
["downloads_count"]=>
string(14) "DownloadsCount"
}
[1]=>
string(11) "ShopProduct"
[2]=>
string(9) "`id` = ''"
[3]=>
int(2)
}
}
[2]=>
array(6) {
["file"]=>
string(43) "/usr/home/www_icod243/htdocs/lib/Mapper.php"
["line"]=>
int(27)
["function"]=>
string(15) "getEntityFromDB"
["class"]=>
string(6) "Mapper"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
array(1) {
["id"]=>
int(24365)
}
}
}
[3]=>
array(6) {
["file"]=>
string(63) "/usr/home/www_icod243/htdocs/Controller/ShopGetDocumentFile.php"
["line"]=>
int(18)
["function"]=>
string(10) "loadEntity"
["class"]=>
string(6) "Mapper"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
int(24365)
}
}
[4]=>
array(6) {
["file"]=>
string(38) "/usr/home/www_icod243/htdocs/index.php"
["line"]=>
int(18)
["function"]=>
string(4) "init"
["class"]=>
string(30) "Controller_ShopGetDocumentFile"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
}
["previous":"Exception":private]=>
NULL
}