Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Featured Products Problem


bugeye

Recommended Posts

Posted

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

Posted

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

Posted
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

 

 

Thanks for helping.

 

"featured_products.php" is not in catalog/includes/modules :blush:

 

 

Can I source this file from somewhere?

 

Thanks,

Graham

Posted
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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...