Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Location
    UK
    Posts
    23
    Plugin Contributions
    0

    Default Error message at checkout

    Started getting an error message when customers attempt to proceed to check out:

    Warning: include_once(includes/modules/order_total/ot_subtotal.php) [function.include-once]: failed to open stream: No such file or directory in /public_html/zen-cart/includes/classes/order_total.php on line 33

    Warning: include_once() [function.include]: Failed opening 'includes/modules/order_total/ot_subtotal.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/zen-cart/includes/classes/order_total.php on line 33

    Fatal error: Class 'ot_subtotal' not found in /public_html/zen-cart/includes/classes/order_total.php on line 36

    Can anyone suggest any reasons for this? The files above have not been changed recently.

    The ot_subtotal.php file does not exist in the above location - instead it can be found at includes/modules/customtemp/order_total/ot_subtotal.php. Could this be the problem?

    I copied the order_total folder (with all files in it, including ot_subtotal.php) into includes/modules just to see what happens and it seems to now allow checkout however the following appears at the top of the checkout page:
    >>>>DIR_WS_LANGUAGESenglish/modules/order_total/

    Any ideas wise people?

    Many thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Error message at checkout

    The ot_subtotal.php file does not exist in the above location - instead it can be found at includes/modules/customtemp/order_total/ot_subtotal.php. Could this be the problem?
    Yes....Did you edit that file?

    Only files where you see a classic folder in the tree can be overridden

    There is no classic folder at
    /includes/modules/order_total/
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2010
    Location
    UK
    Posts
    23
    Plugin Contributions
    0

    Default Re: Error message at checkout

    Thank you for the reply.

    No - no files have been edited. The order_total folder just wasn't in includes/modules but was in includes/modules/customtemplate instead (and I'm assuming it must have always been there). This problem only occurred yesterday.

    Because I copied the folder from includes/modules/customtemplate into includes/modules it now exists in two locations - is that the reason for the second error message?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Error message at checkout

    I would get a new distribution of the exact same version you are isung and expand it on your local

    Compare what and where these files are in the fresh distribution to your files on the server
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. error message when trying to checkout
    By sflasal in forum General Questions
    Replies: 1
    Last Post: 3 Feb 2011, 02:46 AM
  2. Authorize.net Error Message at Checkout
    By engine411 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 20 Dec 2009, 11:21 AM
  3. Error Message on checkout payment page
    By sandy2000ca in forum General Questions
    Replies: 1
    Last Post: 6 Oct 2008, 07:54 PM
  4. Checkout error message
    By Jude in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 27 Oct 2007, 11:04 AM
  5. Checkout Time Out error message
    By Stormshade in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 30 Jul 2007, 11:45 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