aftabn10 Posted August 18, 2011 Posted August 18, 2011 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.
Guest Posted August 18, 2011 Posted August 18, 2011 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.
aftabn10 Posted August 18, 2011 Author Posted August 18, 2011 thanks bktrain, i will give that a go and let you know how i get on.
aftabn10 Posted August 23, 2011 Author Posted August 23, 2011 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.
satish Posted August 24, 2011 Posted August 24, 2011 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.
aftabn10 Posted August 26, 2011 Author Posted August 26, 2011 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.