( ! ) 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.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0030419792Simpla->__get( ).../Simpla.php:24
70.0032434296Settings->__construct( ).../Simpla.php:77
80.0033434752Settings->__get( ).../Simpla.php:25
90.0033434752Simpla->__get( ).../Settings.php:35
100.0047540392Database->__construct( ).../Simpla.php:77
110.0047540912Database->connect( ).../Database.php:26
120.0047541312Simpla->__get( ).../Database.php:47
130.0052571280Config->__construct( ).../Simpla.php:77
140.0052571328parse_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.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0030419792Simpla->__get( ).../Simpla.php:24
70.0032434296Settings->__construct( ).../Simpla.php:77
80.0033434752Settings->__get( ).../Simpla.php:25
90.0033434752Simpla->__get( ).../Settings.php:35
100.0047540392Database->__construct( ).../Simpla.php:77
110.0047540912Database->connect( ).../Database.php:26
120.0047541312Simpla->__get( ).../Database.php:47
130.0052571280Config->__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.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0030419792Simpla->__get( ).../Simpla.php:24
70.0032434296Settings->__construct( ).../Simpla.php:77
80.0033434752Settings->__get( ).../Simpla.php:25
90.0033434752Simpla->__get( ).../Settings.php:35
100.0047540392Database->__construct( ).../Simpla.php:77
110.0047540912Database->connect( ).../Database.php:26
120.0067577368mysql_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.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0030419792Simpla->__get( ).../Simpla.php:24
70.0032434296Settings->__construct( ).../Simpla.php:77
80.0033434752Settings->__get( ).../Simpla.php:25
90.0033434752Simpla->__get( ).../Settings.php:35
100.0047540392Database->__construct( ).../Simpla.php:77
110.0047540912Database->connect( ).../Database.php:26
120.0080577536trigger_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.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0030419792Simpla->__get( ).../Simpla.php:24
70.0032434296Settings->__construct( ).../Simpla.php:77
80.0085577424Database->query( ).../Settings.php:25
90.0086578400trigger_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.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0030419792Simpla->__get( ).../Simpla.php:24
70.0032434296Settings->__construct( ).../Simpla.php:77
80.0088577672Database->results( ).../Settings.php:28
90.0088577904mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0030419792Simpla->__get( ).../Simpla.php:24
70.0032434296Settings->__construct( ).../Simpla.php:77
80.0088577672Database->results( ).../Settings.php:28
90.0091578000trigger_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.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0030419792Simpla->__get( ).../Simpla.php:24
70.0032434296Settings->__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.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0152990536Money->init_currencies( ).../Money.php:32
70.0152990976Database->query( ).../Money.php:40
80.0153991944trigger_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.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0152990536Money->init_currencies( ).../Money.php:32
70.0155990976Database->results( ).../Money.php:42
80.0155991208mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0152990536Money->init_currencies( ).../Money.php:32
70.0155990976Database->results( ).../Money.php:42
80.0158991304trigger_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.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.0023381480Simpla->__get( ).../IndexView.php:48
50.0030419392Money->__construct( ).../Simpla.php:77
60.0152990536Money->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='catalog/luxory-51' LIMIT 1] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0006262064{main}( ).../index.php:0
20.0022379584IndexView->__construct( ).../index.php:19
30.0023380984View->__construct( ).../IndexView.php:24
40.01791085928Pages->get_page( ).../View.php:81
50.01801086832Database->query( ).../Pages.php:33
60.01811087992trigger_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.0006262064{main}( ).../index.php:0
20.01881098264IndexView->fetch( ).../index.php:30
30.02081211560Categories->get_categories_tree( ).../IndexView.php:39
40.02081212112Categories->init_categories( ).../Categories.php:62
50.02091213920Database->query( ).../Categories.php:202
60.02101215160trigger_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.0006262064{main}( ).../index.php:0
20.01881098264IndexView->fetch( ).../index.php:30
30.02081211560Categories->get_categories_tree( ).../IndexView.php:39
40.02081212112Categories->init_categories( ).../Categories.php:62
50.02151213920Database->results( ).../Categories.php:203
60.02151214152mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0006262064{main}( ).../index.php:0
20.01881098264IndexView->fetch( ).../index.php:30
30.02081211560Categories->get_categories_tree( ).../IndexView.php:39
40.02081212112Categories->init_categories( ).../Categories.php:62
50.02151213920Database->results( ).../Categories.php:203
60.02171214248trigger_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.0006262064{main}( ).../index.php:0
20.01881098264IndexView->fetch( ).../index.php:30
30.02211213608Pages->get_pages( ).../IndexView.php:42
40.02231214152Database->query( ).../Pages.php:58
50.02231215328trigger_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.0006262064{main}( ).../index.php:0
20.01881098264IndexView->fetch( ).../index.php:30
30.02211213608Pages->get_pages( ).../IndexView.php:42
40.02251214152Database->results( ).../Pages.php:60
50.02251214384mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0006262064{main}( ).../index.php:0
20.01881098264IndexView->fetch( ).../index.php:30
30.02211213608Pages->get_pages( ).../IndexView.php:42
40.02251214152Database->results( ).../Pages.php:60
50.02271214480trigger_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.0006262064{main}( ).../index.php:0
20.01881098264IndexView->fetch( ).../index.php:30
30.02211213608Pages->get_pages( ).../IndexView.php:42

( ! ) 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.0006262064{main}( ).../index.php:0
20.02401279952header ( ).../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.0006262064{main}( ).../index.php:0
20.02431280496IndexView->fetch( ).../index.php:52
30.02441280856Pages->get_pages( ).../IndexView.php:42
40.02451281400Database->query( ).../Pages.php:58
50.02461282576trigger_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.0006262064{main}( ).../index.php:0
20.02431280496IndexView->fetch( ).../index.php:52
30.02441280856Pages->get_pages( ).../IndexView.php:42
40.02471281400Database->results( ).../Pages.php:60
50.02471281632mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0006262064{main}( ).../index.php:0
20.02431280496IndexView->fetch( ).../index.php:52
30.02441280856Pages->get_pages( ).../IndexView.php:42
40.02471281400Database->results( ).../Pages.php:60
50.02491281728trigger_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.0006262064{main}( ).../index.php:0
20.02431280496IndexView->fetch( ).../index.php:52
30.02441280856Pages->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.0006262064{main}( ).../index.php:0
20.02431280496IndexView->fetch( ).../index.php:52
30.02541294200PageView->fetch( ).../IndexView.php:65
40.02551294704Pages->get_page( ).../PageView.php:21
50.02561295016Database->query( ).../Pages.php:33
60.02561296136trigger_error ( ).../Database.php:99
Лицензия недействительна
Скрипт интернет-магазина Simpla