Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

install module error


aftabn10

Recommended Posts

Posted

Hi, just looking for some help with an error I seem to have. For some reason whenever I click on install modules under boxes I get the following error.

 

Warning: include(C:/xampp/htdocs/catalog/includes/languages/english/modules/boxes/bm_languages - ORIGINAL.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\oscommercenew\catalog\admin\modules.php on line 129

 

When I rename the bm_languages to bm_languages - ORIGINAL.php then this goes away but how can i change this to look for bm_languages rather than bm_languages - ORIGINAL.php?

 

Also line 129 in catalog\admin\modules.php

 

is the following:

 

include($module_language_directory . $language . '/modules/' . $module_type . '/' . $file);

 

so not sure where to change this in. Any help would be appreciated. Thanks in advance.

Posted

Hi, just looking for some help with an error I seem to have. For some reason whenever I click on install modules under boxes I get the following error.

 

Warning: include(C:/xampp/htdocs/catalog/includes/languages/english/modules/boxes/bm_languages - ORIGINAL.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\oscommercenew\catalog\admin\modules.php on line 129

 

When I rename the bm_languages to bm_languages - ORIGINAL.php then this goes away but how can i change this to look for bm_languages rather than bm_languages - ORIGINAL.php?

 

Also line 129 in catalog\admin\modules.php

 

is the following:

 

include($module_language_directory . $language . '/modules/' . $module_type . '/' . $file);

 

so not sure where to change this in. Any help would be appreciated. Thanks in advance.

Try looking in catalog/includes/modules/boxes/bm_languages.php for

   var $code = 'bm_languages';

If that isn't what yours is, change it to that and then rename your file back to what it was.

Posted

bktrain, nothing needed to be changed, odd, all i did was delete the file bm_languages - ORIGINAL and now the error doesnt come up. Hopefully it will stay that way. Thanks for your help btw.

Posted

Never leave any file within module folder renamed with extension as .php

 

As code will search for a file in language folder for that specific .php file.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

Satish, thanks for this as was unaware. What i normally do is copy the original file whenever I am making any modifications in case I go wrong hence the reason for the extra files.

Archived

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

×
×
  • Create New...