( ! ) Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 47
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.0015936760IndexView->__construct( )../index.php:42
30.0015936760View->__construct( )../IndexView.php:24
40.0015941032Simpla->__get( )../IndexView.php:48
50.00191009520Money->__construct( )../Simpla.php:77
60.00191010080Simpla->__get( )../Simpla.php:24
70.00201046920Settings->__construct( )../Simpla.php:77
80.00201047472Settings->__get( )../Simpla.php:25
90.00201047472Simpla->__get( )../Settings.php:35
100.00271256200Database->__construct( )../Simpla.php:77
110.00271256200Database->connect( )../Database.php:26
120.00321368128mysql_connect ( )../Database.php:47

( ! ) Warning: Could not connect to the database. Check the config file. in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 49
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.0015936760IndexView->__construct( )../index.php:42
30.0015936760View->__construct( )../IndexView.php:24
40.0015941032Simpla->__get( )../IndexView.php:48
50.00191009520Money->__construct( )../Simpla.php:77
60.00191010080Simpla->__get( )../Simpla.php:24
70.00201046920Settings->__construct( )../Simpla.php:77
80.00201047472Settings->__get( )../Simpla.php:25
90.00201047472Simpla->__get( )../Settings.php:35
100.00271256200Database->__construct( )../Simpla.php:77
110.00271256200Database->connect( )../Database.php:26
120.00341368840trigger_error ( )../Database.php:49

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT name, value FROM s_settings] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.0015936760IndexView->__construct( )../index.php:42
30.0015936760View->__construct( )../IndexView.php:24
40.0015941032Simpla->__get( )../IndexView.php:48
50.00191009520Money->__construct( )../Simpla.php:77
60.00191010080Simpla->__get( )../Simpla.php:24
70.00201046920Settings->__construct( )../Simpla.php:77
80.00351368392Database->query( )../Settings.php:25
90.00361369848trigger_error ( )../Database.php:110

( ! ) Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.0015936760IndexView->__construct( )../index.php:42
30.0015936760View->__construct( )../IndexView.php:24
40.0015941032Simpla->__get( )../IndexView.php:48
50.00191009520Money->__construct( )../Simpla.php:77
60.00191010080Simpla->__get( )../Simpla.php:24
70.00201046920Settings->__construct( )../Simpla.php:77
80.00361368416Database->results( )../Settings.php:28
90.00361368888mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.0015936760IndexView->__construct( )../index.php:42
30.0015936760View->__construct( )../IndexView.php:24
40.0015941032Simpla->__get( )../IndexView.php:48
50.00191009520Money->__construct( )../Simpla.php:77
60.00191010080Simpla->__get( )../Simpla.php:24
70.00201046920Settings->__construct( )../Simpla.php:77
80.00361368416Database->results( )../Settings.php:28
90.00371369048trigger_error ( )../Database.php:161

( ! ) Warning: Invalid argument supplied for foreach() in /home/webmaster/www/wkind.ru/htdocs/shop/api/Settings.php on line 28
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.0015936760IndexView->__construct( )../index.php:42
30.0015936760View->__construct( )../IndexView.php:24
40.0015941032Simpla->__get( )../IndexView.php:48
50.00191009520Money->__construct( )../Simpla.php:77
60.00191010080Simpla->__get( )../Simpla.php:24
70.00201046920Settings->__construct( )../Simpla.php:77

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT id, name, sign, code, rate_from, rate_to, cents, position, enabled FROM s_currencies ORDER BY position] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.0015936760IndexView->__construct( )../index.php:42
30.0015936760View->__construct( )../IndexView.php:24
40.0015941032Simpla->__get( )../IndexView.php:48
50.00191009520Money->__construct( )../Simpla.php:77
60.00632089360Money->init_currencies( )../Money.php:32
70.00632090096Database->query( )../Money.php:40
80.00642091664trigger_error ( )../Database.php:110

( ! ) Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.0015936760IndexView->__construct( )../index.php:42
30.0015936760View->__construct( )../IndexView.php:24
40.0015941032Simpla->__get( )../IndexView.php:48
50.00191009520Money->__construct( )../Simpla.php:77
60.00632089360Money->init_currencies( )../Money.php:32
70.00642090096Database->results( )../Money.php:42
80.00642090568mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.0015936760IndexView->__construct( )../index.php:42
30.0015936760View->__construct( )../IndexView.php:24
40.0015941032Simpla->__get( )../IndexView.php:48
50.00191009520Money->__construct( )../Simpla.php:77
60.00632089360Money->init_currencies( )../Money.php:32
70.00642090096Database->results( )../Money.php:42
80.00652090728trigger_error ( )../Database.php:161

( ! ) Warning: Invalid argument supplied for foreach() in /home/webmaster/www/wkind.ru/htdocs/shop/api/Money.php on line 44
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.0015936760IndexView->__construct( )../index.php:42
30.0015936760View->__construct( )../IndexView.php:24
40.0015941032Simpla->__get( )../IndexView.php:48
50.00191009520Money->__construct( )../Simpla.php:77
60.00632089360Money->init_currencies( )../Money.php:32

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT id, url, header, name, meta_title, meta_description, meta_keywords, body, menu_id, position, visible FROM s_pages WHERE url='products/konstruktor-magnitnyj-3-v-1' LIMIT 1] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.0015936760IndexView->__construct( )../index.php:42
30.0015936760View->__construct( )../IndexView.php:24
40.00732260696Pages->get_page( )../View.php:80
50.00742261624Database->query( )../Pages.php:33
60.00742263528trigger_error ( )../Database.php:110

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT id, parent_id, name, description, url, meta_title, meta_keywords, meta_description, image, visible, position FROM s_categories ORDER BY parent_id, position] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.00782284800IndexView->fetch( )../index.php:45
30.017817823544Categories->get_categories_tree( )../IndexView.php:47
40.017817823544Categories->init_categories( )../Categories.php:62
50.017917826144Database->query( )../Categories.php:187
60.018017827968trigger_error ( )../Database.php:110

( ! ) Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.00782284800IndexView->fetch( )../index.php:45
30.017817823544Categories->get_categories_tree( )../IndexView.php:47
40.017817823544Categories->init_categories( )../Categories.php:62
50.018117826144Database->results( )../Categories.php:188
60.018117826616mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.00782284800IndexView->fetch( )../index.php:45
30.017817823544Categories->get_categories_tree( )../IndexView.php:47
40.017817823544Categories->init_categories( )../Categories.php:62
50.018117826144Database->results( )../Categories.php:188
60.018117826776trigger_error ( )../Database.php:161

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT id, url, header, name, meta_title, meta_description, meta_keywords, body, menu_id, position, visible FROM s_pages WHERE 1 AND visible = 1 ORDER BY position] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.00782284800IndexView->fetch( )../index.php:45
30.018417826024Pages->get_pages( )../IndexView.php:50
40.018517826928Database->query( )../Pages.php:58
50.018517828768trigger_error ( )../Database.php:110

( ! ) Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.00782284800IndexView->fetch( )../index.php:45
30.018417826024Pages->get_pages( )../IndexView.php:50
40.018617826928Database->results( )../Pages.php:60
50.018617827400mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.00782284800IndexView->fetch( )../index.php:45
30.018417826024Pages->get_pages( )../IndexView.php:50
40.018617826928Database->results( )../Pages.php:60
50.018617827560trigger_error ( )../Database.php:161

( ! ) Warning: Invalid argument supplied for foreach() in /home/webmaster/www/wkind.ru/htdocs/shop/api/Pages.php on line 60
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.00782284800IndexView->fetch( )../index.php:45
30.018417826024Pages->get_pages( )../IndexView.php:50

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT DISTINCT p.id, p.url, p.brand_id, p.name, p.annotation, p.navik, p.rasvitie, p.body, p.position, p.created as created, p.visible, p.rating, p.votes, p.featured, p.meta_title, p.meta_keywords, p.meta_description FROM s_products AS p LEFT JOIN s_brands b ON p.brand_id = b.id WHERE p.url = 'konstruktor-magnitnyj-3-v-1' GROUP BY p.id LIMIT 1] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.00782284800IndexView->fetch( )../index.php:45
30.019317953880ProductView->fetch( )../IndexView.php:106
40.019317954800Products->get_product( )../ProductView.php:28
50.019517955784Database->query( )../Products.php:242
60.019617958920trigger_error ( )../Database.php:110

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php:47) in /home/webmaster/www/wkind.ru/htdocs/shop/index.php on line 54
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.01993201856header ( )../index.php:54

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT id, url, header, name, meta_title, meta_description, meta_keywords, body, menu_id, position, visible FROM s_pages WHERE 1 AND visible = 1 ORDER BY position] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.01993202608IndexView->fetch( )../index.php:59
30.032817955744Pages->get_pages( )../IndexView.php:50
40.032917956648Database->query( )../Pages.php:58
50.033017958488trigger_error ( )../Database.php:110

( ! ) Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.01993202608IndexView->fetch( )../index.php:59
30.032817955744Pages->get_pages( )../IndexView.php:50
40.033117956648Database->results( )../Pages.php:60
50.033117957120mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.01993202608IndexView->fetch( )../index.php:59
30.032817955744Pages->get_pages( )../IndexView.php:50
40.033117956648Database->results( )../Pages.php:60
50.033317957280trigger_error ( )../Database.php:161

( ! ) Warning: Invalid argument supplied for foreach() in /home/webmaster/www/wkind.ru/htdocs/shop/api/Pages.php on line 60
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.01993202608IndexView->fetch( )../index.php:59
30.032817955744Pages->get_pages( )../IndexView.php:50

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT id, url, header, name, meta_title, meta_description, meta_keywords, body, menu_id, position, visible FROM s_pages WHERE url='404' LIMIT 1] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0002672984{main}( )../index.php:0
20.01993202608IndexView->fetch( )../index.php:59
30.033617977184PageView->fetch( )../IndexView.php:106
40.033617977920Pages->get_page( )../PageView.php:21
50.033717978360Database->query( )../Pages.php:33
60.033717980120trigger_error ( )../Database.php:110