Warning: Error parsing config/simpla.ini.php on line 1 in /home/linsfoto/rightstore.ru/docs/api/Config.php on line 28

Warning: Invalid argument supplied for foreach() in /home/linsfoto/rightstore.ru/docs/api/Config.php on line 30

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'linsfoto'@'10.3.114.76' (using password: NO) in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 47

Warning: Could not connect to the database. Check the config file. in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 49

Warning: Could not execute query to database, wrong database link. [SELECT name, value FROM settings] in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 110

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 161

Warning: in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 161

Warning: Invalid argument supplied for foreach() in /home/linsfoto/rightstore.ru/docs/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 currencies ORDER BY position] in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 110

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 161

Warning: in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 161

Warning: Invalid argument supplied for foreach() in /home/linsfoto/rightstore.ru/docs/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 pages WHERE url='' LIMIT 1] in /home/linsfoto/rightstore.ru/docs/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 categories ORDER BY parent_id, position] in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 110

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 161

Warning: in /home/linsfoto/rightstore.ru/docs/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 pages WHERE 1 AND visible = 1 ORDER BY position] in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 110

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 161

Warning: in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 161

Warning: Invalid argument supplied for foreach() in /home/linsfoto/rightstore.ru/docs/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 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 variants WHERE (stock>0 OR stock IS NULL) AND product_id=p.id LIMIT 1) LEFT JOIN brands b ON p.brand_id = b.id WHERE 1 AND p.hit=1 AND (SELECT 1 FROM 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/linsfoto/rightstore.ru/docs/api/Database.php on line 110

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 161

Warning: in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 161

Warning: Invalid argument supplied for foreach() in /home/linsfoto/rightstore.ru/docs/view/HitsView.php on line 27

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 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 variants WHERE (stock>0 OR stock IS NULL) AND product_id=p.id LIMIT 1) LEFT JOIN brands b ON p.brand_id = b.id WHERE 1 AND (SELECT 1 FROM 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, 6 ] in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 110

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 161

Warning: in /home/linsfoto/rightstore.ru/docs/api/Database.php on line 161

Warning: Invalid argument supplied for foreach() in /home/linsfoto/rightstore.ru/docs/view/HitsView.php on line 75

Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'hits.tpl'' in /home/linsfoto/rightstore.ru/docs/Smarty/libs/sysplugins/smarty_internal_template.php:163 Stack trace: #0 /home/linsfoto/rightstore.ru/docs/Smarty/libs/sysplugins/smarty_internal_template.php(550): Smarty_Internal_Template->isExisting(true) #1 /home/linsfoto/rightstore.ru/docs/Smarty/libs/Smarty.class.php(338): Smarty_Internal_Template->getRenderedTemplate() #2 /home/linsfoto/rightstore.ru/docs/api/Design.php(64): Smarty->fetch('hits.tpl') #3 /home/linsfoto/rightstore.ru/docs/view/HitsView.php(111): Design->fetch('hits.tpl') #4 /home/linsfoto/rightstore.ru/docs/view/IndexView.php(65): HitsView->fetch() #5 /home/linsfoto/rightstore.ru/docs/index.php(29): IndexView->fetch() #6 {main} thrown in /home/linsfoto/rightstore.ru/docs/Smarty/libs/sysplugins/smarty_internal_template.php on line 163