( ! ) 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.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0029419728Simpla->__get( ).../Simpla.php:24
70.0031434232Settings->__construct( ).../Simpla.php:77
80.0031434688Settings->__get( ).../Simpla.php:25
90.0031434688Simpla->__get( ).../Settings.php:35
100.0044540328Database->__construct( ).../Simpla.php:77
110.0044540848Database->connect( ).../Database.php:26
120.0044541248Simpla->__get( ).../Database.php:47
130.0047571184Config->__construct( ).../Simpla.php:77
140.0047571232parse_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.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0029419728Simpla->__get( ).../Simpla.php:24
70.0031434232Settings->__construct( ).../Simpla.php:77
80.0031434688Settings->__get( ).../Simpla.php:25
90.0031434688Simpla->__get( ).../Settings.php:35
100.0044540328Database->__construct( ).../Simpla.php:77
110.0044540848Database->connect( ).../Database.php:26
120.0044541248Simpla->__get( ).../Database.php:47
130.0047571184Config->__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.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0029419728Simpla->__get( ).../Simpla.php:24
70.0031434232Settings->__construct( ).../Simpla.php:77
80.0031434688Settings->__get( ).../Simpla.php:25
90.0031434688Simpla->__get( ).../Settings.php:35
100.0044540328Database->__construct( ).../Simpla.php:77
110.0044540848Database->connect( ).../Database.php:26
120.0059577272mysql_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.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0029419728Simpla->__get( ).../Simpla.php:24
70.0031434232Settings->__construct( ).../Simpla.php:77
80.0031434688Settings->__get( ).../Simpla.php:25
90.0031434688Simpla->__get( ).../Settings.php:35
100.0044540328Database->__construct( ).../Simpla.php:77
110.0044540848Database->connect( ).../Database.php:26
120.0092577440trigger_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.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0029419728Simpla->__get( ).../Simpla.php:24
70.0031434232Settings->__construct( ).../Simpla.php:77
80.0097577328Database->query( ).../Settings.php:25
90.0098578304trigger_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.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0029419728Simpla->__get( ).../Simpla.php:24
70.0031434232Settings->__construct( ).../Simpla.php:77
80.0101577576Database->results( ).../Settings.php:28
90.0101577808mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0029419728Simpla->__get( ).../Simpla.php:24
70.0031434232Settings->__construct( ).../Simpla.php:77
80.0101577576Database->results( ).../Settings.php:28
90.0103577904trigger_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.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0029419728Simpla->__get( ).../Simpla.php:24
70.0031434232Settings->__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.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0179990480Money->init_currencies( ).../Money.php:32
70.0179990920Database->query( ).../Money.php:40
80.0180991888trigger_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.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0179990480Money->init_currencies( ).../Money.php:32
70.0183990920Database->results( ).../Money.php:42
80.0183991152mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0179990480Money->init_currencies( ).../Money.php:32
70.0183990920Database->results( ).../Money.php:42
80.0185991248trigger_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.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.0023381384Simpla->__get( ).../IndexView.php:48
50.0029419328Money->__construct( ).../Simpla.php:77
60.0179990480Money->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.0005262000{main}( ).../index.php:0
20.0023379488IndexView->__construct( ).../index.php:19
30.0023380888View->__construct( ).../IndexView.php:24
40.02211085840Pages->get_page( ).../View.php:81
50.02221086712Database->query( ).../Pages.php:33
60.02231087824trigger_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.0005262000{main}( ).../index.php:0
20.02331098192IndexView->fetch( ).../index.php:30
30.02521211464Categories->get_categories_tree( ).../IndexView.php:39
40.02521212016Categories->init_categories( ).../Categories.php:62
50.02531213824Database->query( ).../Categories.php:202
60.02541215064trigger_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.0005262000{main}( ).../index.php:0
20.02331098192IndexView->fetch( ).../index.php:30
30.02521211464Categories->get_categories_tree( ).../IndexView.php:39
40.02521212016Categories->init_categories( ).../Categories.php:62
50.02561213824Database->results( ).../Categories.php:203
60.02561214056mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0005262000{main}( ).../index.php:0
20.02331098192IndexView->fetch( ).../index.php:30
30.02521211464Categories->get_categories_tree( ).../IndexView.php:39
40.02521212016Categories->init_categories( ).../Categories.php:62
50.02561213824Database->results( ).../Categories.php:203
60.02581214152trigger_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.0005262000{main}( ).../index.php:0
20.02331098192IndexView->fetch( ).../index.php:30
30.02641213512Pages->get_pages( ).../IndexView.php:42
40.02651214064Database->query( ).../Pages.php:58
50.02651215240trigger_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.0005262000{main}( ).../index.php:0
20.02331098192IndexView->fetch( ).../index.php:30
30.02641213512Pages->get_pages( ).../IndexView.php:42
40.02671214064Database->results( ).../Pages.php:60
50.02681214296mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0005262000{main}( ).../index.php:0
20.02331098192IndexView->fetch( ).../index.php:30
30.02641213512Pages->get_pages( ).../IndexView.php:42
40.02671214064Database->results( ).../Pages.php:60
50.02691214392trigger_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.0005262000{main}( ).../index.php:0
20.02331098192IndexView->fetch( ).../index.php:30
30.02641213512Pages->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.0005262000{main}( ).../index.php:0
20.02331098192IndexView->fetch( ).../index.php:30
30.02751226552MainView->fetch( ).../IndexView.php:65
40.02751227072Design->fetch( ).../MainView.php:32
50.02751227872Smarty->fetch( ).../Design.php:64
60.03261505328Smarty_Internal_Template->getRenderedTemplate( ).../Smarty.class.php:338
70.03301538720Smarty_Internal_Template->isExisting( ).../smarty_internal_template.php:550