( ! ) 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.0004673144{main}( )../index.php:0
20.0018936880IndexView->__construct( )../index.php:42
30.0018936880View->__construct( )../IndexView.php:24
40.0018941152Simpla->__get( )../IndexView.php:48
50.00221009640Money->__construct( )../Simpla.php:77
60.00221010200Simpla->__get( )../Simpla.php:24
70.00241047040Settings->__construct( )../Simpla.php:77
80.00251047592Settings->__get( )../Simpla.php:25
90.00251047592Simpla->__get( )../Settings.php:35
100.00341256312Database->__construct( )../Simpla.php:77
110.00341256312Database->connect( )../Database.php:26
120.00431368216mysql_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.0004673144{main}( )../index.php:0
20.0018936880IndexView->__construct( )../index.php:42
30.0018936880View->__construct( )../IndexView.php:24
40.0018941152Simpla->__get( )../IndexView.php:48
50.00221009640Money->__construct( )../Simpla.php:77
60.00221010200Simpla->__get( )../Simpla.php:24
70.00241047040Settings->__construct( )../Simpla.php:77
80.00251047592Settings->__get( )../Simpla.php:25
90.00251047592Simpla->__get( )../Settings.php:35
100.00341256312Database->__construct( )../Simpla.php:77
110.00341256312Database->connect( )../Database.php:26
120.00461368928trigger_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.0004673144{main}( )../index.php:0
20.0018936880IndexView->__construct( )../index.php:42
30.0018936880View->__construct( )../IndexView.php:24
40.0018941152Simpla->__get( )../IndexView.php:48
50.00221009640Money->__construct( )../Simpla.php:77
60.00221010200Simpla->__get( )../Simpla.php:24
70.00241047040Settings->__construct( )../Simpla.php:77
80.00491368480Database->query( )../Settings.php:25
90.00491369936trigger_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.0004673144{main}( )../index.php:0
20.0018936880IndexView->__construct( )../index.php:42
30.0018936880View->__construct( )../IndexView.php:24
40.0018941152Simpla->__get( )../IndexView.php:48
50.00221009640Money->__construct( )../Simpla.php:77
60.00221010200Simpla->__get( )../Simpla.php:24
70.00241047040Settings->__construct( )../Simpla.php:77
80.00501368504Database->results( )../Settings.php:28
90.00501368976mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0004673144{main}( )../index.php:0
20.0018936880IndexView->__construct( )../index.php:42
30.0018936880View->__construct( )../IndexView.php:24
40.0018941152Simpla->__get( )../IndexView.php:48
50.00221009640Money->__construct( )../Simpla.php:77
60.00221010200Simpla->__get( )../Simpla.php:24
70.00241047040Settings->__construct( )../Simpla.php:77
80.00501368504Database->results( )../Settings.php:28
90.00511369136trigger_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.0004673144{main}( )../index.php:0
20.0018936880IndexView->__construct( )../index.php:42
30.0018936880View->__construct( )../IndexView.php:24
40.0018941152Simpla->__get( )../IndexView.php:48
50.00221009640Money->__construct( )../Simpla.php:77
60.00221010200Simpla->__get( )../Simpla.php:24
70.00241047040Settings->__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.0004673144{main}( )../index.php:0
20.0018936880IndexView->__construct( )../index.php:42
30.0018936880View->__construct( )../IndexView.php:24
40.0018941152Simpla->__get( )../IndexView.php:48
50.00221009640Money->__construct( )../Simpla.php:77
60.00932089488Money->init_currencies( )../Money.php:32
70.00932090224Database->query( )../Money.php:40
80.00942091792trigger_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.0004673144{main}( )../index.php:0
20.0018936880IndexView->__construct( )../index.php:42
30.0018936880View->__construct( )../IndexView.php:24
40.0018941152Simpla->__get( )../IndexView.php:48
50.00221009640Money->__construct( )../Simpla.php:77
60.00932089488Money->init_currencies( )../Money.php:32
70.00942090224Database->results( )../Money.php:42
80.00942090696mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0004673144{main}( )../index.php:0
20.0018936880IndexView->__construct( )../index.php:42
30.0018936880View->__construct( )../IndexView.php:24
40.0018941152Simpla->__get( )../IndexView.php:48
50.00221009640Money->__construct( )../Simpla.php:77
60.00932089488Money->init_currencies( )../Money.php:32
70.00942090224Database->results( )../Money.php:42
80.00962090856trigger_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.0004673144{main}( )../index.php:0
20.0018936880IndexView->__construct( )../index.php:42
30.0018936880View->__construct( )../IndexView.php:24
40.0018941152Simpla->__get( )../IndexView.php:48
50.00221009640Money->__construct( )../Simpla.php:77
60.00932089488Money->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/a-vy-uzhe-chitali-novyj-vypusk-zhurnala-vunderkind' LIMIT 1] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0004673144{main}( )../index.php:0
20.0018936880IndexView->__construct( )../index.php:42
30.0018936880View->__construct( )../IndexView.php:24
40.01192260808Pages->get_page( )../View.php:80
50.01202261768Database->query( )../Pages.php:33
60.01202263736trigger_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.0004673144{main}( )../index.php:0
20.01282284840IndexView->fetch( )../index.php:45
30.024817823768Categories->get_categories_tree( )../IndexView.php:47
40.024817823768Categories->init_categories( )../Categories.php:62
50.024817826368Database->query( )../Categories.php:187
60.024917828192trigger_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.0004673144{main}( )../index.php:0
20.01282284840IndexView->fetch( )../index.php:45
30.024817823768Categories->get_categories_tree( )../IndexView.php:47
40.024817823768Categories->init_categories( )../Categories.php:62
50.025017826368Database->results( )../Categories.php:188
60.025017826840mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0004673144{main}( )../index.php:0
20.01282284840IndexView->fetch( )../index.php:45
30.024817823768Categories->get_categories_tree( )../IndexView.php:47
40.024817823768Categories->init_categories( )../Categories.php:62
50.025017826368Database->results( )../Categories.php:188
60.025017827000trigger_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.0004673144{main}( )../index.php:0
20.01282284840IndexView->fetch( )../index.php:45
30.025317826248Pages->get_pages( )../IndexView.php:50
40.025417827152Database->query( )../Pages.php:58
50.025417828992trigger_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.0004673144{main}( )../index.php:0
20.01282284840IndexView->fetch( )../index.php:45
30.025317826248Pages->get_pages( )../IndexView.php:50
40.025517827152Database->results( )../Pages.php:60
50.025517827624mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0004673144{main}( )../index.php:0
20.01282284840IndexView->fetch( )../index.php:45
30.025317826248Pages->get_pages( )../IndexView.php:50
40.025517827152Database->results( )../Pages.php:60
50.025517827784trigger_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.0004673144{main}( )../index.php:0
20.01282284840IndexView->fetch( )../index.php:45
30.025317826248Pages->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='a-vy-uzhe-chitali-novyj-vypusk-zhurnala-vunderkind' LIMIT 1] in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 110
Call Stack
#TimeMemoryFunctionLocation
10.0004673144{main}( )../index.php:0
20.01282284840IndexView->fetch( )../index.php:45
30.026217907888BlogView->fetch( )../IndexView.php:106
40.026217908488BlogView->fetch_post( )../BlogView.php:26
50.026718005384Blog->get_post( )../BlogView.php:38
60.026818006680Database->query( )../Blog.php:34
70.026918008904trigger_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.0004673144{main}( )../index.php:0
20.02733252720header ( )../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.0004673144{main}( )../index.php:0
20.02743253464IndexView->fetch( )../index.php:59
30.035518006616Pages->get_pages( )../IndexView.php:50
40.035618007520Database->query( )../Pages.php:58
50.035618009360trigger_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.0004673144{main}( )../index.php:0
20.02743253464IndexView->fetch( )../index.php:59
30.035518006616Pages->get_pages( )../IndexView.php:50
40.035718007520Database->results( )../Pages.php:60
50.035718007992mysql_error ( )../Database.php:161

( ! ) Warning: in /home/webmaster/www/wkind.ru/htdocs/shop/api/Database.php on line 161
Call Stack
#TimeMemoryFunctionLocation
10.0004673144{main}( )../index.php:0
20.02743253464IndexView->fetch( )../index.php:59
30.035518006616Pages->get_pages( )../IndexView.php:50
40.035718007520Database->results( )../Pages.php:60
50.035918008152trigger_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.0004673144{main}( )../index.php:0
20.02743253464IndexView->fetch( )../index.php:59
30.035518006616Pages->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.0004673144{main}( )../index.php:0
20.02743253464IndexView->fetch( )../index.php:59
30.036318028080PageView->fetch( )../IndexView.php:106
40.036418028816Pages->get_page( )../PageView.php:21
50.036518029256Database->query( )../Pages.php:33
60.036518031016trigger_error ( )../Database.php:110