Forums / Bug Reports / [DONE] Checkout_shipping problem -- user error

[DONE] Checkout_shipping problem -- user error

Locked

Started by topendspeed on 8 Jun 2006, 1:04 AM · Views: 3,303

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
8 Jun 2006, 1:04 AM
#1
topendspeed avatar

topendspeed

New Zenner

Join Date:
Jun 2006
Posts:
8
Plugin Contributions:
0

[DONE] Checkout_shipping problem -- user error

Not sure if this is a bug or what. I was trying to run a test purchase on my store to make sure everything is functioning properly before going live sometime next week and when i went to check out, this was the error that i got:

1064 You have an error in your SQL syntax near '(address_book ab left join zones z on (ab.ent' at line 7
in:
[select c.customers_firstname, c.customers_lastname, c.customers_telephone, c.customers_email_address, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, z.zone_name, co.countries_id, co.countries_name, co.countries_iso_code_2, co.countries_iso_code_3, co.address_format_id, ab.entry_state from customers c, (address_book ab left join zones z on (ab.entry_zone_id = z.zone_id) left join countries co on (ab.entry_country_id = co.countries_id) ) where c.customers_id = '1' and ab.customers_id = '1' and c.customers_default_address_id = ab.address_book_id]

Any suggestions?

8 Jun 2006, 1:09 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: [DONE] Checkout_shipping problem -- user error

What version of Zen Cart?
What version of PHP?
What version of MySQL?

.
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.

8 Jun 2006, 1:21 AM
#3
topendspeed avatar

topendspeed

New Zenner

Join Date:
Jun 2006
Posts:
8
Plugin Contributions:
0

Re: [DONE] Checkout_shipping problem -- user error

Latest version of Zencart, just installed it 3 days ago. Mysql 3.23.56 older i know (i dread upgrading, lastime i did it was an absolute mess), and PHP 4.3.1

8 Jun 2006, 2:47 AM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: [DONE] Checkout_shipping problem -- user error

you may want to upgrade php to meet zen minimums
PHP 4.3.1 is a litle low

Zen cart PCI compliant Hosting

8 Jun 2006, 3:02 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [DONE] Checkout_shipping problem -- user error

Check to be sure that you actually have v1.3.0.1 ... that is a bug that was in v1.3 and was fixed in v1.3.0.1 ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Jun 2006, 3:29 AM
#7
topendspeed avatar

topendspeed

New Zenner

Join Date:
Jun 2006
Posts:
8
Plugin Contributions:
0

Re: [DONE] Checkout_shipping problem -- user error

please close thread, fixed the error myself thanks

8 Jun 2006, 3:33 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [DONE] Checkout_shipping problem -- user error

What was the solution? :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Jun 2006, 3:59 AM
#9
topendspeed avatar

topendspeed

New Zenner

Join Date:
Jun 2006
Posts:
8
Plugin Contributions:
0

Re: [DONE] Checkout_shipping problem -- user error

Line 238 of order.php reads:

from " . TABLE_CUSTOMERS . " c, (" . TABLE_ADDRESS_BOOK . " ab

when it should read:

from " . TABLE_CUSTOMERS . " c, " . TABLE_ADDRESS_BOOK . " ab

and Line 240 of order.php reads:

left join " . TABLE_COUNTRIES . " co on (ab.entry_country_id = co.countries_id) )

when it should read:

left join " . TABLE_COUNTRIES . " co on (ab.entry_country_id = co.countries_id)

8 Jun 2006, 4:02 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [DONE] Checkout_shipping problem -- user error

Thanks for the info ...

Do take some time to check that you did in fact update all of your files to v1.3.0.1 when you upgraded ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!