Jump to content

Bill in Kansas City

  • Content Count

  • Joined

  • Last visited

Everything posted by Bill in Kansas City

  1. To be completely honest with all present, something I was doing was incorrect. With some help and inspiration from bsmithers I was able to get the log file created to trace program flow, even confirmed that the method I was using before would have worked. I don't know exactly what my mistake was, but it's all on me. Can we just forget this thread ever happend? p.s. Although I should have been able to create PHP errors and never did. I've still got no explanation for that.
  2. CubeCart 6 Debugging: on Caching: off Cloudflare cache: off Browser cache: off Web server: display all errors Since the documentation for writing plug-ins in lacking for anything much beyond "hello world", I've resorted to brute force, line-by-line tracing. I'm working through the visitor stats sample plugin, I'm trying to trace program flow. In every PHP file in the plug-in, I've tried: inserting an echo statement with the filename using echo to insert a script tag to log the filename to the console writing the filename to a log file in a writ
  3. Well, it was too good to be true. Changing the datatype may work on the Register page, but on the new customer checkout page it causes the email validation to fail because the success method doesn't understand the response. So we're back to adding the complete method in order to decrement the validation stack. Do the developers have anything to add? Surely I'm not the only person to encounter this issue? Is there a real fix for it?
  4. With more research, I was able to address this issue like so: $.ajax( $.extend( true, { mode: "abort", port: "validate" + element.name, dataType: "text", // << CHANGE THIS VALUE FROM json TO text data: data, context: validator.currentForm, success: function( response ) { ... In this way, the success method is called correctly. (NOTE: the complete method is no longer needed.)
  5. Yes, I mean ver. 1.19. Tried both in Chrome and Firefox, both updated to their latest versions. It is only after the complete method is added that the function works as it should. $.ajax( $.extend( true, { mode: "abort", port: "validate" + element.name, dataType: "json", data: data, context: validator.currentForm, /***** THIS LINE RIGHT HERE ****/ complete: function(response){if(typeof response.responseText != 'undefined'){validator.stopRequest( element, (response.responseText == 'true') )};}, /***** ^^^ THIS LINE RIGHT HERE ^^^^ ****/ success: function( response ) { var v
  6. Latest download, new install. When filling out the registration form, when clicking the "Register" button (or the "Secure Checkout" button, on page 2 of the checkout process), nothing happens. Nothing at all. In Developer Tools, there's no network activity, no errors or notices in the console. I input $("#registration_form").trigger('submit'); into the console, but the form doesn't submit I just get back a jQuery reference _.fn.init [form#registration_form, context: document, selector: "#registration_form"] which makes me wonder if there's some jQuery override happening o
  • Create New...