( ! ) 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.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0041419728Simpla->__get( ).../Simpla.php:24
70.0044434232Settings->__construct( ).../Simpla.php:77
80.0044434688Settings->__get( ).../Simpla.php:25
90.0044434688Simpla->__get( ).../Settings.php:35
100.0057540328Database->__construct( ).../Simpla.php:77
110.0057540848Database->connect( ).../Database.php:26
120.0058541248Simpla->__get( ).../Database.php:47
130.0062571184Config->__construct( ).../Simpla.php:77
140.0062571232parse_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.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0041419728Simpla->__get( ).../Simpla.php:24
70.0044434232Settings->__construct( ).../Simpla.php:77
80.0044434688Settings->__get( ).../Simpla.php:25
90.0044434688Simpla->__get( ).../Settings.php:35
100.0057540328Database->__construct( ).../Simpla.php:77
110.0057540848Database->connect( ).../Database.php:26
120.0058541248Simpla->__get( ).../Database.php:47
130.0062571184Config->__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.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0041419728Simpla->__get( ).../Simpla.php:24
70.0044434232Settings->__construct( ).../Simpla.php:77
80.0044434688Settings->__get( ).../Simpla.php:25
90.0044434688Simpla->__get( ).../Settings.php:35
100.0057540328Database->__construct( ).../Simpla.php:77
110.0057540848Database->connect( ).../Database.php:26
120.0075577272mysql_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.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0041419728Simpla->__get( ).../Simpla.php:24
70.0044434232Settings->__construct( ).../Simpla.php:77
80.0044434688Settings->__get( ).../Simpla.php:25
90.0044434688Simpla->__get( ).../Settings.php:35
100.0057540328Database->__construct( ).../Simpla.php:77
110.0057540848Database->connect( ).../Database.php:26
120.0127577440trigger_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.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0041419728Simpla->__get( ).../Simpla.php:24
70.0044434232Settings->__construct( ).../Simpla.php:77
80.0130577328Database->query( ).../Settings.php:25
90.0131578304trigger_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.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0041419728Simpla->__get( ).../Simpla.php:24
70.0044434232Settings->__construct( ).../Simpla.php:77
80.0132577576Database->results( ).../Settings.php:28
90.0132577808mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0041419728Simpla->__get( ).../Simpla.php:24
70.0044434232Settings->__construct( ).../Simpla.php:77
80.0132577576Database->results( ).../Settings.php:28
90.0134577904trigger_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.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0041419728Simpla->__get( ).../Simpla.php:24
70.0044434232Settings->__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.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0267990480Money->init_currencies( ).../Money.php:32
70.0267990920Database->query( ).../Money.php:40
80.0267991888trigger_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.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0267990480Money->init_currencies( ).../Money.php:32
70.0270990920Database->results( ).../Money.php:42
80.0270991152mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0267990480Money->init_currencies( ).../Money.php:32
70.0270990920Database->results( ).../Money.php:42
80.0271991248trigger_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.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.0034381384Simpla->__get( ).../IndexView.php:48
50.0041419328Money->__construct( ).../Simpla.php:77
60.0267990480Money->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='' LIMIT 1] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0007262000{main}( ).../index.php:0
20.0033379488IndexView->__construct( ).../index.php:19
30.0033380888View->__construct( ).../IndexView.php:24
40.02941085840Pages->get_page( ).../View.php:81
50.02951086712Database->query( ).../Pages.php:33
60.02961087824trigger_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.0007262000{main}( ).../index.php:0
20.03021098192IndexView->fetch( ).../index.php:30
30.03531211464Categories->get_categories_tree( ).../IndexView.php:39
40.03531212016Categories->init_categories( ).../Categories.php:62
50.03541213824Database->query( ).../Categories.php:202
60.03541215064trigger_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.0007262000{main}( ).../index.php:0
20.03021098192IndexView->fetch( ).../index.php:30
30.03531211464Categories->get_categories_tree( ).../IndexView.php:39
40.03531212016Categories->init_categories( ).../Categories.php:62
50.03561213824Database->results( ).../Categories.php:203
60.03561214056mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0007262000{main}( ).../index.php:0
20.03021098192IndexView->fetch( ).../index.php:30
30.03531211464Categories->get_categories_tree( ).../IndexView.php:39
40.03531212016Categories->init_categories( ).../Categories.php:62
50.03561213824Database->results( ).../Categories.php:203
60.03571214152trigger_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.0007262000{main}( ).../index.php:0
20.03021098192IndexView->fetch( ).../index.php:30
30.03601213512Pages->get_pages( ).../IndexView.php:42
40.03611214064Database->query( ).../Pages.php:58
50.03611215240trigger_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.0007262000{main}( ).../index.php:0
20.03021098192IndexView->fetch( ).../index.php:30
30.03601213512Pages->get_pages( ).../IndexView.php:42
40.03621214064Database->results( ).../Pages.php:60
50.03621214296mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0007262000{main}( ).../index.php:0
20.03021098192IndexView->fetch( ).../index.php:30
30.03601213512Pages->get_pages( ).../IndexView.php:42
40.03621214064Database->results( ).../Pages.php:60
50.03631214392trigger_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.0007262000{main}( ).../index.php:0
20.03021098192IndexView->fetch( ).../index.php:30
30.03601213512Pages->get_pages( ).../IndexView.php:42

( ! ) Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'main.tpl'' in /home/opt.perlanta.ru/Smarty/libs/sysplugins/smarty_internal_template.php on line 163
( ! ) SmartyException: Unable to load template file 'main.tpl' in /home/opt.perlanta.ru/Smarty/libs/sysplugins/smarty_internal_template.php on line 163
Call Stack
#TimeMemoryFunctionLocation
10.0007262000{main}( ).../index.php:0
20.03021098192IndexView->fetch( ).../index.php:30
30.03671226552MainView->fetch( ).../IndexView.php:65
40.03671227072Design->fetch( ).../MainView.php:32
50.03671227872Smarty->fetch( ).../Design.php:64
60.04181505328Smarty_Internal_Template->getRenderedTemplate( ).../Smarty.class.php:338
70.04211538720Smarty_Internal_Template->isExisting( ).../smarty_internal_template.php:550