Itchy Feet Posted October 9, 2007 Share Posted October 9, 2007 Hi there, I have tried to install a new shipping module, and have also tried to alter an existing one and add it as a separate option, but in both cases I get the following error - Fatal error: Cannot instantiate non-existent class: itch2 in /home/itchyfea/public_html/highandwild/includes/classes/shipping.php on line 39 Line 39 of shipping.php states the following - $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class']; Can anyone advise me as to what I need to do to allow me to use these additional modules? Thanks in advance for your help. Chris Link to comment Share on other sites More sharing options...
Itchy Feet Posted October 9, 2007 Author Share Posted October 9, 2007 I would just like to clarify that this occurs even with minor alterations to an existing and functioning shipping module - not just a newly installed one. So there shouldn't really be any script missing in the module to allow it to be installed properly into the site. Cheers, Chris Link to comment Share on other sites More sharing options...
Jan Zonjee Posted October 9, 2007 Share Posted October 9, 2007 I would just like to clarify that this occurs even with minor alterations to an existing and functioning shipping module - not just a newly installed one. So there shouldn't really be any script missing in the module to allow it to be installed properly into the site. Each shipping and payment module (I suppose an order_total module too) must have a file of the same name in the language directory of the admin. If one is missing on either side, you get an error. Therefore you cannot save backup files e.g. with the extension .php, you must rename them to for example .txt or .php.txt. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.