Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Copying osCommerce


poolroom

Recommended Posts

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

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

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

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

Archived

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

×
×
  • Create New...