( ! ) 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.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0005258624Simpla->__get( ).../Simpla.php:24
70.0005262304Settings->__construct( ).../Simpla.php:77
80.0005262688Settings->__get( ).../Simpla.php:25
90.0006262688Simpla->__get( ).../Settings.php:35
100.0006271288Database->__construct( ).../Simpla.php:77
110.0006271528Database->connect( ).../Database.php:26
120.0006271864Simpla->__get( ).../Database.php:47
130.0007276384Config->__construct( ).../Simpla.php:77
140.0007276432parse_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.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0005258624Simpla->__get( ).../Simpla.php:24
70.0005262304Settings->__construct( ).../Simpla.php:77
80.0005262688Settings->__get( ).../Simpla.php:25
90.0006262688Simpla->__get( ).../Settings.php:35
100.0006271288Database->__construct( ).../Simpla.php:77
110.0006271528Database->connect( ).../Database.php:26
120.0006271864Simpla->__get( ).../Database.php:47
130.0007276384Config->__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.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0005258624Simpla->__get( ).../Simpla.php:24
70.0005262304Settings->__construct( ).../Simpla.php:77
80.0005262688Settings->__get( ).../Simpla.php:25
90.0006262688Simpla->__get( ).../Settings.php:35
100.0006271288Database->__construct( ).../Simpla.php:77
110.0006271528Database->connect( ).../Database.php:26
120.0018282432mysql_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.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0005258624Simpla->__get( ).../Simpla.php:24
70.0005262304Settings->__construct( ).../Simpla.php:77
80.0005262688Settings->__get( ).../Simpla.php:25
90.0006262688Simpla->__get( ).../Settings.php:35
100.0006271288Database->__construct( ).../Simpla.php:77
110.0006271528Database->connect( ).../Database.php:26
120.0030282520trigger_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.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0005258624Simpla->__get( ).../Simpla.php:24
70.0005262304Settings->__construct( ).../Simpla.php:77
80.0035282392Database->query( ).../Settings.php:25
90.0036283352trigger_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.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0005258624Simpla->__get( ).../Simpla.php:24
70.0005262304Settings->__construct( ).../Simpla.php:77
80.0038282656Database->results( ).../Settings.php:28
90.0038282888mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0005258624Simpla->__get( ).../Simpla.php:24
70.0005262304Settings->__construct( ).../Simpla.php:77
80.0038282656Database->results( ).../Settings.php:28
90.0041282984trigger_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.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0005258624Simpla->__get( ).../Simpla.php:24
70.0005262304Settings->__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.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0061392688Money->init_currencies( ).../Money.php:32
70.0061392992Database->query( ).../Money.php:40
80.0062393960trigger_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.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0061392688Money->init_currencies( ).../Money.php:32
70.0064392992Database->results( ).../Money.php:42
80.0064393224mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0061392688Money->init_currencies( ).../Money.php:32
70.0064392992Database->results( ).../Money.php:42
80.0066393320trigger_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.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0004252432Simpla->__get( ).../IndexView.php:48
50.0005258288Money->__construct( ).../Simpla.php:77
60.0061392688Money->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-8018siyah-chernaya' LIMIT 1] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0001231352{main}( ).../index.php:0
20.0004251080IndexView->__construct( ).../index.php:19
30.0004251992View->__construct( ).../IndexView.php:24
40.0075403736Pages->get_page( ).../View.php:81
50.0077404592Database->query( ).../Pages.php:33
60.0078405824trigger_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.0001231352{main}( ).../index.php:0
20.0086415096IndexView->fetch( ).../index.php:30
30.0087429888Categories->get_categories_tree( ).../IndexView.php:39
40.0087430400Categories->init_categories( ).../Categories.php:62
50.0088432176Database->query( ).../Categories.php:202
60.0089433416trigger_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.0001231352{main}( ).../index.php:0
20.0086415096IndexView->fetch( ).../index.php:30
30.0087429888Categories->get_categories_tree( ).../IndexView.php:39
40.0087430400Categories->init_categories( ).../Categories.php:62
50.0091432176Database->results( ).../Categories.php:203
60.0091432408mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231352{main}( ).../index.php:0
20.0086415096IndexView->fetch( ).../index.php:30
30.0087429888Categories->get_categories_tree( ).../IndexView.php:39
40.0087430400Categories->init_categories( ).../Categories.php:62
50.0091432176Database->results( ).../Categories.php:203
60.0093432504trigger_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.0001231352{main}( ).../index.php:0
20.0086415096IndexView->fetch( ).../index.php:30
30.0097431848Pages->get_pages( ).../IndexView.php:42
40.0098432360Database->query( ).../Pages.php:58
50.0099433536trigger_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.0001231352{main}( ).../index.php:0
20.0086415096IndexView->fetch( ).../index.php:30
30.0097431848Pages->get_pages( ).../IndexView.php:42
40.0101432360Database->results( ).../Pages.php:60
50.0101432592mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231352{main}( ).../index.php:0
20.0086415096IndexView->fetch( ).../index.php:30
30.0097431848Pages->get_pages( ).../IndexView.php:42
40.0101432360Database->results( ).../Pages.php:60
50.0103432688trigger_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.0001231352{main}( ).../index.php:0
20.0086415096IndexView->fetch( ).../index.php:30
30.0097431848Pages->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-8018siyah-chernaya' GROUP BY p.id LIMIT 1] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0001231352{main}( ).../index.php:0
20.0086415096IndexView->fetch( ).../index.php:30
30.0107441280ProductView->fetch( ).../IndexView.php:65
40.0108450176Products->get_product( ).../ProductView.php:28
50.0109451112Database->query( ).../Products.php:247
60.0110453152trigger_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.0001231352{main}( ).../index.php:0
20.0115450152header ( ).../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.0001231352{main}( ).../index.php:0
20.0116450656IndexView->fetch( ).../index.php:52
30.0116451008Pages->get_pages( ).../IndexView.php:42
40.0117451520Database->query( ).../Pages.php:58
50.0118452696trigger_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.0001231352{main}( ).../index.php:0
20.0116450656IndexView->fetch( ).../index.php:52
30.0116451008Pages->get_pages( ).../IndexView.php:42
40.0120451520Database->results( ).../Pages.php:60
50.0120451752mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231352{main}( ).../index.php:0
20.0116450656IndexView->fetch( ).../index.php:52
30.0116451008Pages->get_pages( ).../IndexView.php:42
40.0120451520Database->results( ).../Pages.php:60
50.0122451848trigger_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.0001231352{main}( ).../index.php:0
20.0116450656IndexView->fetch( ).../index.php:52
30.0116451008Pages->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.0001231352{main}( ).../index.php:0
20.0116450656IndexView->fetch( ).../index.php:52
30.0126456608PageView->fetch( ).../IndexView.php:65
40.0126457096Pages->get_page( ).../PageView.php:21
50.0127457408Database->query( ).../Pages.php:33
60.0128458528trigger_error ( ).../Database.php:99
Лицензия недействительна
Скрипт интернет-магазина Simpla