( ! ) Warning: syntax error, unexpected '(' in config/config.php on line 1 in /home/opt.perlanta.ru/api/Config.php on line 30
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0003258640Simpla->__get( ).../Simpla.php:24
70.0003262320Settings->__construct( ).../Simpla.php:77
80.0004262704Settings->__get( ).../Simpla.php:25
90.0004262704Simpla->__get( ).../Settings.php:35
100.0004271304Database->__construct( ).../Simpla.php:77
110.0004271544Database->connect( ).../Database.php:26
120.0004271880Simpla->__get( ).../Database.php:47
130.0004276400Config->__construct( ).../Simpla.php:77
140.0004276448parse_ini_file ( ).../Config.php:30

( ! ) Warning: Invalid argument supplied for foreach() in /home/opt.perlanta.ru/api/Config.php on line 32
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0003258640Simpla->__get( ).../Simpla.php:24
70.0003262320Settings->__construct( ).../Simpla.php:77
80.0004262704Settings->__get( ).../Simpla.php:25
90.0004262704Simpla->__get( ).../Settings.php:35
100.0004271304Database->__construct( ).../Simpla.php:77
110.0004271544Database->connect( ).../Database.php:26
120.0004271880Simpla->__get( ).../Database.php:47
130.0004276400Config->__construct( ).../Simpla.php:77

( ! ) Warning: mysql_connect(): Access denied for user 'www-data'@'localhost' (using password: NO) in /home/opt.perlanta.ru/api/Database.php on line 47
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0003258640Simpla->__get( ).../Simpla.php:24
70.0003262320Settings->__construct( ).../Simpla.php:77
80.0004262704Settings->__get( ).../Simpla.php:25
90.0004262704Simpla->__get( ).../Settings.php:35
100.0004271304Database->__construct( ).../Simpla.php:77
110.0004271544Database->connect( ).../Database.php:26
120.0013282448mysql_connect ( ).../Database.php:47

( ! ) Warning: Could not connect to the database. Check the config file. in /home/opt.perlanta.ru/api/Database.php on line 49
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0003258640Simpla->__get( ).../Simpla.php:24
70.0003262320Settings->__construct( ).../Simpla.php:77
80.0004262704Settings->__get( ).../Simpla.php:25
90.0004262704Simpla->__get( ).../Settings.php:35
100.0004271304Database->__construct( ).../Simpla.php:77
110.0004271544Database->connect( ).../Database.php:26
120.0021282536trigger_error ( ).../Database.php:49

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT name, value FROM settings] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0003258640Simpla->__get( ).../Simpla.php:24
70.0003262320Settings->__construct( ).../Simpla.php:77
80.0024282408Database->query( ).../Settings.php:25
90.0025283368trigger_error ( ).../Database.php:99

( ! ) Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0003258640Simpla->__get( ).../Simpla.php:24
70.0003262320Settings->__construct( ).../Simpla.php:77
80.0027282672Database->results( ).../Settings.php:28
90.0027282904mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0003258640Simpla->__get( ).../Simpla.php:24
70.0003262320Settings->__construct( ).../Simpla.php:77
80.0027282672Database->results( ).../Settings.php:28
90.0028283000trigger_error ( ).../Database.php:150

( ! ) Warning: Invalid argument supplied for foreach() in /home/opt.perlanta.ru/api/Settings.php on line 28
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0003258640Simpla->__get( ).../Simpla.php:24
70.0003262320Settings->__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 currencies ORDER BY position] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0039392704Money->init_currencies( ).../Money.php:32
70.0039393008Database->query( ).../Money.php:40
80.0039393976trigger_error ( ).../Database.php:99

( ! ) Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0039392704Money->init_currencies( ).../Money.php:32
70.0040393008Database->results( ).../Money.php:42
80.0040393240mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0039392704Money->init_currencies( ).../Money.php:32
70.0040393008Database->results( ).../Money.php:42
80.0042393336trigger_error ( ).../Database.php:150

( ! ) Warning: Invalid argument supplied for foreach() in /home/opt.perlanta.ru/api/Money.php on line 44
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0003252448Simpla->__get( ).../IndexView.php:48
50.0003258304Money->__construct( ).../Simpla.php:77
60.0039392704Money->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 pages WHERE url='products/luxory-5118-kremovo-korichnevaya' LIMIT 1] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0003251096IndexView->__construct( ).../index.php:19
30.0003252008View->__construct( ).../IndexView.php:24
40.0048403752Pages->get_page( ).../View.php:81
50.0049404608Database->query( ).../Pages.php:33
60.0050405840trigger_error ( ).../Database.php:99

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT c.id, c.parent_id, c.name, c.description, c.url, c.meta_title, c.meta_keywords, c.meta_description, c.image, c.visible, c.position FROM categories c ORDER BY c.parent_id, c.position] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0055415112IndexView->fetch( ).../index.php:30
30.0056429904Categories->get_categories_tree( ).../IndexView.php:39
40.0056430416Categories->init_categories( ).../Categories.php:62
50.0057432192Database->query( ).../Categories.php:202
60.0058433432trigger_error ( ).../Database.php:99

( ! ) Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0055415112IndexView->fetch( ).../index.php:30
30.0056429904Categories->get_categories_tree( ).../IndexView.php:39
40.0056430416Categories->init_categories( ).../Categories.php:62
50.0059432192Database->results( ).../Categories.php:203
60.0059432424mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0055415112IndexView->fetch( ).../index.php:30
30.0056429904Categories->get_categories_tree( ).../IndexView.php:39
40.0056430416Categories->init_categories( ).../Categories.php:62
50.0059432192Database->results( ).../Categories.php:203
60.0060432520trigger_error ( ).../Database.php:150

( ! ) 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 pages WHERE 1 AND visible = 1 ORDER BY position] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0055415112IndexView->fetch( ).../index.php:30
30.0063431864Pages->get_pages( ).../IndexView.php:42
40.0063432376Database->query( ).../Pages.php:58
50.0064433552trigger_error ( ).../Database.php:99

( ! ) Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0055415112IndexView->fetch( ).../index.php:30
30.0063431864Pages->get_pages( ).../IndexView.php:42
40.0065432376Database->results( ).../Pages.php:60
50.0065432608mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0055415112IndexView->fetch( ).../index.php:30
30.0063431864Pages->get_pages( ).../IndexView.php:42
40.0065432376Database->results( ).../Pages.php:60
50.0066432704trigger_error ( ).../Database.php:150

( ! ) Warning: Invalid argument supplied for foreach() in /home/opt.perlanta.ru/api/Pages.php on line 60
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0055415112IndexView->fetch( ).../index.php:30
30.0063431864Pages->get_pages( ).../IndexView.php:42

( ! ) Warning: Could not execute query to database, wrong database link. [SELECT DISTINCT p.id, p.url, p.brand_id, p.name, p.annotation, p.body, p.position, p.created as created, p.visible, p.featured, p.meta_title, p.meta_keywords, p.meta_description FROM products AS p LEFT JOIN brands b ON p.brand_id = b.id WHERE p.url = 'luxory-5118-kremovo-korichnevaya' GROUP BY p.id LIMIT 1] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0055415112IndexView->fetch( ).../index.php:30
30.0068441296ProductView->fetch( ).../IndexView.php:65
40.0069450208Products->get_product( ).../ProductView.php:28
50.0069451144Database->query( ).../Products.php:247
60.0070453184trigger_error ( ).../Database.php:99

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /home/opt.perlanta.ru/api/Config.php:30) in /home/opt.perlanta.ru/index.php on line 47
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0073450168header ( ).../index.php:47

( ! ) 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 pages WHERE 1 AND visible = 1 ORDER BY position] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0074450672IndexView->fetch( ).../index.php:52
30.0074451024Pages->get_pages( ).../IndexView.php:42
40.0075451536Database->query( ).../Pages.php:58
50.0075452712trigger_error ( ).../Database.php:99

( ! ) Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0074450672IndexView->fetch( ).../index.php:52
30.0074451024Pages->get_pages( ).../IndexView.php:42
40.0076451536Database->results( ).../Pages.php:60
50.0076451768mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0074450672IndexView->fetch( ).../index.php:52
30.0074451024Pages->get_pages( ).../IndexView.php:42
40.0076451536Database->results( ).../Pages.php:60
50.0077451864trigger_error ( ).../Database.php:150

( ! ) Warning: Invalid argument supplied for foreach() in /home/opt.perlanta.ru/api/Pages.php on line 60
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0074450672IndexView->fetch( ).../index.php:52
30.0074451024Pages->get_pages( ).../IndexView.php:42

( ! ) 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 pages WHERE url='404' LIMIT 1] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0000231368{main}( ).../index.php:0
20.0074450672IndexView->fetch( ).../index.php:52
30.0080456624PageView->fetch( ).../IndexView.php:65
40.0081457112Pages->get_page( ).../PageView.php:21
50.0081457424Database->query( ).../Pages.php:33
60.0082458544trigger_error ( ).../Database.php:99
Лицензия недействительна
Скрипт интернет-магазина Simpla