Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

After removing CCGV5.18 contrib, now have error on checkout_confirmation page


jillbalkus

Recommended Posts

Posted

Hello! I DID backup my catalog before adding the contribution, CCGV5.18. I had trouble getting the contrib to work properly, so I deleted the catalog and reuploaded my backed up catalog from before.

 

Now I get the following error on the checkout_confirmation page:

Warning: order_total(includes/languages/english/modules/order_total/ot_coupon.php): failed to open stream: No such file or directory in /home/fabadmin/public_html/catalog/includes/classes/order_total.php on line 25

 

Warning: order_total(includes/languages/english/modules/order_total/ot_coupon.php): failed to open stream: No such file or directory in /home/fabadmin/public_html/catalog/includes/classes/order_total.php on line 25

 

Warning: order_total(): Failed opening 'includes/languages/english/modules/order_total/ot_coupon.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fabadmin/public_html/catalog/includes/classes/order_total.php on line 25

 

Warning: order_total(includes/modules/order_total/ot_coupon.php): failed to open stream: No such file or directory in /home/fabadmin/public_html/catalog/includes/classes/order_total.php on line 26

 

Warning: order_total(includes/modules/order_total/ot_coupon.php): failed to open stream: No such file or directory in /home/fabadmin/public_html/catalog/includes/classes/order_total.php on line 26

 

Warning: order_total(): Failed opening 'includes/modules/order_total/ot_coupon.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fabadmin/public_html/catalog/includes/classes/order_total.php on line 26

 

Fatal error: Cannot instantiate non-existent class: ot_coupon in /home/fabadmin/public_html/catalog/includes/classes/order_total.php on line 29

 

Here's the code from the order_total.php page (line 23 through 30)

 

		reset($this->modules);
	while (list(, $value) = each($this->modules)) {
	  include(DIR_WS_LANGUAGES . $language . '/modules/order_total/' . $value);
	  include(DIR_WS_MODULES . 'order_total/' . $value);

	  $class = substr($value, 0, strrpos($value, '.'));
	  $GLOBALS[$class] = new $class;
	}

 

Note: I don't have the ot_coupon.php page in includes/languages/english/modules/order_total/ot_coupon.php since I reuploaded the catalog from before I ever installed the contribution.

 

Please let me know if any more information is needed and how I can fix the error. Thank you very much!

Jill

Posted

Nevermind....I fixed it! After searching the forum and reading other posts, I took the advice of going reverse through the contrib install process. Now everything works!

Archived

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

×
×
  • Create New...