Closed (fixed)
Project:
Devel
Version:
7.x-1.x-dev
Component:
devel
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2010 at 07:31 UTC
Updated:
28 Aug 2011 at 00:39 UTC
Sorry if this is a duplicate issue. I'm getting a pop up dialog box reporting an AJAX error when using autocomplete, but HTTP status code is 200.
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: http://******/taxonomy/autocomplete/field_variety
StatusText: OK
ResponseText: {"Pear":"Pear"}
I created a new vocabulary called Produce. In it I have...
-Fruit
--Pear
-Veggies
--Radish
Then I set up a new content type also called Produce. I added a Term Reference field called "Variety" using the Produce vocabulary. It uses the autocomplete widget. Then I created new Produce content called "D'Anjou". When I start typing a term and let autocomplete do its work, the error-that-is-not-an-error pops up.
Comments
Comment #1
Sborsody commentedThis looks like a problem with the Devel module (7.x-1.x-dev), which is appending a div onto the end of the JSON response. When I disable the module, the autocomplete error-that-is-not-an-error does not appear.
Comment #2
moshe weitzman commentedwas fixed a day or two ago.
Comment #3
Sborsody commentedHow funny. I must have picked up the last dev build right before that fix.
Comment #5
Yorgg commentedI wasn't using taxonomy and I have the same error on a clean D7 Beta 2 while generating 5000 nodes
This happened in about 3 minutes of intensive CPU/HD time . I am curious how this issue will be viewed. Once this has been fixed, I'll be looking at checking in admin/content.
It didn't create a single node.
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /d7b2/batch?render=overlay&id=2&op=do StatusText: OK ResponseText: Fatal error: Cannot access empty property in /var/www/d7b2/modules/field/field.attach.inc on line 198
Where should I post this issue? Drupal 7 Beta 2?
Comment #6
vikastyagi87 commentedComment #7
bryancasler commentedRan into the same error myself
Comment #8
Csabbencs commentedI have the same issue when writing into an autocomplete field. (user reference)
It's just came from nothing.
The ResponseText of the AJAX HTTP error 200 message contains the current webpage (header, menus, body, comments, etc... and stuff like @import url("http://localhost/modules/system/system.base.css?lfqo7i"); ) in plain text.
(Although, devel module was active before, I have the same error after disabling and deleting it.)
Comment #9
sammyframson commentedI was running into the same issue when trying to manage display of fields within my content types. It doesn't seem to be content type specific. Any attempt to change the display of fields within a content type initiated this error and when I tried to save changes, nothing was changed. My site was at a standstill and then I tried disabling Firebug for Drupal and I was able to proceed. Thought that additional info may help...
Comment #10
ytsurksubscribe
Comment #11
gfxguru commentedsubscribe... same issue here Drupal 7 fresh install
Comment #12
yugongtian commentedalpha4 same
Comment #13
Geijutsuka commentedI think this might be a Drupal 7 core issue because I don't even have the Devel module installed and I keep running into this issue when I want to change an argument in an existing view or when I want to change the display settings in a content type's fields (same as with sammyframson in comment #9).
Subscribe.
Comment #14
vkarmo commentedI'm having the same problem in Drupal 7.
I had Devel installed but I uninstalled it, yet I'm still getting AJAX errors.
What is the actual solution to this?
Comment #15
cjwest commentedI was getting the same error (AJAX HTTP error occurred. HTTP Result Code: 200) for Drupal 7 when I tried to
1) add content to a panel (Panels)
2) edit a view (Views)
It cleared up after I disabled the Drupal for Firebug module.
Comment #16
dstacey commentedDrupal 7.0, 2011-01-05 - Same
The fix for me was turning off "Taxonomy translation" - 7.x-1.0-beta2. Under Multilingual in Modules. My error happened when trying to autocomplete a taxonomy CCK field. I also tried the dev version of Ctools and turning off Devel but those weren't the issue.
Comment #17
alex737 commentedI was getting the same error (AJAX HTTP error occurred. HTTP Result Code: 200) for Drupal 7 when I tried to
run core module testing in localize drupal-7 (Russian), module simpletest. Maybe that is core fatal error of
locale module!
Comment #18
andrebonfanti commentedI have not Devel module installed but I am getting a similar error too, working with content type field display (but not with views). It happens when I try to click the field gear icon in the "manage display" form of my custom content type. I'm trying to configure an image field to be a "thumbnail" in teaser display, while the default is "original". The error is:
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /?q=system/ajax
StatusText: OK
ResponseText:
Fatal error: Function name must be a string in /home/(my domain)/public_html/modules/field_ui/field_ui.admin.inc on line 143
The error happens even if I try to drag field to hidden section.
My content type has only the default "body" field and an "image" field.
I have installed other modules which provide fields ("term reference", "node reference"), but the error was there before. I changed the admin theme from Seven to Bartik but the error remains.
In my logs I find these two errors:
Error 1:
Error 2:
I duplicate my issue here: http://drupal.org/node/1075482.
In IE7 the error disappear and I can change display properties.
Comment #19
andrebonfanti commentedupdate: my error has gone for the moment in the content type "manage display" page.
I do not remember the steps I took. I managed to move fields by toggling the "show/hide row weight" option at the top and moving by editing weights (the toggle hides the drag-n-drop handles, so I think the page disable ajax, but I'm not sure).
I disabled the Dhtml menu module, too, which I used to avoid page reload. I'm not sure this caused the issue because a similar error appears when I try to fill the autocomplete field of the state/province Location module.
Comment #20
theliondog commentedHi folks
I'm new to Drupal and hit the same AXAJ 200 error problem in trying to edit "Views" default settings and which I fixed by disabling Drupal for Firebug - thanks Sammy and CJ!
BTW, through the process of elimination, I found the administration navigation and backend work flow was twice as fast using the same theme for admin and default.
As an aside, I moved to Drupal from WordPress for the better taxonomy (and am very happy with this decision), but now have issues modifying themes as Firebug seems problematic???
I used to use Dreamweaver CS5 to edit Wordpress, but have a few issues with Drupal showing dynamically related files .. In wordpress this was usually due to WP "definition of permalinks".
Apologies for heading outside the context of this thread, but if anyone can direct me in another direction for a fix on this...it would be greatly appreciated!
Cheers
TLD
Comment #21
salvisAFAICS this is not a Devel issue, nor is it related to any other contrib in particular.
Can the core guys figure out where it belongs?
@theliondog: Don't assign yourself unless you intend to work on an issue.
Comment #22
Sborsody commentedIt *was* a Devel module issue when I opened it and that was fixed. I think others may be experiencing the same error with a different root cause and landing here.
Comment #23
rfaySorry, please don't hijack this issue, which was resolved, for other issues. We'll pay attention to other AJAX issues you may open, so please give complete information.
And don't lump them together in one issue just because you get an AJAX HTTP Error. That has no meaning. Explain carefully what you did to create the error, what contrib modules might have contributed to it, etc.
Marking this fixed because it was. New issues to pursue it.
Thanks.
Comment #24
Sborsody commentedPerhaps an issue title change is in order. New AJAX http error 200 problems should have new issues opened up against the piece of code causing the error.
Comment #26
sashkernel commentedI've got exact same issue as #18.
"An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /?q=system/ajax
StatusText: OK
ResponseText:
Fatal error: Function name must be a string in /home/(my domain)/public_html/modules/field_ui/field_ui.admin.inc on line 143"
I used to be able to create content normally. About a week since I created last content type, I got this issue. I think I also got "content Access" module installed in between.
The strange thing, I have no problem with editing field display for other content types. Only with the one I just created.
Comment #27
Sborsody commentedYou get AJAX HTTP error code: 200 anytime the response is not valid JSON format. The ResponseText shows that it has nothing to do with this Devel module issue. It could be Content Access, it could be some other module that modifies output, or it could be your field's code if the field is a custom field provided by a module.
Comment #28
geek-merlin@sashkernel: #1022516: AJAX HTTP error 200 ???
Comment #29
rol commentedsuscribing, i get SAME ERROR when trying to ADD CONTENT to a PANEL with both DEVEL and Firebug for Drupal active.
AFTER DISABLING those modules, i could add content to the panel, but when i try to add ACCES RULES, i get again same ERROR.
Comment #30
mhamed commentedhello all
this error of ajax happens to me with the modules installations from time to time i got this
but this time i want to embed the google map with the module: location map module i ve go this serial of errors:
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: .../authorize.php?batch=1&render=overlay&id=24&op=do StatusText: OK ResponseText: Update manager | WordToSay @import url(".../modules/system/system.base.css?lqlsbf"); @import url("..../modules/system/system.admin.css?lqlsbf"); @import url("..../modules/system/system.menus.css?lqlsbf"); @import url("..../modules/system/system.messages.css?lqlsbf"); @import url("..../modules/system/system.theme.css?lqlsbf"); @import url(".../modules/system/system.maintenance.css?lqlsbf"); @import url("..../themes/seven/reset.css?lqlsbf"); @import url("..../themes/seven/style.css?lqlsbf"); Update manager Status message Installation was completed successfully. locationmapInstalled locationmap successfully Next stepsEnable newly added modules Administration pages
is it a core problem or just an ajax bug ?anyone has an issue ?
athanks
Comment #31
salvisPlease leave this issue alone!!!
Just because you get an "AJAX" error and HTTP code 200 (which means 'success' BTW, as far as HTTP is concerned) does NOT mean you should append to this issue.