Author Topic: 'Unknown AJAX error' when using product input option  (Read 8594 times)

Offline puffafish

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
'Unknown AJAX error' when using product input option
« 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


Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4152
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: 'Unknown AJAX error' when using product input option
« Reply #1 on: February 28, 2014, 08:36:51 PM »
What version of the cart do you use?
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline puffafish

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #2 on: February 28, 2014, 08:43:57 PM »
The latest release, 1.1.8

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4152
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: 'Unknown AJAX error' when using product input option
« Reply #3 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
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4275
  • Karma: +202/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #4 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.
“Chuck Norris is so amazing.”
― Mother Teresa

Offline puffafish

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #5 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
« Last Edit: March 05, 2014, 12:04:37 PM by puffafish »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4275
  • Karma: +202/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #6 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.  :-\
“Chuck Norris is so amazing.”
― Mother Teresa

Offline puffafish

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #7 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

Offline Ericles

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #8 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.

Offline pawanesh

  • Newbie
  • *
  • Posts: 34
  • Karma: +10/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #9 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

 :) :)


Offline pawanesh

  • Newbie
  • *
  • Posts: 34
  • Karma: +10/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #10 on: August 12, 2014, 12:16:23 AM »
Very strange,  problem re-emerged.

 >:( >:(

Offline flyn

  • Full Member
  • ***
  • Posts: 142
  • Karma: +8/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #11 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.

Offline timlo

  • Newbie
  • *
  • Posts: 32
  • Karma: +3/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #12 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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4275
  • Karma: +202/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #13 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
“Chuck Norris is so amazing.”
― Mother Teresa

Offline pawanesh

  • Newbie
  • *
  • Posts: 34
  • Karma: +10/-0
    • View Profile
Re: 'Unknown AJAX error' when using product input option
« Reply #14 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)



 

 

Powered by SMFPacks Social Login Mod