Jump to content
mdunnam

HELP! Details: Error thrown: [object Object] Text status: parsererror

Recommended Posts

Ok I am not sure what I did b/c I have done a lot tonight lol.

 

Here is what I was doing when this happened.

 

First of all I was trying to increase the file size upload limit for virtual products.

I got this working after a lot of php.ini changes and setting the size in admin pref.

 

I also changed "accessories" naming in the english lang file.

 

When it happened first. Once I got the upload file size increased and working. I went in and change the price of one of the products to $0 to test. Once I did this. I went back out to the main store and tried to add it to the cart. Then I got this error:

 

 

Impossible to add the product to the cart,

 

testStatus: 'parsererror'

errorThrown: 'SyntaxError: Unexpected token <' responseText:

 

 

 

So I figured something got messed up somewhere. So I logged out. Once I logged out I couldn't log back in in the front office. It just reloads the page. No error, nothing.

 

Then I dumped my cache. This logged me out of the admin panel. Now I get this error when trying to login there:

 

 

 

Details: Error thrown: [object Object]

Text status: parsererror

 

And when trying to add a new customer I get this error:

 

TECHNICAL ERROR: unable to load form.

 

Details:

Error thrown: [object Object]

text status: parsererror

 

 

I have searched all over the place and have tried everything I have read. Nothing has worked so far. HELP!

Edited by mdunnam

Share this post


Link to post
Share on other sites

Hi mdunnam,

 

I have the same problem.

 

TECHNICAL ERROR: unable to load form.

 

Details:

Error thrown: [object Object]

Text status: parsererror

How do you fix it?

 

Can you help me?

 

Thanks.

 

Regards, Leo

Share this post


Link to post
Share on other sites

I also had the same problem. It appears to be linked to the PayPal module. As I have disabled the PayPal module and orders and account creation is how possible. All I need to do now is find out how to enable the PayPal module again. Mark

Share this post


Link to post
Share on other sites

I receive the same error message when I try to increase the number of products in my cart past the set carrier weight ranges when the following settings are true:

 

Shipping > Carriers > Out-of-range behavior: Disable Carrier

 

If I change the out-of-range behavior setting to "Apply the cost of the highest defined range" then the error does not occur.

 

Anyone else reporting the same issue? Any ideas on how to fix this?

  • Like 2

Share this post


Link to post
Share on other sites

I receive the same error message when I try to increase the number of products in my cart past the set carrier weight ranges when the following settings are true:

 

Shipping > Carriers > Out-of-range behavior: Disable Carrier

 

If I change the out-of-range behavior setting to "Apply the cost of the highest defined range" then the error does not occur.

 

Anyone else reporting the same issue? Any ideas on how to fix this?

 

please let me know if u already fix this problem, i'm also have same trouble with this. i don't why?

i do upgrade from ps 1.5.4 - 1.5.6 with autoupgrade, with manual prestashop.zip to local archive.

 

post-374708-0-86715100-1384420771_thumb.png

Edited by Bejo

Share this post


Link to post
Share on other sites

Hi!

Same, have all of a sudden gotten this error:

 

testStatus: 'parsererror'
errorThrown: 'SyntaxError: Unexpected token 1' responseText:

The problem does not seem to have been solved above? any solutions? My website is now under maintenance and we are loosing sales. 
I can't seem to find a solution anywhere.

Thanks

Share this post


Link to post
Share on other sites

I've get the same error when i try to add shipping range.

 

Maybe it is because memory limitation.

Share this post


Link to post
Share on other sites

+1

I need to fix this error too

please let me know if u already fix this problem, i'm also have same trouble with this. i don't why?

i do upgrade from ps 1.5.4 - 1.5.6 with autoupgrade, with manual prestashop.zip to local archive.

 

attachicon.giferrorshipping.png

Share this post


Link to post
Share on other sites

hello

 

turn on browser console (in chrome ctrl+shift+j) and try to reproduce issue.

what errors you see in the console output?

Share this post


Link to post
Share on other sites

I have the same error.

here the message in the chrome Konsole:

 

event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery-1.7.2.min.js:3
body.scrollTop is deprecated in strict mode. Please use 'documentElement.scrollTop' if in strict mode and 'body.scrollTop' only if in quirks mode. jquery-1.7.2.min.js:4
body.scrollLeft is deprecated in strict mode. Please use 'documentElement.scrollLeft' if in strict mode and 'body.scrollLeft' only if in quirks mode.

Share this post


Link to post
Share on other sites

these messages (from console) aren't related to your issue, unfortunately,

Share this post


Link to post
Share on other sites

Same error here, when I try to remove a discount through cart block, in cart summary page.

 

Firebug console shows this POST:

controller $order_process?deleteDiscount=1?rand=1391278087032

related to line 4 of jquery-1.7.2.min.js

 

If I am in home page and delete a discount through cart block, the error doesn't show up, the discount is removed from the block cart, BUT if I go to cart summary, the discount is still there!!

 

So... Removing discounts through block cart is not working...

Edited by ilovekutchi.com

Share this post


Link to post
Share on other sites

I found the reason of the fault:

 

I installed the german module "GC German für Prestashop".

 

In the description of the Module is written it is not kompatible with foreign templates, only with the basic template.

Share this post


Link to post
Share on other sites

these messages (from console) aren't related to your issue, unfortunately,

SwgAVvJ2.png

I have a problem what to do?

Share this post


Link to post
Share on other sites

SwgAVvJ2.png

I have a problem what to do?

 

 

check browser console log output and paste it here. usually errors like that are related to javascript problems, also to problems related to ajax queries.

Share this post


Link to post
Share on other sites

check browser console log output and paste it here. usually errors like that are related to javascript problems, also to problems related to ajax queries.

SwgAVvJl.png

module installed one page checkout

Share this post


Link to post
Share on other sites

Hello.

 

I have just installed a new Prestashop (1.5.6.2). With the default theme, and without any change or modification (I already have the demo products), when in SEO options I activate friendly urls (with mod_rewrite active), the friendly url works fine, but always a page is loaded, I have the same problem:

 

TECHNICAL ERROR: 
 
Details:
Error thrown: [object Object]
Text status: parsererror
 
When I turn friendly urls off, the problem disappears. I can't figure the relationship between friendly URLs and javascript, nor what to modify to fix it.

Share this post


Link to post
Share on other sites

 

Hello.

 

I have just installed a new Prestashop (1.5.6.2). With the default theme, and without any change or modification (I already have the demo products), when in SEO options I activate friendly urls (with mod_rewrite active), the friendly url works fine, but always a page is loaded, I have the same problem:

 

TECHNICAL ERROR: 
 
Details:
Error thrown: [object Object]
Text status: parsererror
 
When I turn friendly urls off, the problem disappears. I can't figure the relationship between friendly URLs and javascript, nor what to modify to fix it.

 

 

Hello to all,

 

This is my first post in these forums and I'd like to take the opportunity to say thanks to the many contributors who have unknowingly assisted me over the past couple months as I work on my first PrestaShop project.

 

Like darnux, I've been having this issue with friendly urls: turned off, my site works perfectly; turned on, each page loads correctly but I get the popup error message as above. It had been driving me crazy!!!

 

After much reading and trial and error I figured out what was causing the error on my site. Currently I have a live site running PrestaShop v1.3. I have two domains related to the store - a .com and a .co.nz  The live site is on one webhost and directly linked to the .co.nz domain. At another hosting company I have the .com domain redirecting via an index.html page using meta refresh to the .co.nz site.

 

A couple months back, I decided to upgrade to the then latest version of Prestashop (1.5.6.1). I plan to use the .com domain as the main one with the .co.nz domain being redirected. Anyway, not wanting to mess with the live .co.nz site. I backed up and move the old site to the folder for the .com domain and starting my upgrades there. That's where I've been having the issue when the friendly urls are turned on.

 

It seems that the redirection in my index.html file was causing that parsererror. When I removed the index.html file the error disappeared, when I put the file back the error returned. Now I know the source of/solution to MY friendly url problem. I've turned off friendly urls for now and left the index.html file in place until I'm ready to make the site live.

 

Hope this can be of help to someone else. :)

  • Like 3

Share this post


Link to post
Share on other sites

Hello to all,

 

This is my first post in these forums and I'd like to take the opportunity to say thanks to the many contributors who have unknowingly assisted me over the past couple months as I work on my first PrestaShop project.

 

Like darnux, I've been having this issue with friendly urls: turned off, my site works perfectly; turned on, each page loads correctly but I get the popup error message as above. It had been driving me crazy!!!

 

After much reading and trial and error I figured out what was causing the error on my site. Currently I have a live site running PrestaShop v1.3. I have two domains related to the store - a .com and a .co.nz  The live site is on one webhost and directly linked to the .co.nz domain. At another hosting company I have the .com domain redirecting via an index.html page using meta refresh to the .co.nz site.

 

A couple months back, I decided to upgrade to the then latest version of Prestashop (1.5.6.1). I plan to use the .com domain as the main one with the .co.nz domain being redirected. Anyway, not wanting to mess with the live .co.nz site. I backed up and move the old site to the folder for the .com domain and starting my upgrades there. That's where I've been having the issue when the friendly urls are turned on.

 

It seems that the redirection in my index.html file was causing that parsererror. When I removed the index.html file the error disappeared, when I put the file back the error returned. Now I know the source of/solution to MY friendly url problem. I've turned off friendly urls for now and left the index.html file in place until I'm ready to make the site live.

 

Hope this can be of help to someone else. :)

 

Thank you for your comments! 

The proyect where I had the problem was cancelled, so I didn't go deeper. But there were redirections involved too.

Good to know for future projects.

Share this post


Link to post
Share on other sites

d1bizstop, great post, that solved the error I had when trying to add a product to the cart.

 

Thank you very much!

Share this post


Link to post
Share on other sites

Sometimes the cause of a problem is in another place than where you are looking. I had the same message when adding a carrier.

 

TECHNICAL ERROR: 
 

Details:
Error thrown: [object Object]
Text status: parsererror

 

Found out I cannot use a equals sign (=) in the field where you fill in the description for the delay. Replacing the equals sign with a minus sign (−) solved my problem.

 

God ways are mysterious, so are Prestashop ways.

Share this post


Link to post
Share on other sites

This error is because your login is timed out! if you refresh your page [F5] you will see you're sign out!

just login again and continue your job.

 

Or sometimes because your server going down, so you have to wait for server comes up or contact with your host manager.

Share this post


Link to post
Share on other sites

I'm having this exact same problem with one of my sites NSFW, http://www.cutenkinky.com but not two others. Running 1.6.0.8 and the site would not allow anyone to add items to the cart. Other two sites were working just fine. Upgraded to 1.6.0.9 and it fixed the problem, for a day. Now it's back and I am out of business right before Christmas. ARGH! I have read everything here, looked for every fix and they do not apply to v1.6 apparently.

 

This is a huge problem. I do have parked domains on this site but I have parked domains on the other two site and they work just fine.

 

Any help, PLEASE! Have tried error console and all that. I don't see anything

 

 

 

 

Impossible to add the product to the cart.
textStatus: 'error'
errorThrown: ''
responseText:

Share this post


Link to post
Share on other sites

Hi everyone!

 

I found a solution. At least it worked for my client shop.

 

In FrontController i changed this code:

'base_uri' => $protocol_content.Tools::getHttpHost().__PS_BASE_URI__.(!Configuration::get('PS_REWRITING_SETTINGS') ? 'index.php' : ''),

 

to this code:

'base_uri' => $protocol_content.Tools::getHttpHost().__PS_BASE_URI__.(!Configuration::get('PS_REWRITING_SETTINGS') ? 'index.php' : '').$this->context->language->iso_code.'/',

Share this post


Link to post
Share on other sites

Hi Can any one please help me I am not able to add any products to cart on my website www.kiranadukaan.in 

 

I get the following message:

 

Impossible to add the product to the cart.
textStatus: 'parsererror'
errorThrown: 'SyntaxError: Unexpected token <'
responseText:
{"products":[],"discounts":[],"shippingCost":"0 Rs","shippingCostFloat":0,"wrappingCost":"0 Rs","nbTotalProducts":0,"total":"0 Rs","productTotal":"0 Rs","freeShipping":"1,500 Rs","freeShippingFloat":1500,"hasError":false}

Share this post


Link to post
Share on other sites

Hi,

 

I have the same issue.

 

I've tried multiple proposition to solve it but anything work.

 

When i try to read the code and find some error about translation, I found anything.

 

I'd like to give my website link in private message if someone could help me.

 

Thanks.

 

Pyssou

Share this post


Link to post
Share on other sites

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More