Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting "No such file or directory in" error


pulp2

Recommended Posts

Posted

I'm still trying trying to get this php thing down.. I'm getting the error: Warning: main(includes/modules/FILENAME_MAIN_CATEGORIES) [function.main]: failed to open stream: No such file or directory in /home/igos/public_html/catalog/index.php on line 313.

 

I'm assuming this means that oscommerce is pointing to the file "main_categories" which is not there. When I look in catalog/includes/modules/ there is a file called main_categories which blows this theory out of the water. What else can I do to troubleshoot this?

 

Any help spared for a newb still learning would be greatly appreciated! :)

Posted
I'm still trying trying to get this php thing down.. I'm getting the error: Warning: main(includes/modules/FILENAME_MAIN_CATEGORIES) [function.main]: failed to open stream: No such file or directory in /home/igos/public_html/catalog/index.php on line 313.

 

I'm assuming this means that oscommerce is pointing to the file "main_categories" which is not there. When I look in catalog/includes/modules/ there is a file called main_categories which blows this theory out of the water. What else can I do to troubleshoot this?

 

Any help spared for a newb still learning would be greatly appreciated! :)

 

The name of the module needs to be defined.

put this :

define('FILENAME_MAIN_CATEGORIES','main_categories.php');

in your includes/filenames.php file

 

Corrina

Archived

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

×
×
  • Create New...