Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /data/web/e42835/html/test/api/Database.php on line 47

Warning: Could not connect to the database. Check the config file. in /data/web/e42835/html/test/api/Database.php on line 49

Warning: Could not execute query to database, wrong database link. [SELECT name, value FROM s_settings] in /data/web/e42835/html/test/api/Database.php on line 99

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /data/web/e42835/html/test/api/Database.php on line 150

Warning: in /data/web/e42835/html/test/api/Database.php on line 150

Warning: Invalid argument supplied for foreach() in /data/web/e42835/html/test/api/Settings.php on line 28

Warning: Could not execute query to database, wrong database link. [SELECT id, name, sign, code, rate_from, rate_to, cents, position, enabled FROM s_currencies ORDER BY position] in /data/web/e42835/html/test/api/Database.php on line 99

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /data/web/e42835/html/test/api/Database.php on line 150

Warning: in /data/web/e42835/html/test/api/Database.php on line 150

Warning: Invalid argument supplied for foreach() in /data/web/e42835/html/test/api/Money.php on line 44

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 s_pages WHERE url='' LIMIT 1] in /data/web/e42835/html/test/api/Database.php on line 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 s_categories c ORDER BY c.parent_id, c.position] in /data/web/e42835/html/test/api/Database.php on line 99

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /data/web/e42835/html/test/api/Database.php on line 150

Warning: in /data/web/e42835/html/test/api/Database.php on line 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 s_pages WHERE 1 AND visible = 1 ORDER BY position] in /data/web/e42835/html/test/api/Database.php on line 99

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /data/web/e42835/html/test/api/Database.php on line 150

Warning: in /data/web/e42835/html/test/api/Database.php on line 150

Warning: Invalid argument supplied for foreach() in /data/web/e42835/html/test/api/Pages.php on line 60

Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'main.tpl'' in /data/web/e42835/html/test/Smarty/libs/sysplugins/smarty_internal_template.php:163 Stack trace: #0 /data/web/e42835/html/test/Smarty/libs/sysplugins/smarty_internal_template.php(550): Smarty_Internal_Template->isExisting(true) #1 /data/web/e42835/html/test/Smarty/libs/Smarty.class.php(338): Smarty_Internal_Template->getRenderedTemplate() #2 /data/web/e42835/html/test/api/Design.php(64): Smarty->fetch('main.tpl') #3 /data/web/e42835/html/test/view/MainView.php(32): Design->fetch('main.tpl') #4 /data/web/e42835/html/test/view/IndexView.php(65): MainView->fetch() #5 /data/web/e42835/html/test/index.php(23): IndexView->fetch() #6 {main} thrown in /data/web/e42835/html/test/Smarty/libs/sysplugins/smarty_internal_template.php on line 163