poolroom Posted June 14, 2004 Share Posted June 14, 2004 I have a complete site working prefectly. Copied the code to another site. Made changes to the files I thought were necessary. Seems to be working great until you click continue after payment selection. Have I missed something I needed to change for new site? Warning: Failed opening 'includes/modules/order_total/ot_subtotal.php' for inclusion (include_path='.:/usr/share/pear') in /usr/home/poolroomstore/htdocs/catalog/includes/classes/order_total.php on line 26 Fatal error: Cannot instantiate non-existent class: ot_subtotal in /usr/home/poolroomstore/htdocs/catalog/includes/classes/order_total.php on line 29 Link to comment Share on other sites More sharing options...
Chris Dunning Posted June 15, 2004 Share Posted June 15, 2004 You missed a file is all. Warning: Failed opening 'includes/modules/order_total/ot_subtotal.php' for inclusion (include_path='.:/usr/share/pear') in /usr/home/poolroomstore/htdocs/catalog/includes/classes/order_total.php on line 26 This error means that the file ot_subtotal.php isn't where it should be (or maybe it's there and permissions aren't set right). The second error is a result of the first. Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly. Link to comment Share on other sites More sharing options...
poolroom Posted June 15, 2004 Author Share Posted June 15, 2004 That's what I first thought; however, other site does not have that file where it is looking for it either. ot_subtotal.php only exists in 'includes/languages/modules/order_total' So I am not sure why it is even looking for it where it is??? Link to comment Share on other sites More sharing options...
Chris Dunning Posted June 15, 2004 Share Posted June 15, 2004 The language file contains the English definitions for that module (or the French definitions, or the Spanish, etc depending on which directory you're in). You need to have a file in that modules directory. The file in the languages directory has the same name, but it's not the same file. If the file doesn't exist in the current store, I don't know how the current store is operating properly...unless they're just not using the subtotal module, which I suppose could be true. I suggest that you download a .zip file of the Milestone 2 version, unpack that particular file and upload it to where it belongs. Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly. Link to comment Share on other sites More sharing options...
poolroom Posted June 15, 2004 Author Share Posted June 15, 2004 I'll try that. Thanks. Link to comment Share on other sites More sharing options...
poolroom Posted June 15, 2004 Author Share Posted June 15, 2004 I have no idea how that happened.... but that fixed it. Thanks again!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.