JSON syntax error on shopping cart page
I just upgraded an older store from v1.5.1 to 1.5.5a. But when I add an item to the cart I get this error:
Code:
An unknown response null: :text/html; charset=utf-8: :SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data was received while processing an ajax call. The action you requested could not be completed.
I found this post: https://www.zen-cart.com/showthread....login-to-brows that led me to this post: https://www.zen-cart.com/showthread....29-with-v1-5-4 (Thread #6)
But in my Admin->Configuration->Customer Details I have set Customer Approval Status - Authorization Pending to 0 yet still see the error. Again my setting is both 0 and has the coding in the page recommended for the fix, so I don't know why I am seeing this error.
Re: JSON syntax error on shopping cart page
a link to the site if available would be of some help....
Re: JSON syntax error on shopping cart page
Re: JSON syntax error on shopping cart page
i would like to help.... but i am now in the position to choose to not help sites that make use of a template from picaflor-azul.
perhaps anne and mark can help with this problem?
hopeful that you get it resolved. i find JSON errors some of the more interesting/difficult ones to figure out.
good luck!
Re: JSON syntax error on shopping cart page
OK I don't know what I am doing here, but I can see this file: /includes/init_includes/init_customer_auth.php has the same coding as the file located in v1.5.5a (which is what I just upgraded too). So this file was upgraded like it was supposed to with my newest Zen Cart version. I know nothing of JSON and this error is preventing me from launching this store. I don't know where or what to look at here but my problem persists.
Please help as this problem is causing my store from being launched.
Re: JSON syntax error on shopping cart page
I get this same error when I hit the checkout or try and estimate shipping on the cart page as well.
Re: JSON syntax error on shopping cart page
you are using a template meant for v1.5.4 not v1.5.5 or v.1.5.5a
you are getting a "method error" because the the function setNoscriptCookie existed in v1.5.4 in includes/classes/ajax/zcAjaxPayment.php and has since been removed from v1.5.5a.
i would encourage you to post in that template support forum, and encourage the template author to keep her templates up-to-date with the latest ZC versions.
Re: JSON syntax error on shopping cart page
Thank you Carlwhat. Given your last post about not wanting to work with picaflor-azul templates, I realized you really did me a big square. I will post this in the proper template area.