Warning: mysql_connect(): Access denied for user 'jamaica_jamaica'@'localhost' (using password: YES) in /home/jamaica/data/www/72lady.ru/api/Database.php on line 47 Warning: Could not connect to the database. Check the config file. in /home/jamaica/data/www/72lady.ru/api/Database.php on line 49 Warning: Could not execute query to database, wrong database link. [SELECT name, value FROM s_settings] in /home/jamaica/data/www/72lady.ru/api/Database.php on line 110 Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/jamaica/data/www/72lady.ru/api/Database.php on line 161 Warning: in /home/jamaica/data/www/72lady.ru/api/Database.php on line 161 Warning: Invalid argument supplied for foreach() in /home/jamaica/data/www/72lady.ru/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 /home/jamaica/data/www/72lady.ru/api/Database.php on line 110 Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/jamaica/data/www/72lady.ru/api/Database.php on line 161 Warning: in /home/jamaica/data/www/72lady.ru/api/Database.php on line 161 Warning: Invalid argument supplied for foreach() in /home/jamaica/data/www/72lady.ru/api/Money.php on line 44 Warning: Could not execute query to database, wrong database link. [SELECT id, url, name, meta_title, meta_description, meta_keywords, body, menu_id, position, visible FROM s_pages WHERE url='' LIMIT 1] in /home/jamaica/data/www/72lady.ru/api/Database.php on line 110 Warning: Could not execute query to database, wrong database link. [SELECT id, parent_id, name, description, url, meta_title, meta_keywords, meta_description, image, visible, position FROM s_categories ORDER BY parent_id, position] in /home/jamaica/data/www/72lady.ru/api/Database.php on line 110 Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/jamaica/data/www/72lady.ru/api/Database.php on line 161 Warning: in /home/jamaica/data/www/72lady.ru/api/Database.php on line 161 Warning: Could not execute query to database, wrong database link. [SELECT id, url, name, meta_title, meta_description, meta_keywords, body, menu_id, position, visible FROM s_pages WHERE 1 AND visible = 1 ORDER BY position] in /home/jamaica/data/www/72lady.ru/api/Database.php on line 110 Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/jamaica/data/www/72lady.ru/api/Database.php on line 161 Warning: in /home/jamaica/data/www/72lady.ru/api/Database.php on line 161 Warning: Invalid argument supplied for foreach() in /home/jamaica/data/www/72lady.ru/api/Pages.php on line 60 Warning: Could not execute query to database, wrong database link. [SELECT p.id, p.url, p.brand_id, p.name, p.annotation, p.body, p.position, p.created as created, p.visible, p.hit, p.meta_title, p.meta_keywords, p.meta_description, b.name as brand, b.url as brand_url FROM s_products p LEFT JOIN s_variants pv ON (stock IS NULL OR stock>0) AND p.id = pv.product_id AND pv.position=(SELECT MIN(position) FROM s_variants WHERE (stock>0 OR stock IS NULL) AND product_id=p.id LIMIT 1) LEFT JOIN s_brands b ON p.brand_id = b.id WHERE 1 AND p.hit=1 AND (SELECT 1 FROM s_variants pv WHERE pv.product_id=p.id AND pv.price>0 AND (pv.stock IS NULL OR pv.stock>0) LIMIT 1) = 1 GROUP BY p.id ORDER BY p.position LIMIT 0, 100 ] in /home/jamaica/data/www/72lady.ru/api/Database.php on line 110 Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/jamaica/data/www/72lady.ru/api/Database.php on line 161 Warning: in /home/jamaica/data/www/72lady.ru/api/Database.php on line 161 Warning: Invalid argument supplied for foreach() in /home/jamaica/data/www/72lady.ru/view/HitsView.php on line 27 Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'hits.tpl'' in /home/jamaica/data/www/72lady.ru/Smarty/libs/sysplugins/smarty_internal_template.php:163 Stack trace: #0 /home/jamaica/data/www/72lady.ru/Smarty/libs/sysplugins/smarty_internal_template.php(550): Smarty_Internal_Template->isExisting(true) #1 /home/jamaica/data/www/72lady.ru/Smarty/libs/Smarty.class.php(338): Smarty_Internal_Template->getRenderedTemplate() #2 /home/jamaica/data/www/72lady.ru/api/Design.php(64): Smarty->fetch('hits.tpl') #3 /home/jamaica/data/www/72lady.ru/view/HitsView.php(75): Design->fetch('hits.tpl') #4 /home/jamaica/data/www/72lady.ru/view/IndexView.php(65): HitsView->fetch() #5 /home/jamaica/data/www/72lady.ru/index.php(29): IndexView->fetch() #6 {main} thrown in /home/jamaica/data/www/72lady.ru/Smarty/libs/sysplugins/smarty_internal_template.php on line 163