AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: puffafish on February 28, 2014, 08:14:16 PM

Title: 'Unknown AJAX error' when using product input option
Post by: puffafish on February 28, 2014, 08:14:16 PM
I tried AbanteCart Cart for the first time today after trying a few others before deciding which to go with on my new (and first store) selling personalised gifts.

All products need at least one text input option for the personalisation.

If an item is purchased without entering any text in the product input option box, all is well but, if any text is entered in the input option, though the item is added to the cart with the personalisation intact, an 'Unknown AJAX Error' flashes up on the screen every time. Re-installing a fresh store has no effect. It maybe something I am doing wrong, but I dont think so but as it stands, an error flashing up with every product looks bad.

Also, one of the functions I require is to be able to limit the max characters of the input fields, but I can see no way to accomplish this?

I hope someone can shed some light on my issues, as AbanteCart Cart does look promising and seems to get rave reviews everywhere I look.

Thanks all

Title: Re: 'Unknown AJAX error' when using product input option
Post by: abantecart on February 28, 2014, 08:36:51 PM
What version of the cart do you use?
Title: Re: 'Unknown AJAX error' when using product input option
Post by: puffafish on February 28, 2014, 08:43:57 PM
The latest release, 1.1.8
Title: Re: 'Unknown AJAX error' when using product input option
Post by: abantecart on March 02, 2014, 08:31:55 PM
Can you share your setting for product options? Is this just basic input ? Help me with steps and I will solve this problem
Title: Re: 'Unknown AJAX error' when using product input option
Post by: Basara on March 03, 2014, 02:36:52 AM
I see 'Unknown AJAX Error' in AbanteCart 1.1.8 when my Internet connection is very very poor. When Internet stable everything ok on same pages and no errors.
Title: Re: 'Unknown AJAX error' when using product input option
Post by: puffafish on March 04, 2014, 05:34:00 AM
Hi, apologies for the delay in replying.

It is a basic input with no options (though i tried adding options to no effect on the error), just for entering a name to be personalised on the item.

Please see

lovinglynamed.co.uk/test/test-product (removed)

With the required setting set to no, adding the item to the cart without typing in the input box does not cause the error, however if you put anything in the input box, the error is displayed.

Setting required to 'yes' has no effect on the error.

The option settings upon clicking 'add option' for the product:

Status: ON
Option: Name
Element type: Input
Sort order: 0
Required: No

After the error is displayed, the item is added to the cart with the option in tact so I have no idea what effect if any this error message has other than looking nasty.

Kind regards,
Clive
Title: Re: 'Unknown AJAX error' when using product input option
Post by: Basara on March 04, 2014, 08:34:46 AM
I can not replicate your issue. But I see problem if page not loaded completely see screen-shot. So if Internet is slow and page loaded some time we have this issue visible.  :-\
Title: Re: 'Unknown AJAX error' when using product input option
Post by: puffafish on March 04, 2014, 10:02:57 AM
Hi Basara,

Thats strange. The error occurs for me once the page is fully loaded, and also on a local install (where connection speed isn't a factor anyway)...

The fact that, for me at least, the error only occurs if data is typed into the input field, and not if the item is added to the cart without any data, would suggest that the cause is something other than connection speed/page loaded.

I am at a loss, does anyone else get this error message?

Regards,
Clive
Title: Re: 'Unknown AJAX error' when using product input option
Post by: Ericles on July 08, 2014, 04:50:43 PM
Hi Clive,
You're not alone - I'm seeing the message as well. Since I'm on a different version I'll start a new thread.
Title: Re: 'Unknown AJAX error' when using product input option
Post by: pawanesh on July 28, 2014, 10:59:18 PM
use solution provided by Abolado dated July 23, 2014

to solve it replace file public_html/storefront/view/default_html5/javascript/common.js  provided by Abolado

Visit http://forum.abantecart.com/index.php/topic,2473.0.html

cheers

 :) :)

Title: Re: 'Unknown AJAX error' when using product input option
Post by: pawanesh on August 12, 2014, 12:16:23 AM
Very strange,  problem re-emerged.

 >:( >:(
Title: Re: 'Unknown AJAX error' when using product input option
Post by: flyn on August 14, 2014, 12:07:20 PM
I had been getting Ajax error on one product only which was really strange and it was when visiting the review tab. It seems to have gone away though. The file provided for us to replace the original did help a bit but then it reverted back.

I dont see the error now as I just checked. I made some changes to PHP version recently so I dont know if that had an effect.
Title: Re: 'Unknown AJAX error' when using product input option
Post by: timlo on August 19, 2014, 01:35:06 AM
I am using abantecart for my next webstore update, and is 1.1.9 the latest version

when I try to change to shipping country for shipping quote, is shown Unknown AJAX Error! and not display correctly with state selection.

Please help
Title: Re: 'Unknown AJAX error' when using product input option
Post by: Basara on August 19, 2014, 03:13:12 AM
I am using abantecart for my next webstore update, and is 1.1.9 the latest version

when I try to change to shipping country for shipping quote, is shown Unknown AJAX Error! and not display correctly with state selection.

Please help

Hello.
Did you mean 'Estimate Shipping & Taxes' block on shopping cart page? Please post your site url if possible
Title: Re: 'Unknown AJAX error' when using product input option
Post by: pawanesh on August 22, 2014, 07:20:32 AM
Use complete url path and try.       i.e. http://www.*********.***

I am not getting error after trying this.

 8) 8)