( ! ) 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.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0006258400Simpla->__get( ).../Simpla.php:24
70.0006262080Settings->__construct( ).../Simpla.php:77
80.0006262464Settings->__get( ).../Simpla.php:25
90.0006262464Simpla->__get( ).../Settings.php:35
100.0007271064Database->__construct( ).../Simpla.php:77
110.0007271304Database->connect( ).../Database.php:26
120.0007271640Simpla->__get( ).../Database.php:47
130.0008276160Config->__construct( ).../Simpla.php:77
140.0008276208parse_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.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0006258400Simpla->__get( ).../Simpla.php:24
70.0006262080Settings->__construct( ).../Simpla.php:77
80.0006262464Settings->__get( ).../Simpla.php:25
90.0006262464Simpla->__get( ).../Settings.php:35
100.0007271064Database->__construct( ).../Simpla.php:77
110.0007271304Database->connect( ).../Database.php:26
120.0007271640Simpla->__get( ).../Database.php:47
130.0008276160Config->__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.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0006258400Simpla->__get( ).../Simpla.php:24
70.0006262080Settings->__construct( ).../Simpla.php:77
80.0006262464Settings->__get( ).../Simpla.php:25
90.0006262464Simpla->__get( ).../Settings.php:35
100.0007271064Database->__construct( ).../Simpla.php:77
110.0007271304Database->connect( ).../Database.php:26
120.0018282208mysql_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.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0006258400Simpla->__get( ).../Simpla.php:24
70.0006262080Settings->__construct( ).../Simpla.php:77
80.0006262464Settings->__get( ).../Simpla.php:25
90.0006262464Simpla->__get( ).../Settings.php:35
100.0007271064Database->__construct( ).../Simpla.php:77
110.0007271304Database->connect( ).../Database.php:26
120.0031282296trigger_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.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0006258400Simpla->__get( ).../Simpla.php:24
70.0006262080Settings->__construct( ).../Simpla.php:77
80.0034282168Database->query( ).../Settings.php:25
90.0036283128trigger_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.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0006258400Simpla->__get( ).../Simpla.php:24
70.0006262080Settings->__construct( ).../Simpla.php:77
80.0038282432Database->results( ).../Settings.php:28
90.0038282664mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0006258400Simpla->__get( ).../Simpla.php:24
70.0006262080Settings->__construct( ).../Simpla.php:77
80.0038282432Database->results( ).../Settings.php:28
90.0040282760trigger_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.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0006258400Simpla->__get( ).../Simpla.php:24
70.0006262080Settings->__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.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0055392464Money->init_currencies( ).../Money.php:32
70.0055392768Database->query( ).../Money.php:40
80.0055393736trigger_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.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0055392464Money->init_currencies( ).../Money.php:32
70.0057392768Database->results( ).../Money.php:42
80.0057393000mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0055392464Money->init_currencies( ).../Money.php:32
70.0057392768Database->results( ).../Money.php:42
80.0059393096trigger_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.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0005252208Simpla->__get( ).../IndexView.php:48
50.0006258064Money->__construct( ).../Simpla.php:77
60.0055392464Money->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-45' LIMIT 1] in /home/opt.perlanta.ru/api/Database.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0001231128{main}( ).../index.php:0
20.0004250856IndexView->__construct( ).../index.php:19
30.0004251768View->__construct( ).../IndexView.php:24
40.0066403464Pages->get_page( ).../View.php:81
50.0067404272Database->query( ).../Pages.php:33
60.0067405432trigger_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.0001231128{main}( ).../index.php:0
20.0072414872IndexView->fetch( ).../index.php:30
30.0073429664Categories->get_categories_tree( ).../IndexView.php:39
40.0074430176Categories->init_categories( ).../Categories.php:62
50.0074431952Database->query( ).../Categories.php:202
60.0075433192trigger_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.0001231128{main}( ).../index.php:0
20.0072414872IndexView->fetch( ).../index.php:30
30.0073429664Categories->get_categories_tree( ).../IndexView.php:39
40.0074430176Categories->init_categories( ).../Categories.php:62
50.0077431952Database->results( ).../Categories.php:203
60.0077432184mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231128{main}( ).../index.php:0
20.0072414872IndexView->fetch( ).../index.php:30
30.0073429664Categories->get_categories_tree( ).../IndexView.php:39
40.0074430176Categories->init_categories( ).../Categories.php:62
50.0077431952Database->results( ).../Categories.php:203
60.0078432280trigger_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.0001231128{main}( ).../index.php:0
20.0072414872IndexView->fetch( ).../index.php:30
30.0082431624Pages->get_pages( ).../IndexView.php:42
40.0083432136Database->query( ).../Pages.php:58
50.0083433312trigger_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.0001231128{main}( ).../index.php:0
20.0072414872IndexView->fetch( ).../index.php:30
30.0082431624Pages->get_pages( ).../IndexView.php:42
40.0084432136Database->results( ).../Pages.php:60
50.0084432368mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231128{main}( ).../index.php:0
20.0072414872IndexView->fetch( ).../index.php:30
30.0082431624Pages->get_pages( ).../IndexView.php:42
40.0084432136Database->results( ).../Pages.php:60
50.0085432464trigger_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.0001231128{main}( ).../index.php:0
20.0072414872IndexView->fetch( ).../index.php:30
30.0082431624Pages->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.0001231128{main}( ).../index.php:0
20.0088441176header ( ).../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.0001231128{main}( ).../index.php:0
20.0090441680IndexView->fetch( ).../index.php:52
30.0090442032Pages->get_pages( ).../IndexView.php:42
40.0091442544Database->query( ).../Pages.php:58
50.0091443720trigger_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.0001231128{main}( ).../index.php:0
20.0090441680IndexView->fetch( ).../index.php:52
30.0090442032Pages->get_pages( ).../IndexView.php:42
40.0092442544Database->results( ).../Pages.php:60
50.0092442776mysql_error ( ).../Database.php:150

( ! ) Warning: in /home/opt.perlanta.ru/api/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0001231128{main}( ).../index.php:0
20.0090441680IndexView->fetch( ).../index.php:52
30.0090442032Pages->get_pages( ).../IndexView.php:42
40.0092442544Database->results( ).../Pages.php:60
50.0093442872trigger_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.0001231128{main}( ).../index.php:0
20.0090441680IndexView->fetch( ).../index.php:52
30.0090442032Pages->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.0001231128{main}( ).../index.php:0
20.0090441680IndexView->fetch( ).../index.php:52
30.0096447632PageView->fetch( ).../IndexView.php:65
40.0096448120Pages->get_page( ).../PageView.php:21
50.0097448432Database->query( ).../Pages.php:33
60.0097449552trigger_error ( ).../Database.php:99
Лицензия недействительна
Скрипт интернет-магазина Simpla