Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default order_total.php problem

    I am experiencing many errors after upgrading to the latest version. (Something always happens even though I am using the override system). Any way, upon going to the checkout process I get the following four errors:

    Warning: order_total(includes/languages/english/modules/order_total/ot_zip_tax.php): failed to open stream: No such file or directory in /home/oneweew/public_html/oneweecatalog/includes/classes/order_total.php on line 32

    Warning: order_total(): Failed opening 'includes/languages/english/modules/order_total/ot_zip_tax.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/oneweew/public_html/oneweecatalog/includes/classes/order_total.php on line 32

    Warning: order_total(includes/modules/order_total/ot_zip_tax.php): failed to open stream: No such file or directory in /home/oneweew/public_html/oneweecatalog/includes/classes/order_total.php on line 33

    Warning: order_total(): Failed opening 'includes/modules/order_total/ot_zip_tax.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/oneweew/public_html/oneweecatalog/includes/classes/order_total.php on line 33

    Fatal error: Cannot instantiate non-existent class: ot_zip_tax in /home/oneweew/public_html/oneweecatalog/includes/classes/order_total.php on line 36

    I checked and the order_total.php file is there with a permission 644. I changed it to 755 thinking it would resolve the problem but it's not.

    Any help with this would be GREATLY appreciated.

  2. #2
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: order_total.php problem

    hmm.... something clicked and I remembered that I installed a California tax module since the cart is in CA. A special sales tax. So I copied the file "ot_zip_tax.php" in all the error directories. No most of the errors have disappeard except for this remaining error:

    Fatal error: Cannot instantiate non-existent class: ot_zip_tax in /home/oneweew/public_html/oneweecatalog/includes/classes/order_total.php on line 36

    I remember that this was a module a user wrote so I guess I should go back and reinstall it, unless someone knows how to install the class. Anyone?

  3. #3
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: order_total.php problem

    Ok I reinstalled the module which is called "California Sales Tax Module" and everything works well now. I apologize for giving a reaction to the upgrade which had nothing to do with Zen Cart but everything to do with my stupidity. The upgrade is Great!!

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: order_total.php problem

    Mikey,

    Thanks for posting the process you went through during your upgrade. You may have saved someone else in the same situation.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Jan 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: order_total.php problem

    Mikey,

    I would like to second those thanks. Ran into the very same error, having installed the "California Sales Tax Module" in my local development site and then not adding the ot_zip_tax.php files to my live shop after configuration. Simply adding the files did the trick for me. Thanks for the guidance.

    Wanted to posit another question as well. Why don't these added files reside within a relevant template folder in their locations? Is this a misfire in the template system design?

    Have a good one!

    Regards,

    Mark Harrison

 

 

Similar Threads

  1. WARNING: Could not locate language file: modules/order_total/ot_loworderfee.php
    By stressedout72 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 4 Feb 2012, 07:43 PM
  2. Replies: 1
    Last Post: 8 Feb 2011, 02:07 AM
  3. retreive order_total and customers_email_address in TABLE_ORDERS
    By george_usa in forum Managing Customers and Orders
    Replies: 1
    Last Post: 4 Jan 2011, 04:21 AM
  4. Need *URGENT* HELP please!! Fatal Error order_total.php
    By gizmo_girl in forum General Questions
    Replies: 4
    Last Post: 1 Feb 2008, 07:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg