( ! ) 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.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0003258304Simpla->__get( ).../Simpla.php:24
70.0003261984Settings->__construct( ).../Simpla.php:77
80.0003262368Settings->__get( ).../Simpla.php:25
90.0003262368Simpla->__get( ).../Settings.php:35
100.0004270968Database->__construct( ).../Simpla.php:77
110.0004271208Database->connect( ).../Database.php:26
120.0004271544Simpla->__get( ).../Database.php:47
130.0004276064Config->__construct( ).../Simpla.php:77
140.0004276112parse_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.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0003258304Simpla->__get( ).../Simpla.php:24
70.0003261984Settings->__construct( ).../Simpla.php:77
80.0003262368Settings->__get( ).../Simpla.php:25
90.0003262368Simpla->__get( ).../Settings.php:35
100.0004270968Database->__construct( ).../Simpla.php:77
110.0004271208Database->connect( ).../Database.php:26
120.0004271544Simpla->__get( ).../Database.php:47
130.0004276064Config->__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.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0003258304Simpla->__get( ).../Simpla.php:24
70.0003261984Settings->__construct( ).../Simpla.php:77
80.0003262368Settings->__get( ).../Simpla.php:25
90.0003262368Simpla->__get( ).../Settings.php:35
100.0004270968Database->__construct( ).../Simpla.php:77
110.0004271208Database->connect( ).../Database.php:26
120.0021282112mysql_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.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0003258304Simpla->__get( ).../Simpla.php:24
70.0003261984Settings->__construct( ).../Simpla.php:77
80.0003262368Settings->__get( ).../Simpla.php:25
90.0003262368Simpla->__get( ).../Settings.php:35
100.0004270968Database->__construct( ).../Simpla.php:77
110.0004271208Database->connect( ).../Database.php:26
120.0033282200trigger_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.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0003258304Simpla->__get( ).../Simpla.php:24
70.0003261984Settings->__construct( ).../Simpla.php:77
80.0036282072Database->query( ).../Settings.php:25
90.0037283032trigger_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.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0003258304Simpla->__get( ).../Simpla.php:24
70.0003261984Settings->__construct( ).../Simpla.php:77
80.0039282336Database->results( ).../Settings.php:28
90.0039282568mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0003258304Simpla->__get( ).../Simpla.php:24
70.0003261984Settings->__construct( ).../Simpla.php:77
80.0039282336Database->results( ).../Settings.php:28
90.0041282664trigger_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.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0003258304Simpla->__get( ).../Simpla.php:24
70.0003261984Settings->__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.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0066392368Money->init_currencies( ).../Money.php:32
70.0066392672Database->query( ).../Money.php:40
80.0067393640trigger_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.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0066392368Money->init_currencies( ).../Money.php:32
70.0069392672Database->results( ).../Money.php:42
80.0069392904mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0066392368Money->init_currencies( ).../Money.php:32
70.0069392672Database->results( ).../Money.php:42
80.0070393000trigger_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.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0003252112Simpla->__get( ).../IndexView.php:48
50.0003257968Money->__construct( ).../Simpla.php:77
60.0066392368Money->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.0000231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0076403352Pages->get_page( ).../View.php:81
50.0077404128Database->query( ).../Pages.php:33
60.0078405240trigger_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.0000231032{main}( ).../index.php:0
20.0090414776IndexView->fetch( ).../index.php:30
30.0091429568Categories->get_categories_tree( ).../IndexView.php:39
40.0091430080Categories->init_categories( ).../Categories.php:62
50.0092431856Database->query( ).../Categories.php:202
60.0092433096trigger_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.0000231032{main}( ).../index.php:0
20.0090414776IndexView->fetch( ).../index.php:30
30.0091429568Categories->get_categories_tree( ).../IndexView.php:39
40.0091430080Categories->init_categories( ).../Categories.php:62
50.0093431856Database->results( ).../Categories.php:203
60.0094432088mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231032{main}( ).../index.php:0
20.0090414776IndexView->fetch( ).../index.php:30
30.0091429568Categories->get_categories_tree( ).../IndexView.php:39
40.0091430080Categories->init_categories( ).../Categories.php:62
50.0093431856Database->results( ).../Categories.php:203
60.0095432184trigger_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.0000231032{main}( ).../index.php:0
20.0090414776IndexView->fetch( ).../index.php:30
30.0186431528Pages->get_pages( ).../IndexView.php:42
40.0187432040Database->query( ).../Pages.php:58
50.0188433216trigger_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.0000231032{main}( ).../index.php:0
20.0090414776IndexView->fetch( ).../index.php:30
30.0186431528Pages->get_pages( ).../IndexView.php:42
40.0190432040Database->results( ).../Pages.php:60
50.0190432272mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0000231032{main}( ).../index.php:0
20.0090414776IndexView->fetch( ).../index.php:30
30.0186431528Pages->get_pages( ).../IndexView.php:42
40.0190432040Database->results( ).../Pages.php:60
50.0191432368trigger_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.0000231032{main}( ).../index.php:0
20.0090414776IndexView->fetch( ).../index.php:30
30.0186431528Pages->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.0000231032{main}( ).../index.php:0
20.0090414776IndexView->fetch( ).../index.php:30
30.0195444416MainView->fetch( ).../IndexView.php:65
40.0195444920Design->fetch( ).../MainView.php:32
50.0195445456Smarty->fetch( ).../Design.php:64
60.0471723240Smarty_Internal_Template->getRenderedTemplate( ).../Smarty.class.php:338
70.0475756616Smarty_Internal_Template->isExisting( ).../smarty_internal_template.php:550