Drupal7-An AJAX HTTP&n…

当使用Drupal7的AJAX功能弹出AJAX错误的时候。
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/views/ajax/add-item/portfolio/default/field
StatusText: OK
ResponseText: [{"command":"settings","settings":{"basePath":"\/","ajaxPageState":{"theme":"studio_7","theme_token":"xUE_cDFqoqGLXidAzXmQrvgEohqKtX9TJkGzd8YU-gU","css":[]},"admin_menu":{"destination":"destination=admin\/structure\/views\/ajax\/add-item\/portfolio\/default\/field","hash":"7859162929351a8d19ed6f48a16bcbbe","basePath":"\/admin_menu","replacements":{".admin-menu-users a":"0 \/ 1"},"margin_top":1,"toolbar":{"activeTrail":"\/admin\/structure"}}},"merge":true},{"command":"viewsSetForm","output":"\u003cdiv class="views-messages"\u003e\u003cdiv class="messages status"\u003e\n\u003ch2 class="element-invisible"\u003eStatus message\u003c\/h2\u003e\nOperating in maintenance mode. \u003ca href="\/admin\/config\/development\/maintenance"\u003eGo online.\u003c\/a\u003e\u003c\/div\u003e\n\u003c\/div\u003e\u003cform action="\/admin\/structure\/views\/ajax\/add-item\/portfolio\/default\/field" method="post" id="views-ui-add-item-form" accept-charset="UTF-8"\u003e\u003cdiv\u003e\u003cdiv class="form-item form-type-select form-item-group"\u003e\n \u003clabel for="edit-group"\u003eGroups \u003c\/label\u003e\n \u003cselect class="ctools-master-dependent form-select" id="edit-group" name="group"\u003e\u003coption value="all"\u003e- All -\u003c\/option\u003e\u003coption value="comment"\u003eComment\u003c\/option\u003e\u003coption value="fields"\u003eFields\u003c\/option\u003e\u003coption value="file-usage"\u003eFile Usage\u003c\/option\u003e\u003coption value="global"\u003eGlobal\u003c\/option\u003e\u003coption value="node"\u003eNode\u003c\/option\u003e\u003coption value="node-revision"\u003eNode revision\u003c\/option\u003e\u003coption value="search"\u003eSearch\u003c\/option\u003e\u003coption value="taxonomy"\u003eTaxonomy\u003c\/option\u003e\u003coption value="user"\u003eUser\u003c\/option\u003e\u003c\/select\u003e\n\u003c\/div\u003e\n\u003cdiv class="views-radio-box form-checkboxes"\u003e\u003cdiv class="ctools-dependent-all ctools-dependent-comment"\u003e\u003cdiv class="form-item form-type-checkbox form-item-name-comment.status"\u003e\n \u003cinput type="checkbox" id="edit-name-commentstatus" name="name[comment.status]" value="comment.status" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentstatus"\u003eComment: Approved \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eWhether the comment is approved (or still in the moderation queue).\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.name"\u003e\n \u003cinput type="checkbox" id="edit-name-commentname" name="name[comment.name]" value="comment.name" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentname"\u003eComment: Author \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eThe name of the comment's author. Can be rendered as a link to the author's homepage.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.homepage"\u003e\n \u003cinput type="checkbox" id="edit-name-commenthomepage" name="name[comment.homepage]" value="comment.homepage" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commenthomepage"\u003eComment: Author's website \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eThe website address of the comment's author. Can be rendered as a link. Will be empty if the author is a registered user.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.delete-comment"\u003e\n \u003cinput type="checkbox" id="edit-name-commentdelete-comment" name="name[comment.delete_comment]" value="comment.delete_comment" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentdelete-comment"\u003eComment: Delete link \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eProvide a simple link to delete the comment.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.thread"\u003e\n \u003cinput type="checkbox" id="edit-name-commentthread" name="name[comment.thread]" value="comment.thread" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentthread"\u003eComment: Depth \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eDisplay the depth of the comment if it is threaded.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.edit-comment"\u003e\n \u003cinput type="checkbox" id="edit-name-commentedit-comment" name="name[comment.edit_comment]" value="comment.edit_comment" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentedit-comment"\u003eComment: Edit link \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eProvide a simple link to edit the comment.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.hostname"\u003e\n \u003cinput type="checkbox" id="edit-name-commenthostname" name="name[comment.hostname]" value="comment.hostname" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commenthostname"\u003eComment: Hostname \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eHostname of user that posted the comment.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.cid"\u003e\n \u003cinput type="checkbox" id="edit-name-commentcid" name="name[comment.cid]" value="comment.cid" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentcid"\u003eComment: ID \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eThe comment ID of the field\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.mail"\u003e\n \u003cinput type="checkbox" id="edit-name-commentmail" name="name[comment.mail]" value="comment.mail" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentmail"\u003eComment: Mail \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eEmail of user that posted the comment. Will be empty if the author is a registered user.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.pid"\u003e\n \u003cinput type="checkbox" id="edit-name-commentpid" name="name[comment.pid]" value="comment.pid" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentpid"\u003eComment: Parent CID \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eThe Comment ID of the parent comment.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.changed"\u003e\n \u003cinput type="checkbox" id="edit-name-commentchanged" name="name[comment.changed]" value="comment.changed" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentchanged"\u003eComment: Post date \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eDate and time of when the comment was last updated.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.created"\u003e\n \u003cinput type="checkbox" id="edit-name-commentcreated" name="name[comment.created]" value="comment.created" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentcreated"\u003eComment: Post date \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eDate and time of when the comment was created.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.replyto-comment"\u003e\n \u003cinput type="checkbox" id="edit-name-commentreplyto-comment" name="name[comment.replyto_comment]" value="comment.replyto_comment" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentreplyto-comment"\u003eComment: Reply-to link \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eProvide a simple link to reply to the comment.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.subject"\u003e\n \u003cinput type="checkbox" id="edit-name-commentsubject" name="name[comment.subject]" value="comment.subject" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentsubject"\u003eComment: Title \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eThe title of the comment.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class="form-item form-type-checkbox form-item-name-comment.view-comment"\u003e\n \u003cinput type="checkbox" id="edit-name-commentview-comment" name="name[comment.view_comment]" value="comment.view_comment" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-commentview-comment"\u003eComment: View link \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eProvide a simple link to view the comment.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class="ctools-dependent-all ctools-dependent-fields"\u003e\u003cdiv class="form-item form-type-checkbox form-item-name-field-data-body.entity-id"\u003e\n \u003cinput type="checkbox" id="edit-name-field-data-bodyentity-id" name="name[field_data_body.entity_id]" value="field_data_body.entity_id" class="form-checkbox" \/\u003e \u003clabel class="option" for="edit-name-field-data-bodyentity-id"\u003eFields: body \u003c\/label\u003e\n\n\u003cdiv class="description"\u003eAppears in: node:page, node:article, n

解决办法:关闭模块“ theme developer ”。
引用:https://drupal.org/node/1106166

Can you try out whether "theme developer" is the reason for this issue? If yes this issue should be moved to this module.

你可能感兴趣的:(drupal功能模块)