bugeye Posted November 27, 2006 Posted November 27, 2006 Can anyone please suggest where my code is wrong? The page is: www.sourdough.com.au/shop The code error is: Warning: main(includes/modules/FILENAME_FEATURED) [function.main]: failed to open stream: No such file or directory in /home/sourd/public_html/shop/index.php on line 313 Warning: main() [function.include]: Failed opening 'includes/modules/FILENAME_FEATURED' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sourd/public_html/shop/index.php on line 313 A quantity discount module was added around the time this error happened, but I suspect that this is a case of me making a simple error, rather than a clash with the module (?). See Yu, Graham
Guest Posted November 27, 2006 Posted November 27, 2006 look in catalog/includes/modules you should have there a file "featured_products.php" if it's there go to includes/filenames.php and write: define('FILENAME_FEATURED','featured_products.php') hope it helps
bugeye Posted November 27, 2006 Author Posted November 27, 2006 look in catalog/includes/modulesyou should have there a file "featured_products.php" if it's there go to includes/filenames.php and write: define('FILENAME_FEATURED','featured_products.php') hope it helps Thanks for helping. "featured_products.php" is not in catalog/includes/modules :blush: Can I source this file from somewhere? Thanks, Graham
bugeye Posted November 27, 2006 Author Posted November 27, 2006 Thanks for helping. "featured_products.php" is not in catalog/includes/modules :blush: Can I source this file from somewhere? Thanks, Graham Hi I have now recovered the "featured_products.php" file from another shop, and placed it in catalog/includes/modules. Plus, the code you suggested adding to "filenames.php" has been added. Result: The home page looks much better now. Thanks! However the featured items are still not appearing, and there is a message "Illegal Access" instead. www.sourdough.com.au/shop Any more suggestions? Thank you, Graham
Recommended Posts
Archived
This topic is now archived and is closed to further replies.