- Posts: 214
- Thank you received: 7
Error 1064 on checkout
- conticreative
-
Topic Author
- Offline
-- HikaShop version -- :2.2.1 Essential
-- Joomla version -- : 3.1.5
-- PHP version -- :5.3
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- :
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 SQL=SELECT zone_id, zone_code_2 FROM ajx70_hikashop_zone WHERE zone_id IN (-)
I reached the error above twice. The first time I was testing the UPS shipping plugin, which was showing me a "no shipper" notice.
However, after I registered that error went away and instead a message about (I paraphrase) a "Wrongly configured or no warehouse" showed up.
In the backend I deleted the warehouse from the UPS plugin, which in fact appears not to be a necessary feature and I went to refresh the checkout page in the front end. Upon refreshing I got this "Page not found" with the error below.
I went to the home page again, and added another product but when I clicked on "Checkout" again I received the same error page.
After I deleted both products from the cart and I added a new product I clicked on checkout and it worked fine, except for the fact that I still get a "No shipping method found" even though my UPS plugin seems to be properly configured.
I am not sure if this is a big deal, but I noticed the page is also [pretty badly formatted. Is there a way to redirect to a better 404/error page than this? It's missing most of the CSS.
Please Log in or Create an account to join the conversation.
The error is due to a wrong configuration of the UPS warehouses. You have to specify a country.
It looks like there is no "zone id" but a dash instead.
Please provide a screenshot of your UPS configuration.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- conticreative
-
Topic Author
- Offline
- Posts: 214
- Thank you received: 7
Message
No shipping method found
Whenever I checkout something. Here is a screenshot of the UPS plugin before I deleted the warehouse (which I can add again easily)
Below itr is a screenshot of my checkout preferences
Here is the checkout screenshot.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- conticreative
-
Topic Author
- Offline
- Posts: 214
- Thank you received: 7
Unfortunately, now the error message has changed to:
Message
No available warehouse found for your location
At the very least, is this a message from UPS? Neither my client or I have any clue what it's meant by "Warehouse". I have assumed it is their Shipping location.
I added the info again and in the "zone" I have opened up the zone editor, selected "states" and then USA and I selected all 57 and pressed OK.
However, here it looks like only Alaska is chosen. That's why I picked Colorado before. What do I have to chose as a warehouse zone? I tried nothing and it still gave me the same error.
This is what it looks like when I choose all the 57 options and click "OK":
The relative error is:
Message
No available warehouse found for your location
This is what it looks like without a zone at all:
And its relative error is:
Message
No shipping method found
But I noticed in the "Zone" popup that there is a class of zones called "Shipping Zones. In my case it's empty. Is that what I am missing?
PS: I am on my way to see a doctor, so I'll get back to this tomorrow or Monday. But I need to make this UPS plugin work one way or another. Thank you
Please Log in or Create an account to join the conversation.
So leaving the zone parameter empty is good. If you still have an issue after that, it means that there is something else not configured properly. For example, if you're trying while you didn't enter yet your user address. The plugin requires the destination address to be able to calculate the shipping fees.
Please Log in or Create an account to join the conversation.
- conticreative
-
Topic Author
- Offline
- Posts: 214
- Thank you received: 7
Message
No shipping method found
I am sure that:
1) I have an address
2) The product diomensions are specified as is the weight
3) The UPS plugin has been filled as best I could, but I took most opf the data not from my clieent,rather I logged into their account.
This is what the error looks like without the warehouse specified:
Please Log in or Create an account to join the conversation.
If HikaShop tells you that there is no shipping methods, it means that there is no valid shipping methods.
It is possible that the UPS plugins does not return anything, due to some restrictions, not valid address or no data received from the UPS API.
If there is no warehouse specified, I guess that UPS can't provide you any price because it does not know from where the products will be shipped.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- conticreative
-
Topic Author
- Offline
- Posts: 214
- Thank you received: 7
If you read the previous posts, there is a list of all the things I tried, including what the other moderator suggested. One of the last things he suggested I tried was to take out the Warehouse completely to see what the results were. My last post was a report on that test I performed.
What would be interesting to know for me is to take screenshots of all the areas in hikashop where there could be an error in setting up the UPS plugin. I'll be happy to take screeshots and publish them so you guys can tell me what I may be doing wrong.
Thank you.
Please Log in or Create an account to join the conversation.
Thanks to set again some warehouses, and give us a screenshot of the error returned.
Please Log in or Create an account to join the conversation.
Xavier wrote: Hi,
Thanks to set again some warehouses, and give us a screenshot of the error returned.
I also have the error. And confirming..was this ever resolved please?
No shipping method found
All UPS data correct, if I select "M" for dimensions, UPS tells me incorrect.. If I use "inches" I get this error.
Please Log in or Create an account to join the conversation.
The 1064 error means that the warehouse of your plugin is not configured properly.
Please do a screenshot of the configuration so that we can see what you did in that case.
Please Log in or Create an account to join the conversation.
Using CTRL > PrintScreen I works going to email fine.
Please Log in or Create an account to join the conversation.
www.take-a-screenshot.org/
Please Log in or Create an account to join the conversation.
Please stand by...but I do have an update.
I found The client had made a mistake in Product, For "VOLUME" he had "Feet" instead of inches !!
Just letting others know, that is could be a cause also...I mean UPS does Not allow "FT" for measurements
1) The cart zone is United States of America > PA is and he was able to then SELECT the various UPS Methods Properly
2) I am in Illinois, but I still see the error... Do I have to add every single state of the United States?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Here is Screenshot...sorry for delay, had to install program
Attched
?? www.hikashop.com/support/documentation/9...ipping-ups-form.html ??
Zone Restriction? The word "zone" is not on that page
Please Log in or Create an account to join the conversation.
And I can see that you set the zone of your warehouse in your screenshot, while I said that you should leave it empty.
Please remove it.
Please Log in or Create an account to join the conversation.
2) Cart = No available warehouse found for your location
3) Zone, sorry... I must not set Focus for Edit>Find [on page]
4) re: don't set any zone restriction, as explained in the UPS plugin documentation
5) The word > restriction is non-existent on that page as well as > zone restriction
Please Log in or Create an account to join the conversation.
If that is ok and that the zone of the warehouse is removed it should definitely not display that warehouse not found error.
Please Log in or Create an account to join the conversation.