Forums / Templates, Stylesheets, Page Layout / checkout page errors

checkout page errors

Locked
Results 1 to 11 of 11
This thread is locked. New replies are disabled.
11 Jun 2008, 19:36
#1
zynmax avatar

zynmax

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

checkout page errors

Hello,

I have been using zencart for years now, but this is the first time I have not been able to find answers on the forum. After a few days of searching, I thought I'd ask.
On my site, when I select Checkout from anywhere on my site, I receive:

tails . $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', $this->attachArray); } $zco_notifier->notify('NOTIFY_ORDER_AFTER_SEND_ORDER_EMAIL'); } } ?>


my site is at z y n m a x . b i z . I am in the testing stage and don't know if this worked before. I don't know if this is a configuration file error or what. A little help and/or insight would be appreciated.
12 Jun 2008, 02:20
#2
zynmax avatar

zynmax

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: checkout page errors

Can anyone help me with this? Can they tell me what the error means?
12 Jun 2008, 02:58
#3
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: checkout page errors

I have the latest versions or FireFox and IE all works fine there

When was the last time you updated your version of zencart?
12 Jun 2008, 03:04
#4
zynmax avatar

zynmax

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: checkout page errors

I downloaded the latest version 1.3.8 this year. I'm not sure what you mean by updated, because I am using the latest version. I have tried this on several different machines: two at home, two at work and same thing anytime I click on checkout. Am I missing something. It does the same thing for the estimate shipping option.
12 Jun 2008, 03:10
#5
zynmax avatar

zynmax

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: checkout page errors

You say it works fine. When you add products to the cart and then select checkout - what do you see. All I get is the syntax above. No checkout options.
12 Jun 2008, 03:30
#6
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: checkout page errors

I get the login page where I am to log in or create and account
12 Jun 2008, 03:38
#7
zynmax avatar

zynmax

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: checkout page errors

Yes. I get that. I created several test accounts. After logging in and selecting checkout I get the following:

tails . $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', $this->attachArray); } $zco_notifier->notify('NOTIFY_ORDER_AFTER_SEND_ORDER_EMAIL'); } } ?

Login works fine, I just can't checkout. Any help, hints, or suggestions are welcome. I tried using different templates with the same results.
12 Jun 2008, 05:15
#8
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: checkout page errors

includes/classes/order.php

Line #885 : $html_msg['EMAIL_TEXT_HEADER'] = EMAIL_TEXT_HEADER;

Line #966 : // $html_msg['EMAIL_TEXT_HEADER'] = EMAIL_TEXT_HEADER;
includes/modules/pages/tell_a_friend/header_php.php


Line #94 : $html_msg['EMAIL_TEXT_HEADER'] = EMAIL_TEXT_HEADER;


is what I get when I go to admin>tools>Developers Tool Kit.

What have you modified or removed from tell a friend or customer last name, email header?




12 Jun 2008, 08:13
#9
zynmax avatar

zynmax

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: checkout page errors

AS far as I know, nothing. I have not knowingly made any modifications tell a friend or customer last name. I am using the defaults in zencart. Can you give me any idea what that means or how to correct the issue?
12 Jun 2008, 09:33
#10
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Re: checkout page errors

Your problem is in: includes/classes/order.php
Try doing a search in your tools/developers toolkit for:
tails . $

Check that line and make sure it starts like:
$email_order = $pmt_details . $email_order;
12 Jun 2008, 15:49
#11
zynmax avatar

zynmax

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: checkout page errors

Hello everyone who responded - thanks for the help. This is the change I made to includes/classes/order.php:

old line: tail . $email_order;

new line: tail . $email_order = $pmt_details . $email _ order;

Now I receive:

tails . $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', $this->attachArray); } $zco_notifier->notify('NOTIFY_ORDER_AFTER_SEND_ORDER_EMAIL'); } } ?>

Did I do this correctly? Any more help is appreciated!