( ! ) Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Lost connection to MySQL server at 'reading initial communication packet', system error: 104 in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 47
Call Stack
#TimeMemoryFunctionLocation
10.0005674136{main}( )../index.php:0
20.8943937840IndexView->__construct( )../index.php:42
30.8943937840View->__construct( )../IndexView.php:24
40.8943942112Simpla->__get( )../IndexView.php:48
50.89471010600Money->__construct( )../Simpla.php:77
60.89471011160Simpla->__get( )../Simpla.php:24
70.89501048000Settings->__construct( )../Simpla.php:77
80.89501048552Settings->__get( )../Simpla.php:25
90.89501048552Simpla->__get( )../Settings.php:35
100.89591257336Database->__construct( )../Simpla.php:77
110.89591257336Database->connect( )../Database.php:26
120.89681369248mysql_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.0005674136{main}( )../index.php:0
20.8943937840IndexView->__construct( )../index.php:42
30.8943937840View->__construct( )../IndexView.php:24
40.8943942112Simpla->__get( )../IndexView.php:48
50.89471010600Money->__construct( )../Simpla.php:77
60.89471011160Simpla->__get( )../Simpla.php:24
70.89501048000Settings->__construct( )../Simpla.php:77
80.89501048552Settings->__get( )../Simpla.php:25
90.89501048552Simpla->__get( )../Settings.php:35
100.89591257336Database->__construct( )../Simpla.php:77
110.89591257336Database->connect( )../Database.php:26
120.90161369968trigger_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.0005674136{main}( )../index.php:0
20.8943937840IndexView->__construct( )../index.php:42
30.8943937840View->__construct( )../IndexView.php:24
40.8943942112Simpla->__get( )../IndexView.php:48
50.89471010600Money->__construct( )../Simpla.php:77
60.89471011160Simpla->__get( )../Simpla.php:24
70.89501048000Settings->__construct( )../Simpla.php:77
80.90191369520Database->query( )../Settings.php:25
90.90211370976trigger_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.0005674136{main}( )../index.php:0
20.8943937840IndexView->__construct( )../index.php:42
30.8943937840View->__construct( )../IndexView.php:24
40.8943942112Simpla->__get( )../IndexView.php:48
50.89471010600Money->__construct( )../Simpla.php:77
60.89471011160Simpla->__get( )../Simpla.php:24
70.89501048000Settings->__construct( )../Simpla.php:77
80.90211369544Database->results( )../Settings.php:28
90.90211370016mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0005674136{main}( )../index.php:0
20.8943937840IndexView->__construct( )../index.php:42
30.8943937840View->__construct( )../IndexView.php:24
40.8943942112Simpla->__get( )../IndexView.php:48
50.89471010600Money->__construct( )../Simpla.php:77
60.89471011160Simpla->__get( )../Simpla.php:24
70.89501048000Settings->__construct( )../Simpla.php:77
80.90211369544Database->results( )../Settings.php:28
90.90221370176trigger_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.0005674136{main}( )../index.php:0
20.8943937840IndexView->__construct( )../index.php:42
30.8943937840View->__construct( )../IndexView.php:24
40.8943942112Simpla->__get( )../IndexView.php:48
50.89471010600Money->__construct( )../Simpla.php:77
60.89471011160Simpla->__get( )../Simpla.php:24
70.89501048000Settings->__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.0005674136{main}( )../index.php:0
20.8943937840IndexView->__construct( )../index.php:42
30.8943937840View->__construct( )../IndexView.php:24
40.8943942112Simpla->__get( )../IndexView.php:48
50.89471010600Money->__construct( )../Simpla.php:77
60.91372090552Money->init_currencies( )../Money.php:32
70.91372091288Database->query( )../Money.php:40
80.91382092856trigger_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.0005674136{main}( )../index.php:0
20.8943937840IndexView->__construct( )../index.php:42
30.8943937840View->__construct( )../IndexView.php:24
40.8943942112Simpla->__get( )../IndexView.php:48
50.89471010600Money->__construct( )../Simpla.php:77
60.91372090552Money->init_currencies( )../Money.php:32
70.91392091288Database->results( )../Money.php:42
80.91392091760mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0005674136{main}( )../index.php:0
20.8943937840IndexView->__construct( )../index.php:42
30.8943937840View->__construct( )../IndexView.php:24
40.8943942112Simpla->__get( )../IndexView.php:48
50.89471010600Money->__construct( )../Simpla.php:77
60.91372090552Money->init_currencies( )../Money.php:32
70.91392091288Database->results( )../Money.php:42
80.91412091920trigger_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.0005674136{main}( )../index.php:0
20.8943937840IndexView->__construct( )../index.php:42
30.8943937840View->__construct( )../IndexView.php:24
40.8943942112Simpla->__get( )../IndexView.php:48
50.89471010600Money->__construct( )../Simpla.php:77
60.91372090552Money->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='catalog/sensorika' LIMIT 1] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0005674136{main}( )../index.php:0
20.8943937840IndexView->__construct( )../index.php:42
30.8943937840View->__construct( )../IndexView.php:24
40.91542261800Pages->get_page( )../View.php:80
50.91552262680Database->query( )../Pages.php:33
60.91562264504trigger_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.0005674136{main}( )../index.php:0
20.91692285928IndexView->fetch( )../index.php:45
30.942617824744Categories->get_categories_tree( )../IndexView.php:47
40.942617824744Categories->init_categories( )../Categories.php:62
50.942617827344Database->query( )../Categories.php:187
60.942717829168trigger_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.0005674136{main}( )../index.php:0
20.91692285928IndexView->fetch( )../index.php:45
30.942617824744Categories->get_categories_tree( )../IndexView.php:47
40.942617824744Categories->init_categories( )../Categories.php:62
50.942717827344Database->results( )../Categories.php:188
60.942717827816mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0005674136{main}( )../index.php:0
20.91692285928IndexView->fetch( )../index.php:45
30.942617824744Categories->get_categories_tree( )../IndexView.php:47
40.942617824744Categories->init_categories( )../Categories.php:62
50.942717827344Database->results( )../Categories.php:188
60.942817827976trigger_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.0005674136{main}( )../index.php:0
20.91692285928IndexView->fetch( )../index.php:45
30.943017827224Pages->get_pages( )../IndexView.php:50
40.943117828152Database->query( )../Pages.php:58
50.943117829992trigger_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.0005674136{main}( )../index.php:0
20.91692285928IndexView->fetch( )../index.php:45
30.943017827224Pages->get_pages( )../IndexView.php:50
40.943117828152Database->results( )../Pages.php:60
50.943117828624mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0005674136{main}( )../index.php:0
20.91692285928IndexView->fetch( )../index.php:45
30.943017827224Pages->get_pages( )../IndexView.php:50
40.943117828152Database->results( )../Pages.php:60
50.943217828784trigger_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.0005674136{main}( )../index.php:0
20.91692285928IndexView->fetch( )../index.php:45
30.943017827224Pages->get_pages( )../IndexView.php:50

( ! ) 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.0005674136{main}( )../index.php:0
20.95003185472header ( )../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.0005674136{main}( )../index.php:0
20.95013186336IndexView->fetch( )../index.php:59
30.960217939416Pages->get_pages( )../IndexView.php:50
40.960317940320Database->query( )../Pages.php:58
50.960317942160trigger_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.0005674136{main}( )../index.php:0
20.95013186336IndexView->fetch( )../index.php:59
30.960217939416Pages->get_pages( )../IndexView.php:50
40.960417940320Database->results( )../Pages.php:60
50.960417940792mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0005674136{main}( )../index.php:0
20.95013186336IndexView->fetch( )../index.php:59
30.960217939416Pages->get_pages( )../IndexView.php:50
40.960417940320Database->results( )../Pages.php:60
50.960417940952trigger_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.0005674136{main}( )../index.php:0
20.95013186336IndexView->fetch( )../index.php:59
30.960217939416Pages->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.0005674136{main}( )../index.php:0
20.95013186336IndexView->fetch( )../index.php:59
30.960817960848PageView->fetch( )../IndexView.php:106
40.960917961584Pages->get_page( )../PageView.php:21
50.960917962024Database->query( )../Pages.php:33
60.961017963784trigger_error ( )../Database.php:110