I've upgraded a site from Drupal 5 to Drupal 7 and now in checkout I'm getting repeated AJAX popup errors that break the checkout. Specifically, the popup occurs whenever it tries to check shipping costs and if check the box indicating that "My billing information is the same as my delivery information".

We are using flat rate shipping, nothing fancy there.

An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /system/ajax
StatusText: n/a
ResponseText: 
ReadyState: undefined

How do I debug this since the debugging information contains nothing useful?

CommentFileSizeAuthor
screen-capture.jpg24.23 KBlaryn

Comments

tr’s picture

Category: bug » support
Priority: Major » Normal

Does any AJAX work on your site? Install the Example for Developers module and try out the AJAX example there.

Have you tried with the default theme? A poorly programmed custom theme can interfere with or even prevent JavaScript execution.

Do you have any contributed modules that are modifying the checkout page, or adding code to the checkout page? Are you using Secure Pages?

Are you using jQuery Update?

Have you tried different browsers?

Do your server logs show the AJAX requests or errors? Do your Drupal logs show any errors? Do you have a link to your site so we can see for ourselves?

laryn’s picture

Category: support » bug
Priority: Normal » Major

Thanks for the guidance on this. I have some further information.

I installed the Example for Developers module and enabled the AJAX module but don't see where to test it after it's activated.

No modules that modify the checkout page. I was using Secure Pages but couldn't seem to get the SSL settings to work in Drupal 7 and am now using Ubercart SSL.

I am not using jQuery update.

I have tried it in Firefox and Chrome and get the same result.

Log messages related to AJAX:

  • Invalid form POST data.
  • Notice: Undefined index: form_build_id in ajax_get_form() (line 326 of /home/directory/path/includes/ajax.inc).

****UPDATE: If I disable the Ubercart SSL module the AJAX seems to work. Thanks so much for the help, I'll move this over to that queue...

laryn’s picture

Priority: Major » Normal
Status: Active » Closed (cannot reproduce)

(Closing ticket)