Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

broken front page


jezh

Recommended Posts

Posted

hi there, i have added a module for custom invoices and orders and it has messed up my front page. The error i am getting is this

 

Warning: main(includes/modules/MAIN_CATEGORIES) [function.main]: failed to open stream: No such file or directory in /home/sites/xxx.com/public_html/index.php on line 305

 

can anybody point me in the right direction?

Posted

You miss something during the installation,

 

something like that:

define('MAIN_CATEGORIES', 'xxxxxxx');

Everyone is changing the world.

Everyone is a world.

For everyone needs my help, PM or email if I amn't online.

Posted

I think Main Categories is part of a contribution called Main Categories. Did you install that? If so go back over the install.

Posted

ah thank you so much! i installed another mod which replaced the filenames.php file, i just had to add define('MAIN_CATEGORIES', 'main_categories.php'); back in and hey presto! teach me to take the lazy way of adding things!

Archived

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

×
×
  • Create New...