Results 1 to 3 of 3
  1. #1
    Join Date
    May 2004
    Location
    Nathalie,Virginia
    Posts
    90
    Plugin Contributions
    0

    Default error in checkout

    I was making some changes and honestly not checking behind each one b/c they at the time appeared to be installing and working soomthly until i went to try to gift wrapping mod and as soon as I get to the checkout pages i get this at the top .. if anyone could help or tell me where to get rid of it I'd appreciate it

    r .= "\n-----\n" . sprintf(EMAIL_DISCLAIMER, STORE_OWNER_EMAIL_ADDRESS) . "\n\n"; // include copyright $email_order .= "\n-----\n" . EMAIL_FOOTER_COPYRIGHT . "\n\n"; while (strstr($email_order, ' ')) $email_order = str_replace(' ', ' ', $email_order); $HTML_MSG['EMAIL_FIRST_NAME'] = $this->customer['firstname']; $HTML_MSG['EMAIL_LAST_NAME'] = $this->customer['lastname']; // $HTML_MSG['EMAIL_TEXT_HEADER'] = EMAIL_TEXT_HEADER; $HTML_MSG['EXTRA_INFO'] = ''; Zen_mail($this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], EMAIL_TEXT_SUBJECT . EMAIL_ORDER_NUMBER_SUBJECT . $zf_insert_id, $email_order, STORE_NAME, EMAIL_FROM, $HTML_MSG, 'checkout'); // send additional emails if (SEND_EXTRA_ORDER_EMAILS_TO != '') { $extra_info=email_collect_extra_info('','', $this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], $this->customer['telephone']); $HTML_MSG['EXTRA_INFO'] = $extra_info['HTML']; if ($GLOBALS[$_SESSION['payment']]->auth_code || $GLOBALS[$_SESSION['payment']]->transaction_id) { $PMT_details = 'AuthCode: ' . $GLOBALS[$_SESSION['payment']]->auth_code . ' TransID: ' . $GLOBALS[$_SESSION['payment']]->transaction_id . "\n\n"; $email_order = $PMT_details . $email_order; $HTML_MSG['EMAIL_TEXT_HEADER'] = nl2br($PMT_details) . $HTML_MSG['EMAIL_TEXT_HEADER']; } Zen_mail('', SEND_EXTRA_ORDER_EMAILS_TO, SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . EMAIL_ORDER_NUMBER_SUBJECT . $zf_insert_id, $email_order . $extra_info['TEXT'], STORE_NAME, EMAIL_FROM, $HTML_MSG, 'checkout_extra'); } } } ?>
    the only mods I installed that I think should have affected this was the giftwrapping and the date reminder but the error doesn't reference either one that i can tell. the date reminder one i don't know if it is working or not I can't find it and there was a small error when i installed i have a thread in over at their support forum) the only other thing I could think of was for the gift wrapping in the readme file it said
    Run the SQL script orders_wrap.SQL in phpMyAdmin. If you have used
    a prefix in your database, modify orders_wrap.SQL to reflect this (e.g.
    change "orders_giftwrap" to "Zen_orders_giftwrap" if your prefix is
    "Zen_").
    but it didn't say what all lines to edit so i only did this
    Code:
    DROP TABLE IF EXISTS avaava_orders_giftwrap;
    CREATE TABLE avaava_orders_giftwrap(
      orders_giftwrap_id int(11) NOT NULL auto_increment,
      orders_products_id int(11) NOT NULL default '0', 
      orders_id int(11) NOT NULL default '0',
      wrap int(11) NOT NULL default '0',
      PRIMARY KEY  (orders_giftwrap_id),
      KEY idx_orders_id_orders_prod_id_giftwrap (orders_id,orders_products_id)
    ) TYPE=MyISAM;
    should i have put the avaava in front of everything that said orders_giftwrap (like the orders_giftwrap_id

    if you need to see the error the store is www.thebirthdaygiftstore.com and you can use my dummy customer to log in and see the error (don't worry no orders will be processed and you don't evenhave to get hat far to see the error) login
    [email protected]
    pw - pnrma7h
    Age is a question of Mind over Matter,
    If you don't Mind, it don't matter!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: error in checkout

    It seems as though your /includes/classes/order.php file didn't upload correctly or is damaged.
    Re-uploading the file should help.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    May 2004
    Location
    Nathalie,Virginia
    Posts
    90
    Plugin Contributions
    0

    Default Re: error in checkout

    Thank you DrByte. that seems to have been the problem I reuploaded the same file and it worked not sure why or how the file messed up but Thank you for helping me to fix it.
    Age is a question of Mind over Matter,
    If you don't Mind, it don't matter!

 

 

Similar Threads

  1. Replies: 6
    Last Post: 11 Jan 2013, 12:51 PM
  2. Replies: 2
    Last Post: 15 Feb 2012, 09:08 PM
  3. Replies: 3
    Last Post: 16 Feb 2010, 05:33 PM
  4. Replies: 11
    Last Post: 16 May 2009, 04:45 PM
  5. Go To Checkout Error - with Fast and Easy Checkout installed
    By RFree190 in forum General Questions
    Replies: 3
    Last Post: 10 Mar 2009, 07:08 AM

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