Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SQL Error


RoninS14

Recommended Posts

Posted

I know its a fairly common error but does anyone have any experience dealing with this one is particular? I am more concerned with the second part of the error. Does any of the code look wrong?

 

2013 - Lost connection to MySQL server during query

 

select sum(tax_rate) as tax_rate from tax_rates tr left join zones_to_geo_zones za on (tr.tax_zone_id = za.geo_zone_id) left join geo_zones tz on (tz.geo_zone_id = tr.tax_zone_id) where (za.zone_country_id is null or za.zone_country_id = '0' or za.zone_country_id = '223') and (za.zone_id is null or za.zone_id = '0' or za.zone_id = '21') and tr.tax_class_id = '1' group by tr.tax_priority

 

[TEP STOP]

Posted

Which version of osCommerce is giving you that error, and in which file is it being generated?

 

Vger

Posted

It happens when the customer is in the shopping cart and presses "Checkout". I believe the file being called is "checkout_shipping.php".

 

I was using OSc MS2.2 when it started giving me this error. I recently patched it to "patch060817vs2003".

Posted

Here's my server info if it helps:

 

Server OS: Linux 2.4.7-10smp Database: MySQL 3.23.53a

Server Date: 02/04/2008 15:25:14 Datebase Date: 02/04/2008 15:25:13

Server Up Time: 3:25pm up 38 days, 7:17, 0 users, load average: 2.05, 3.89, 4.59

HTTP Server: Apache/1.3.33 (Unix) PHP/4.3.10 mod_ssl/2.8.22 OpenSSL/0.9.7e

PHP Version: 4.3.10 (Zend: 1.3.0)

Posted

I am currently trying to get my web host to upgrade the mysql version and php version. I was told that it could be an issue

Posted

I don't get it. I can receive orders from Japan just fine, but anytime I try running the order from a local IP, I get that SQL error.

Posted

I can PM you my site address if any of you want to take a look at it. Maybe you'll know what's going on.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...