( ! ) 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.0001231032{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.0004262368Settings->__get( ).../Simpla.php:25
90.0004262368Simpla->__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.0001231032{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.0004262368Settings->__get( ).../Simpla.php:25
90.0004262368Simpla->__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.0001231032{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.0004262368Settings->__get( ).../Simpla.php:25
90.0004262368Simpla->__get( ).../Settings.php:35
100.0004270968Database->__construct( ).../Simpla.php:77
110.0004271208Database->connect( ).../Database.php:26
120.0014282112mysql_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.0001231032{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.0004262368Settings->__get( ).../Simpla.php:25
90.0004262368Simpla->__get( ).../Settings.php:35
100.0004270968Database->__construct( ).../Simpla.php:77
110.0004271208Database->connect( ).../Database.php:26
120.0022282200trigger_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.0001231032{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.0024282072Database->query( ).../Settings.php:25
90.0025283032trigger_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.0001231032{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.0027282336Database->results( ).../Settings.php:28
90.0027282568mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231032{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.0027282336Database->results( ).../Settings.php:28
90.0028282664trigger_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.0001231032{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.0001231032{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.0038392368Money->init_currencies( ).../Money.php:32
70.0038392672Database->query( ).../Money.php:40
80.0039393640trigger_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.0001231032{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.0038392368Money->init_currencies( ).../Money.php:32
70.0041392672Database->results( ).../Money.php:42
80.0041392904mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231032{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.0038392368Money->init_currencies( ).../Money.php:32
70.0041392672Database->results( ).../Money.php:42
80.0042393000trigger_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.0001231032{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.0038392368Money->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.0001231032{main}( ).../index.php:0
20.0003250760IndexView->__construct( ).../index.php:19
30.0003251672View->__construct( ).../IndexView.php:24
40.0047403352Pages->get_page( ).../View.php:81
50.0048404128Database->query( ).../Pages.php:33
60.0048405240trigger_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.0001231032{main}( ).../index.php:0
20.0052414776IndexView->fetch( ).../index.php:30
30.0053429568Categories->get_categories_tree( ).../IndexView.php:39
40.0053430080Categories->init_categories( ).../Categories.php:62
50.0053431856Database->query( ).../Categories.php:202
60.0054433096trigger_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.0001231032{main}( ).../index.php:0
20.0052414776IndexView->fetch( ).../index.php:30
30.0053429568Categories->get_categories_tree( ).../IndexView.php:39
40.0053430080Categories->init_categories( ).../Categories.php:62
50.0056431856Database->results( ).../Categories.php:203
60.0056432088mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231032{main}( ).../index.php:0
20.0052414776IndexView->fetch( ).../index.php:30
30.0053429568Categories->get_categories_tree( ).../IndexView.php:39
40.0053430080Categories->init_categories( ).../Categories.php:62
50.0056431856Database->results( ).../Categories.php:203
60.0058432184trigger_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.0001231032{main}( ).../index.php:0
20.0052414776IndexView->fetch( ).../index.php:30
30.0061431528Pages->get_pages( ).../IndexView.php:42
40.0061432040Database->query( ).../Pages.php:58
50.0062433216trigger_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.0001231032{main}( ).../index.php:0
20.0052414776IndexView->fetch( ).../index.php:30
30.0061431528Pages->get_pages( ).../IndexView.php:42
40.0063432040Database->results( ).../Pages.php:60
50.0063432272mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231032{main}( ).../index.php:0
20.0052414776IndexView->fetch( ).../index.php:30
30.0061431528Pages->get_pages( ).../IndexView.php:42
40.0063432040Database->results( ).../Pages.php:60
50.0064432368trigger_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.0001231032{main}( ).../index.php:0
20.0052414776IndexView->fetch( ).../index.php:30
30.0061431528Pages->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.0001231032{main}( ).../index.php:0
20.0052414776IndexView->fetch( ).../index.php:30
30.0079444416MainView->fetch( ).../IndexView.php:65
40.0080444920Design->fetch( ).../MainView.php:32
50.0080445456Smarty->fetch( ).../Design.php:64
60.0081476984Smarty_Internal_Template->getRenderedTemplate( ).../Smarty.class.php:338
70.0082487928Smarty_Internal_Template->isExisting( ).../smarty_internal_template.php:550