On attempting to export a fairly small table (<> 8kb), I'm getting this error:

An AJAX HTTP error occurred.HTTP Result Code: 200Debugging information follows.
Path: /batch?id=39&op=doStatusText: OK
ResponseText: {"status":true,"percentage":"99","message":"Exporting 99% complete,\u003cbr \/\u003eTime remaining: about 30 sec."}

This is in IE (7,8,9), Chrome/Windows, Firefox/Windows, and Chrome/Mac. BUT, I can't reproduce the error in Safari, Firefox/Mac, or Opera/Mac--it works fine in those browsers.

I'm not bad at debugging but I was hoping someone more familiar with this module (and with AJAX) could give me an idea where to start looking.

Comments

zbricoleur’s picture

I found a work-around, anyway: Under Data Export Settings, I changed Batch Export to 'No.' It seems that batch.inc and smallish files do not play nicely with some browsers.

zbricoleur’s picture

Title: AJAX error on export--in some browsers » AJAX error on export--in some browsers [FOUND A WORKAROUND]
steven jones’s picture

Status: Active » Postponed (maintainer needs more info)

Well, that's most browsers then.

@zbricoleur could you confirm that with more data in that table the error goes away?

steven jones’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
artematem’s picture

Version: 7.x-3.0-beta5 » 7.x-3.0-beta7
Issue summary: View changes
Status: Closed (cannot reproduce) » Active

Server log says: PHP Fatal error: Call to a member function getKey() on a non-object in .../includes/database/query.inc on line 334

artematem’s picture

Status: Active » Closed (cannot reproduce)

In my case it was problem of the server, was problem with connection, time from time. I decreased export chunk size from 200 to 15 and so far so good.

Changing status back to Closed (cannot reproduce)