Page 4 of 4 FirstFirst ... 234
Results 31 to 34 of 34
  1. #31
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: ajax error during checkout

    Quote Originally Posted by earth-friendly View Post
    I can't believe this, after so many days of working on this--I think I have finally fixed the problem! ...
    Awesome! Thank you for sticking with it and posting the solution.

    Have the warnings been resolved, or are they still occuring (was hoping to track those down by eliminating some of the possible causes).
    Last edited by lhungil; 13 Nov 2015 at 07:18 AM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  2. #32
    Join Date
    Apr 2014
    Location
    NJ
    Posts
    59
    Plugin Contributions
    0

    Default Re: ajax error during checkout

    Quote Originally Posted by lhungil View Post
    Have the warnings been resolved, or are they still occuring (was hoping to track those down by eliminating some of the possible causes).
    The Ajax error that appeared briefly, and then disappeared, has stopped occurring. Are you referring to the 4 lines that I displayed, when I turned on Report All Errors? I haven't checked for that yet. I'll look later today. That prints out zillions of lines of warnings. I saw other warnings in there too, which looked problematic, but they didn't appear to be related to this issue.

  3. #33
    Join Date
    Apr 2014
    Location
    NJ
    Posts
    59
    Plugin Contributions
    0

    Default Re: ajax error during checkout

    Quote Originally Posted by lhungil View Post
    Awesome! Thank you for sticking with it and posting the solution.
    My pleasure! Thanks for helping to support me through the process!
    Quote Originally Posted by lhungil View Post
    Have the warnings been resolved, or are they still occuring (was hoping to track those down by eliminating some of the possible causes).
    After fixing the 2 lines of code in my template file, tpl_checkout_payment_default.php, I just went through the checkout process again, turning on "Report All Errors" while on the "checkout payment" page, before continuing on to the "checkout confirmation" page. I do still see these warnings:
    Code:
    Undefined index: cod in /home/myuser/MyTest/includes/classes/order.php on line 352
    Trying to get property of non-object in /home/myuser/MyTest/includes/classes/order.php on line 352
    Undefined index: cod in /home/myuser/MyTest/includes/classes/order.php on line 353
    Trying to get property of non-object in /home/myuser/MyTest/includes/classes/order.php on line 353
    I don't know if they are anything to worry about.

  4. #34
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: ajax error during checkout

    Quote Originally Posted by earth-friendly View Post
    I can't believe this, after so many days of working on this--I think I have finally fixed the problem!
    Something that lhungil said made me wonder if all my templates had been upgraded appropriately to handle the ajax changes.
    I used my favorite comparison program, Beyond Compare, and I compared the includes/templates folders for 1.5.3 and 1.5.4 to see what had changed. I then went through the changes to make sure I had made these changes to my templates.
    The problem was in the tpl_checkout_payment_default.php template.
    I had upgraded to the latest version of COWOA, the beta version, 2.6, but I don't think this version has been upgraded to 1.5.4.
    COWOA v2.6 was updated to 1.5.4, but these template files were inadvertently left out.. Those changes have been fixed in the Github repo... Thanks for bringing this to the communities attention..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. 404 error during checkout
    By mike-1981 in forum General Questions
    Replies: 2
    Last Post: 7 Jan 2012, 08:46 PM
  2. Replies: 3
    Last Post: 16 Feb 2010, 05:33 PM
  3. Error during checkout
    By dealbyethan.com in forum General Questions
    Replies: 1
    Last Post: 14 Apr 2007, 07:47 PM
  4. Error during checkout...
    By audradh in forum General Questions
    Replies: 3
    Last Post: 24 Aug 2006, 05:30 AM

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