( ! ) 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.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0020419976Simpla->__get( ).../Simpla.php:24
70.0022434480Settings->__construct( ).../Simpla.php:77
80.0022434936Settings->__get( ).../Simpla.php:25
90.0022434936Simpla->__get( ).../Settings.php:35
100.0031540568Database->__construct( ).../Simpla.php:77
110.0031541088Database->connect( ).../Database.php:26
120.0031541488Simpla->__get( ).../Database.php:47
130.0034571504Config->__construct( ).../Simpla.php:77
140.0034571552parse_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.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0020419976Simpla->__get( ).../Simpla.php:24
70.0022434480Settings->__construct( ).../Simpla.php:77
80.0022434936Settings->__get( ).../Simpla.php:25
90.0022434936Simpla->__get( ).../Settings.php:35
100.0031540568Database->__construct( ).../Simpla.php:77
110.0031541088Database->connect( ).../Database.php:26
120.0031541488Simpla->__get( ).../Database.php:47
130.0034571504Config->__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.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0020419976Simpla->__get( ).../Simpla.php:24
70.0022434480Settings->__construct( ).../Simpla.php:77
80.0022434936Settings->__get( ).../Simpla.php:25
90.0022434936Simpla->__get( ).../Settings.php:35
100.0031540568Database->__construct( ).../Simpla.php:77
110.0031541088Database->connect( ).../Database.php:26
120.0042577592mysql_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.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0020419976Simpla->__get( ).../Simpla.php:24
70.0022434480Settings->__construct( ).../Simpla.php:77
80.0022434936Settings->__get( ).../Simpla.php:25
90.0022434936Simpla->__get( ).../Settings.php:35
100.0031540568Database->__construct( ).../Simpla.php:77
110.0031541088Database->connect( ).../Database.php:26
120.0052577760trigger_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.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0020419976Simpla->__get( ).../Simpla.php:24
70.0022434480Settings->__construct( ).../Simpla.php:77
80.0054577648Database->query( ).../Settings.php:25
90.0055578624trigger_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.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0020419976Simpla->__get( ).../Simpla.php:24
70.0022434480Settings->__construct( ).../Simpla.php:77
80.0057577896Database->results( ).../Settings.php:28
90.0057578128mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0020419976Simpla->__get( ).../Simpla.php:24
70.0022434480Settings->__construct( ).../Simpla.php:77
80.0057577896Database->results( ).../Settings.php:28
90.0058578224trigger_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.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0020419976Simpla->__get( ).../Simpla.php:24
70.0022434480Settings->__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.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0099990696Money->init_currencies( ).../Money.php:32
70.0099991136Database->query( ).../Money.php:40
80.0100992104trigger_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.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0099990696Money->init_currencies( ).../Money.php:32
70.0102991136Database->results( ).../Money.php:42
80.0102991368mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0099990696Money->init_currencies( ).../Money.php:32
70.0102991136Database->results( ).../Money.php:42
80.0103991464trigger_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.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.0015381664Simpla->__get( ).../IndexView.php:48
50.0020419576Money->__construct( ).../Simpla.php:77
60.0099990696Money->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/tkanblackout-801822-sirenevaya' LIMIT 1] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0004262288{main}( ).../index.php:0
20.0015379768IndexView->__construct( ).../index.php:19
30.0015381168View->__construct( ).../IndexView.php:24
40.01161086136Pages->get_page( ).../View.php:81
50.01171087088Database->query( ).../Pages.php:33
60.01181088312trigger_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.0004262288{main}( ).../index.php:0
20.01221098448IndexView->fetch( ).../index.php:30
30.01321211744Categories->get_categories_tree( ).../IndexView.php:39
40.01321212296Categories->init_categories( ).../Categories.php:62
50.01321214104Database->query( ).../Categories.php:202
60.01331215344trigger_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.0004262288{main}( ).../index.php:0
20.01221098448IndexView->fetch( ).../index.php:30
30.01321211744Categories->get_categories_tree( ).../IndexView.php:39
40.01321212296Categories->init_categories( ).../Categories.php:62
50.01341214104Database->results( ).../Categories.php:203
60.01341214336mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0004262288{main}( ).../index.php:0
20.01221098448IndexView->fetch( ).../index.php:30
30.01321211744Categories->get_categories_tree( ).../IndexView.php:39
40.01321212296Categories->init_categories( ).../Categories.php:62
50.01341214104Database->results( ).../Categories.php:203
60.01351214432trigger_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.0004262288{main}( ).../index.php:0
20.01221098448IndexView->fetch( ).../index.php:30
30.01381213792Pages->get_pages( ).../IndexView.php:42
40.01391214336Database->query( ).../Pages.php:58
50.01401215512trigger_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.0004262288{main}( ).../index.php:0
20.01221098448IndexView->fetch( ).../index.php:30
30.01381213792Pages->get_pages( ).../IndexView.php:42
40.01411214336Database->results( ).../Pages.php:60
50.01411214568mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0004262288{main}( ).../index.php:0
20.01221098448IndexView->fetch( ).../index.php:30
30.01381213792Pages->get_pages( ).../IndexView.php:42
40.01411214336Database->results( ).../Pages.php:60
50.01421214664trigger_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.0004262288{main}( ).../index.php:0
20.01221098448IndexView->fetch( ).../index.php:30
30.01381213792Pages->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 = 'tkanblackout-801822-sirenevaya' GROUP BY p.id LIMIT 1] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0004262288{main}( ).../index.php:0
20.01221098448IndexView->fetch( ).../index.php:30
30.01491283872ProductView->fetch( ).../IndexView.php:65
40.01601441840Products->get_product( ).../ProductView.php:28
50.01611442784Database->query( ).../Products.php:247
60.01611444824trigger_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.0004262288{main}( ).../index.php:0
20.01641441848header ( ).../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.0004262288{main}( ).../index.php:0
20.01651442392IndexView->fetch( ).../index.php:52
30.01661442752Pages->get_pages( ).../IndexView.php:42
40.01661443296Database->query( ).../Pages.php:58
50.01671444472trigger_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.0004262288{main}( ).../index.php:0
20.01651442392IndexView->fetch( ).../index.php:52
30.01661442752Pages->get_pages( ).../IndexView.php:42
40.01681443296Database->results( ).../Pages.php:60
50.01681443528mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0004262288{main}( ).../index.php:0
20.01651442392IndexView->fetch( ).../index.php:52
30.01661442752Pages->get_pages( ).../IndexView.php:42
40.01681443296Database->results( ).../Pages.php:60
50.01691443624trigger_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.0004262288{main}( ).../index.php:0
20.01651442392IndexView->fetch( ).../index.php:52
30.01661442752Pages->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.0004262288{main}( ).../index.php:0
20.01651442392IndexView->fetch( ).../index.php:52
30.01721456104PageView->fetch( ).../IndexView.php:65
40.01721456608Pages->get_page( ).../PageView.php:21
50.01731456920Database->query( ).../Pages.php:33
60.01741458040trigger_error ( ).../Database.php:99
Лицензия недействительна
Скрипт интернет-магазина Simpla