Jump to content
thirty bees forum

Impossible to add product to cart parse error


Joint Systems

Recommended Posts

Neither jointsystem.us or jointsystems.org will all you to add a  product to the cart.  In debug mode received the error.  Tried switching themes , and checkout mode did no good.  Worked in prestashop before migration?

Impossible to add the product to the cart.
textStatus: 'parsererror'
errorThrown: 'SyntaxError: Unexpected token < in JSON at position 0'
responseText:

Notice: A non well formed numeric value encountered in /home3/txmnbf6y/public_html/modules/upscarrier/upscarrier.php on line 1552

Notice: A non well formed numeric value encountered in /home3/txmnbf6y/public_html/modules/upscarrier/upscarrier.php on line 1552

Notice: A non well formed numeric value encountered in /home3/txmnbf6y/public_html/modules/upscarrier/upscarrier.php on line 1552

Notice: A non well formed numeric value encountered in /home3/txmnbf6y/public_html/modules/upscarrier/upscarrier.php on line 1552

Notice: A non well formed numeric value encountered in /home3/txmnbf6y/public_html/modules/upscarrier/upscarrier.php on line 1552

Notice: A non well formed numeric value encountered in /home3/txmnbf6y/public_html/modules/upscarrier/upscarrier.php on line 1552
{"products":[{"id":6271,"link":"https:\/\/jointsystems.org\/carburetor-parts\/6271-495606.html","quantity":1,"image":"https:\/\/jointsystems.org\/416-home_default\/4956062x.jpg","image_cart":"https:\/\/jointsystems.org\/416-cart_default\/4956062x.jpg","priceByLine":"$15.08","name":"495606","price":"$15.08","price_float":15.0800000000000000710542735760100185871124267578125,"idCombination":0,"idAddressDelivery":7,"is_gift":false,"hasAttributes":false,"hasCustomizedDatas":false,"customizedDatas":[]}],"discounts":[],"shippingCost":"$11.01","shippingCostFloat":11.0099999999999997868371792719699442386627197265625,"wrappingCost":"$0.00","nbTotalProducts":1,"total":"$26.09","productTotal":"$15.08","freeShipping":"$0.00","freeShippingFloat":0,"free_ship":false,"isVirtualCart":false,"hasError":false,"crossSelling":fals

Edited by Joint Systems
Link to comment
Share on other sites

You should upgrade to latest 1.1.0. That would actually solve this issue, as it contains new error handling code that does not emit notices or warnings to standard output

Because you are experiencing so many issues, you should investigate what's wrong. Use core updater to detect modified files. Use Override check module to see what overrides you have installed. Use latest (unreleased) version of core updater 1.2.0 to find database differences, and possibly fix them, etc... 

  • Like 2
Link to comment
Share on other sites

I upgraded several stores to 1.1 including jointsystems.us and creativesystemsusa.net, you still can't add anything to the cart.  The upgrade itself went pretty smoothly and some of the stores actually work. Yes I did tale it out of the debug mode.

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

Bad Request

Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.

Edited by Joint Systems
addition of error message
Link to comment
Share on other sites

I uploaded and installed the Niara theme and now you can add items to the cart but upon checkout still getting error  from authorize AIM  "Authorize.net returned a malformed response, aborted."  Hostwinds says all thirty bees sever requirements are installed.  Will authorize Pro work on thirty bees?

The application requirement is fully satisfied as you can find from the below details. Please let us know if you require more assistance.

[root@ded1246 ~]# /opt/cpanel/ea-php71/root/usr/bin/php -m


bcmath
calendar
Core
ctype
curl
date
dom
fileinfo
filter
ftp
gd
hash
imap
intl
json
libxml
mbstring
mcrypt
memcached
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

[root@ded1246 ~]# /opt/cpanel/ea-php71/root/usr/bin/php -i | grep "allow_url_fopen|allow_url_include|post_max_size|max_input_vars|upload_max_filesize|expose_php"
allow_url_fopen => On => On
allow_url_include => Off => Off
expose_php => Off => Off
max_input_vars => 10000 => 10000
post_max_size => 32M => 32M
upload_max_filesize => 25M => 25M

[root@ded1246 ~]# httpd -M | grep "rewrite|auth_basic|security"
auth_basic_module (shared)
rewrite_module (shared)
security2_module (shared)
[root@ded1246 ~]#


Alex Reynolds
Tier 5 Technical Support
1-888-404-1279


 
Link to comment
Share on other sites

CreativeSystemsusa was upgraded to 1.1x  and after the Nira theme was applied you could use the shopping cart which already  had items in it though they did not appear in 1.08. After the upgrade received this error: 

The following module(s) were not installed properly
  • blocksupplier :
    Technical error: thirty bees could not install this module.
×Warning: You may have to regenerate images to fit with this new theme. 

Though at least 10 shipping choices were checked off but only two showed up?   When attempting  to check out  CC choice did not appear though enabled.  One apparent bug is when Amazon pay was added all the columns shifted to the right in the payment module country restrictions where  check marks that were in the bank wire column now appeared in the check column.  Checkmarks in the authorize aim were shifted to the bank wire.  Amazon aim column was empty.

Link to comment
Share on other sites

Error log from usengines.org 

  thrown in /home/usenginescorp/public_html/usengine.org/modules/amzpayments/controllers/front/amzpayments.php on line 342

 

line 342                            $physical_destination = $reference_details_result_wrapper->GetOrderReferenceDetailsResult->getOrderReferenceDetails()

There is no error shown from authorize AIM module.

Edited by Joint Systems
additional info.
Link to comment
Share on other sites

  • 3 weeks later...

The Authorize.net payment error Malformed response was caused by curl being disabled on the server (for security reasons) once enabled it worked.   Still getting the On google chrome on three stores but not on Microsoft edge.  Anyone else experienced this or know what the solution is?

Bad Request

Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit. 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...