Zen Cart Logo
Forums / All Other Contributions/Addons / Blank screen on checkout DEBUG: PHP Fatal error: Class 'ot_lev_discount' not found

Blank screen on checkout DEBUG: PHP Fatal error: Class 'ot_lev_discount' not found

Views: 790

Results 1 to 3 of 3
22 Jun 2011, 11:47 PM
#1
jacobbushnell avatar

jacobbushnell

New Zenner

Join Date:
Mar 2010
Location:
Bonners Ferry, Idaho
Posts:
69
Plugin Contributions:
0

Blank screen on checkout DEBUG: PHP Fatal error: Class 'ot_lev_discount' not found

Hello I have a strange problem that started after I upgraded my google product feed mod.

The checkout screen goes completely blank after i select the shipping method and go on to payment method.

I ran the debug utility and found this error:
[22-Jun-2011 18:13:17] PHP Fatal error: Class 'ot_lev_discount' not found in /home/hjshop/public_html/includes/classes/order_total.php on line 47

I suppose that I might have messed up a file but my question is wich one? I check the file listed: includes/classes/order_total.php

And it appears to be fine... Any ideas where I can look to find what is wrong here?

Thank you,
Jacob Bushnell

23 Jun 2011, 2:04 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Blank screen on checkout DEBUG: PHP Fatal error: Class 'ot_lev_discount' not found

order_total.php is merely a handler which loads all the ot-modules you've installed on your site. It takes the list of modules you've configured in your Admin->Modules->Order Total screen and attempts to load the module and corresponding language file from /includes/modules/order_total/ and /includes/languages/english/modules/order_total, respectively.
It appears you've got a "ot_lev_discount" file in one of those folders without its sibling in the corresponding other folder, hence "not found" message.

If you've attempted to delete that module but didn't delete both files, then that would explain the error as well. Delete both and the error message will go away. It might take a visit to the Admin->Modules->Order Total screen to complete the reset after deleting the files.

23 Jun 2011, 5:34 PM
#3
jacobbushnell avatar

jacobbushnell

New Zenner

Join Date:
Mar 2010
Location:
Bonners Ferry, Idaho
Posts:
69
Plugin Contributions:
0

Re: Blank screen on checkout DEBUG: PHP Fatal error: Class 'ot_lev_discount' not found

Perfect! thank you for your help!

:clap:

Jacob