srphotos Posted January 27, 2011 Share Posted January 27, 2011 I have attempted to install a shipping module for the UK but have come across the following errors when tyring to install. Warning: include(E:/Inetpub/vhosts/simonrussellphotography.com/httpdocs/catalog/includes/languages/english/modules/shipping/parcelforce48.php) [function.include]: failed to open stream: No such file or directory in E:\Inetpub\vhosts\simonrussellphotography.com\httpdocs\catalog\locked\modules.php on line 129 Line 129 of the modules.php file is include($module_language_directory . $language . '/modules/' . $module_type . '/' . $file); If I try to manually type the shipping method in my database cp I get the following error when I try to test purchase a product Warning: include(includes/languages/english/modules/shipping/rmfirst.php) [function.include]: failed to open stream: No such file or directory in E:\Inetpub\vhosts\simonrussellphotography.com\httpdocs\catalog\includes\classes\shipping.php on line 36 LIne 26 of the shipping.php file is include(DIR_WS_LANGUAGES . $language . '/modules/shipping/' . $include_modules[$i]['file']); I also have errors on lines 37 & 39 of shipping.php include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']); $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class']; I'm totally new to this so I'm having a huge amount of stress trying to figure out what is wrong. Can someone pleas help me out? Link to comment Share on other sites More sharing options...
burt Posted January 27, 2011 Share Posted January 27, 2011 Your language files are missing. Link to comment Share on other sites More sharing options...
srphotos Posted January 27, 2011 Author Share Posted January 27, 2011 Your language files are missing. Thanks for the speedy reply, but could you be a little more specifc? I have a full includes/language/ dir with english.php and an english/ dir that again is populated with all the files from the original install. If my files are missing, which ones? where should they be etc? Link to comment Share on other sites More sharing options...
multimixer Posted January 27, 2011 Share Posted January 27, 2011 If my files are missing, which ones? where should they be etc? They should be in the addon package you downloaded. They are not part of the default installation, so you need to find them and upload them My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
burt Posted January 27, 2011 Share Posted January 27, 2011 The error message should be enough for you; Warning: include(E:/Inetpub/vhosts/simonrussellphotography.com/httpdocs/catalog/includes/languages/english/modules/shipping/parcelforce48.php) [function.include]: failed to open stream: No such file or directory in E:\Inetpub\vhosts\simonrussellphotography.com\httpdocs\catalog\locked\modules.php on line 129 Link to comment Share on other sites More sharing options...
srphotos Posted January 28, 2011 Author Share Posted January 28, 2011 The error message should be enough for you; Warning: include(E:/Inetpub/vhosts/simonrussellphotography.com/httpdocs/catalog/includes/languages/english/modules/shipping/parcelforce48.php) [function.include]: failed to open stream: No such file or directory in E:\Inetpub\vhosts\simonrussellphotography.com\httpdocs\catalog\locked\modules.php on line 129 Clearly the error message isn't enough or I wouldn't be asking. catalog/includes/languages/english/modules/shipping/parcelforce48.php exists as does the other types of shipping methods because I can see them there in the file structure using my ftp client. httpdocs\catalog\locked\modules.php also exists as again I can see it. So what do I do now? Link to comment Share on other sites More sharing options...
multimixer Posted January 28, 2011 Share Posted January 28, 2011 Clearly the error message isn't enough or I wouldn't be asking. catalog/includes/languages/english/modules/shipping/parcelforce48.php exists as does the other types of shipping methods because I can see them there in the file structure using my ftp client. httpdocs\catalog\locked\modules.php also exists as again I can see it. So what do I do now? So, now we have 1) you saying that the file exist 2) the system saying that the file don't exist who to believe? You need to have the file parcelforce48.php in 2 locations 1) catalog/includes/modules/shipping/parcelforce48.php <- this exist 2) catalog/includes/languages/english/modules/shipping/parcelforce48.php <- this don't exist. My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
srphotos Posted January 28, 2011 Author Share Posted January 28, 2011 So, now we have 1) you saying that the file exist 2) the system saying that the file don't exist who to believe? You need to have the file parcelforce48.php in 2 locations 1) catalog/includes/modules/shipping/parcelforce48.php <- this exist 2) catalog/includes/languages/english/modules/shipping/parcelforce48.php <- this don't exist. I appreciate being a self-confessed noob there would be a level of 'this guy doesn't know what he's talking about' - and you'd be correct on so many levels as php is not one of my strong points, in fact it's my weakest point (html, css & basic actionscript within flash is my limit) However, I can tell when I can see a file or not. This is the required php file at the location .. catalog/includes/modules/shipping/parcelforce48.php and this is ther language file at .. catalog/includes/languages/english/modules/shipping/parcelforce48.php I understand the system telling me the file doesn't exist, what I don't is why, because as you can see I have the files in the loactions they are meant to be in. I think my script may be wrong and pointing in the wrong direction so it doesn't see the file which is why I need help because I do not understand php. Link to comment Share on other sites More sharing options...
srphotos Posted February 2, 2011 Author Share Posted February 2, 2011 so.. the update is... although I'm getting these error message I AM able to install the shipping modules I want & they DO work on the site. Apart from what has been said before, any ideas as to why even with the error messages this would be the case?? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.