Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

the "Failed opening '##/##/##" for inclusion"


bosco

Recommended Posts

My oscommerce was working well when it was parked on a free webhosting website, but when I tried to install it in my windows 2000 local machine, the modules in admin crashed and came up with the following warnings:

 

Warning: Failed opening '/www/shop/######' for inclusion (include_path='.;c:php4pear ') in ####/modules.php on line 120

 

.....

----------------------------------- 8)

My docu_root: f:www

I install oscommerce in f:wwwshop

----------------------------

I just fixed this problem by adding " include_path = ".;f:" " into my php.ini file.

 

So I think the bug is that by definition in configure.php

'DIR_WS_LANGUAGES' = '/www/shop/includes/language/', the modules.php try to open '/www/shop/includes/language/english/module/payment/*.php' but can't find it, actually it shoud be 'f:/www/shop/includes/language/english/module/payment/*.php'

 

hope it will be helpful for your guys encountering this problem

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...