( ! ) 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.0002673360{main}( )../index.php:0
20.0012937096IndexView->__construct( )../index.php:42
30.0012937096View->__construct( )../IndexView.php:24
40.0013941368Simpla->__get( )../IndexView.php:48
50.00151009856Money->__construct( )../Simpla.php:77
60.00151010416Simpla->__get( )../Simpla.php:24
70.00171047256Settings->__construct( )../Simpla.php:77
80.00171047808Settings->__get( )../Simpla.php:25
90.00171047808Simpla->__get( )../Settings.php:35
100.00241256576Database->__construct( )../Simpla.php:77
110.00241256576Database->connect( )../Database.php:26
120.00311368472mysql_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.0002673360{main}( )../index.php:0
20.0012937096IndexView->__construct( )../index.php:42
30.0012937096View->__construct( )../IndexView.php:24
40.0013941368Simpla->__get( )../IndexView.php:48
50.00151009856Money->__construct( )../Simpla.php:77
60.00151010416Simpla->__get( )../Simpla.php:24
70.00171047256Settings->__construct( )../Simpla.php:77
80.00171047808Settings->__get( )../Simpla.php:25
90.00171047808Simpla->__get( )../Settings.php:35
100.00241256576Database->__construct( )../Simpla.php:77
110.00241256576Database->connect( )../Database.php:26
120.00321369184trigger_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.0002673360{main}( )../index.php:0
20.0012937096IndexView->__construct( )../index.php:42
30.0012937096View->__construct( )../IndexView.php:24
40.0013941368Simpla->__get( )../IndexView.php:48
50.00151009856Money->__construct( )../Simpla.php:77
60.00151010416Simpla->__get( )../Simpla.php:24
70.00171047256Settings->__construct( )../Simpla.php:77
80.00331368736Database->query( )../Settings.php:25
90.00341370192trigger_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.0002673360{main}( )../index.php:0
20.0012937096IndexView->__construct( )../index.php:42
30.0012937096View->__construct( )../IndexView.php:24
40.0013941368Simpla->__get( )../IndexView.php:48
50.00151009856Money->__construct( )../Simpla.php:77
60.00151010416Simpla->__get( )../Simpla.php:24
70.00171047256Settings->__construct( )../Simpla.php:77
80.00341368760Database->results( )../Settings.php:28
90.00341369232mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002673360{main}( )../index.php:0
20.0012937096IndexView->__construct( )../index.php:42
30.0012937096View->__construct( )../IndexView.php:24
40.0013941368Simpla->__get( )../IndexView.php:48
50.00151009856Money->__construct( )../Simpla.php:77
60.00151010416Simpla->__get( )../Simpla.php:24
70.00171047256Settings->__construct( )../Simpla.php:77
80.00341368760Database->results( )../Settings.php:28
90.00351369392trigger_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.0002673360{main}( )../index.php:0
20.0012937096IndexView->__construct( )../index.php:42
30.0012937096View->__construct( )../IndexView.php:24
40.0013941368Simpla->__get( )../IndexView.php:48
50.00151009856Money->__construct( )../Simpla.php:77
60.00151010416Simpla->__get( )../Simpla.php:24
70.00171047256Settings->__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.0002673360{main}( )../index.php:0
20.0012937096IndexView->__construct( )../index.php:42
30.0012937096View->__construct( )../IndexView.php:24
40.0013941368Simpla->__get( )../IndexView.php:48
50.00151009856Money->__construct( )../Simpla.php:77
60.00632089688Money->init_currencies( )../Money.php:32
70.00632090424Database->query( )../Money.php:40
80.00642091992trigger_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.0002673360{main}( )../index.php:0
20.0012937096IndexView->__construct( )../index.php:42
30.0012937096View->__construct( )../IndexView.php:24
40.0013941368Simpla->__get( )../IndexView.php:48
50.00151009856Money->__construct( )../Simpla.php:77
60.00632089688Money->init_currencies( )../Money.php:32
70.00642090424Database->results( )../Money.php:42
80.00642090896mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002673360{main}( )../index.php:0
20.0012937096IndexView->__construct( )../index.php:42
30.0012937096View->__construct( )../IndexView.php:24
40.0013941368Simpla->__get( )../IndexView.php:48
50.00151009856Money->__construct( )../Simpla.php:77
60.00632089688Money->init_currencies( )../Money.php:32
70.00642090424Database->results( )../Money.php:42
80.00652091056trigger_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.0002673360{main}( )../index.php:0
20.0012937096IndexView->__construct( )../index.php:42
30.0012937096View->__construct( )../IndexView.php:24
40.0013941368Simpla->__get( )../IndexView.php:48
50.00151009856Money->__construct( )../Simpla.php:77
60.00632089688Money->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='blog/vsem-pokupatelyam-internet-magazina-vunderkind-kalejdoskopy-v-podarok' LIMIT 1] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0002673360{main}( )../index.php:0
20.0012937096IndexView->__construct( )../index.php:42
30.0012937096View->__construct( )../IndexView.php:24
40.00732261088Pages->get_page( )../View.php:80
50.00742262088Database->query( )../Pages.php:33
60.00742264136trigger_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.0002673360{main}( )../index.php:0
20.00792285064IndexView->fetch( )../index.php:45
30.017217823920Categories->get_categories_tree( )../IndexView.php:47
40.017217823920Categories->init_categories( )../Categories.php:62
50.017217826520Database->query( )../Categories.php:187
60.017317828344trigger_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.0002673360{main}( )../index.php:0
20.00792285064IndexView->fetch( )../index.php:45
30.017217823920Categories->get_categories_tree( )../IndexView.php:47
40.017217823920Categories->init_categories( )../Categories.php:62
50.017317826520Database->results( )../Categories.php:188
60.017317826992mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002673360{main}( )../index.php:0
20.00792285064IndexView->fetch( )../index.php:45
30.017217823920Categories->get_categories_tree( )../IndexView.php:47
40.017217823920Categories->init_categories( )../Categories.php:62
50.017317826520Database->results( )../Categories.php:188
60.017417827152trigger_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.0002673360{main}( )../index.php:0
20.00792285064IndexView->fetch( )../index.php:45
30.017617826400Pages->get_pages( )../IndexView.php:50
40.017617827304Database->query( )../Pages.php:58
50.017717829144trigger_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.0002673360{main}( )../index.php:0
20.00792285064IndexView->fetch( )../index.php:45
30.017617826400Pages->get_pages( )../IndexView.php:50
40.017717827304Database->results( )../Pages.php:60
50.017717827776mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002673360{main}( )../index.php:0
20.00792285064IndexView->fetch( )../index.php:45
30.017617826400Pages->get_pages( )../IndexView.php:50
40.017717827304Database->results( )../Pages.php:60
50.017717827936trigger_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.0002673360{main}( )../index.php:0
20.00792285064IndexView->fetch( )../index.php:45
30.017617826400Pages->get_pages( )../IndexView.php:50

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT b.id, b.url, b.name, b.annotation, b.text, b.meta_title, b.meta_keywords, b.meta_description, b.visible, b.date FROM s_blog b WHERE b.url='vsem-pokupatelyam-internet-magazina-vunderkind-kalejdoskopy-v-podarok' LIMIT 1] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0002673360{main}( )../index.php:0
20.00792285064IndexView->fetch( )../index.php:45
30.018317908096BlogView->fetch( )../IndexView.php:106
40.018317908712BlogView->fetch_post( )../BlogView.php:26
50.018718005632Blog->get_post( )../BlogView.php:38
60.018818006984Database->query( )../Blog.php:34
70.018818009288trigger_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.0002673360{main}( )../index.php:0
20.01913252944header ( )../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.0002673360{main}( )../index.php:0
20.01913253688IndexView->fetch( )../index.php:59
30.026018006808Pages->get_pages( )../IndexView.php:50
40.026118007712Database->query( )../Pages.php:58
50.026118009552trigger_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.0002673360{main}( )../index.php:0
20.01913253688IndexView->fetch( )../index.php:59
30.026018006808Pages->get_pages( )../IndexView.php:50
40.026218007712Database->results( )../Pages.php:60
50.026218008184mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0002673360{main}( )../index.php:0
20.01913253688IndexView->fetch( )../index.php:59
30.026018006808Pages->get_pages( )../IndexView.php:50
40.026218007712Database->results( )../Pages.php:60
50.026418008344trigger_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.0002673360{main}( )../index.php:0
20.01913253688IndexView->fetch( )../index.php:59
30.026018006808Pages->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.0002673360{main}( )../index.php:0
20.01913253688IndexView->fetch( )../index.php:59
30.026718028280PageView->fetch( )../IndexView.php:106
40.026718029016Pages->get_page( )../PageView.php:21
50.026818029456Database->query( )../Pages.php:33
60.026818031216trigger_error ( )../Database.php:110