Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    672
    Plugin Contributions
    0

    Default 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.
    Building a better web, one site at a time: Dayton Web Design

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default Re: JSON syntax error on shopping cart page

    a link to the site if available would be of some help....
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    672
    Plugin Contributions
    0

    Default Re: JSON syntax error on shopping cart page

    Building a better web, one site at a time: Dayton Web Design

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default 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!
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    672
    Plugin Contributions
    0

    Default 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.
    Building a better web, one site at a time: Dayton Web Design

  6. #6
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    672
    Plugin Contributions
    0

    Default 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.
    Building a better web, one site at a time: Dayton Web Design

  7. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default 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.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #8
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    672
    Plugin Contributions
    0

    Default 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.
    Building a better web, one site at a time: Dayton Web Design

 

 

Similar Threads

  1. json error with zc 1.5 eventhough json installed
    By bangsters in forum General Questions
    Replies: 4
    Last Post: 29 Feb 2012, 08:28 PM
  2. Shopping Cart page error
    By belaze in forum General Questions
    Replies: 5
    Last Post: 6 Jul 2011, 04:15 AM
  3. Replies: 4
    Last Post: 30 Aug 2009, 09:26 PM
  4. Replies: 8
    Last Post: 5 Mar 2009, 06:40 PM
  5. Replies: 2
    Last Post: 3 Jul 2007, 06:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR