I cannot create anybody sight. I always have this error:

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /system/ajax
StatusText: Internal Server Error
ResponseText: 

I have also installed her/it.dev but the problem there is always.
What is the problem? Thanks

CommentFileSizeAuthor
#11 error 2.png168.15 KBharidyb
#11 ajax error.png183.95 KBharidyb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hopfrog’s picture

I cannot create anybody views. I always have this error:

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /system/ajax
StatusText: Internal Server Error
ResponseText:

I have also installed .dev but the problem there is always.
What is the problem? Thanks

hopfrog’s picture

I send an example that happens with this View (it happens so with all the Views). Please someone can help me!

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /admin/structure/views/view/recipe_name_index/preview/page/ajax
StatusText: Internal Server Error
ResponseText: [{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"seven","theme_token":"333gk1lK-e-5XrKCrH3cMUrIuVu6s2HUcfDOrisqNiI","jquery_version":"1.8"},"viewsImplicitFormSubmission":{"views-ui-preview-form":{"defaultButton":"preview-submit"}},"ajax":{"preview-submit":{"wrapper":"views-preview-wrapper","event":"click","progress":{"type":"throbber"},"method":"replaceWith","url":"\/admin\/structure\/views\/view\/recipe_name_index\/preview\/page\/ajax","submit":{"_triggering_element_name":"op","_triggering_element_value":"Update preview"}}}},"merge":true},{"command":"insert","method":null,"selector":null,"data":"\u003Cdiv id=\u0022views-preview-wrapper\u0022 class=\u0022views-admin clearfix\u0022\u003E\u003Cform class=\u0022clearfix\u0022 action=\u0022\/admin\/structure\/views\/view\/recipe_name_index\/preview\/page\u0022 method=\u0022post\u0022 id=\u0022views-ui-preview-form\u0022 accept-charset=\u0022UTF-8\u0022\u003E\u003Cdiv\u003E\u003Cdiv class=\u0022form-item form-type-checkbox form-item-live-preview\u0022\u003E\n \u003Cinput type=\u0022checkbox\u0022 id=\u0022edit-displays-live-preview\u0022 name=\u0022live_preview\u0022 value=\u00221\u0022 checked=\u0022checked\u0022 class=\u0022form-checkbox\u0022 \/\u003E  \u003Clabel class=\u0022option\u0022 for=\u0022edit-displays-live-preview\u0022\u003EAuto preview \u003C\/label\u003E\n\n\u003C\/div\u003E\n\u003Cdiv class=\u0022form-item form-type-textfield form-item-view-args\u0022\u003E\n  \u003Clabel for=\u0022preview-args\u0022\u003EPreview with contextual filters: \u003C\/label\u003E\n \u003Cinput type=\u0022text\u0022 id=\u0022preview-args\u0022 name=\u0022view_args\u0022 value=\u0022\u0022 size=\u002260\u0022 maxlength=\u0022128\u0022 class=\u0022form-text\u0022 \/\u003E\n\u003Cdiv class=\u0022description\u0022\u003ESeparate contextual filter values with a \u0022\/\u0022. For example, \u003Cem class=\u0022placeholder\u0022\u003E40\/12\/10\u003C\/em\u003E.\u003C\/div\u003E\n\u003C\/div\u003E\n\u003Cdiv id=\u0022preview-submit-wrapper\u0022\u003E\u003Cinput class=\u0022arguments-preview ctools-auto-submit-click form-submit\u0022 type=\u0022submit\u0022 id=\u0022preview-submit\u0022 name=\u0022op\u0022 value=\u0022Update preview\u0022 \/\u003E\u003C\/div\u003E\u003Cinput type=\u0022hidden\u0022 name=\u0022form_build_id\u0022 value=\u0022form-hYHfsGejXANr9Qil6W5JZYEC4Qe1PfckcFj_qB5c5so\u0022 \/\u003E\n\u003Cinput type=\u0022hidden\u0022 name=\u0022form_token\u0022 value=\u0022eQfEarC3Esk10SjqPIT-Zj4EVN7rQWa9VnwVNuhbYyk\u0022 \/\u003E\n\u003Cinput type=\u0022hidden\u0022 name=\u0022form_id\u0022 value=\u0022views_ui_preview_form\u0022 \/\u003E\n\u003C\/div\u003E\u003C\/form\u003E\u003Cdiv id=\u0022views-live-preview\u0022\u003E\u003Cdiv class=\u0022views-query-info\u0022\u003E\u003Ctable\u003E\n\u003C\/table\u003E\n\u003C\/div\u003E\u003Cdiv class=\u0022view view-recipe-name-index view-id-recipe_name_index view-display-id-page view-dom-id-9d74747f6bedd594026f8a0a26c047f5\u0022\u003E\n        \n  \n      \u003Cdiv class=\u0022attachment attachment-before\u0022\u003E\n      \u003Cdiv class=\u0022contextual-links-region\u0022\u003E\u003Ch1 class=\u0022section-title\u0022\u003EAttachment before\u003C\/h1\u003E\u003Cdiv class=\u0022preview-section\u0022\u003E\u003Cdiv class=\u0022view view-recipe-name-index view-id-recipe_name_index view-display-id-attachment\u0022\u003E\n        \n  \n  \n  \n  \n  \n  \n  \n  \n\u003C\/div\u003E\u003C\/div\u003E\u003C\/div\u003E    \u003C\/div\u003E\n  \n  \n  \n  \n  \n  \n  \n\u003C\/div\u003E\u003C\/div\u003E\u003C\/div\u003E","settings":null},{"command":"insert","method":"prepend","selector":null,"data":"\u003Cdiv class=\u0022messages status\u0022\u003E\n\u003Ch2 class=\u0022element-invisible\u0022\u003EStatus message\u003C\/h2\u003E\nOperating in maintenance mode. \u003Ca href=\u0022\/admin\/config\/development\/maintenance\u0022\u003EGo online.\u003C\/a\u003E\u003C\/div\u003E\n","settings":null}]
ikeigenwijs’s picture

when clicking on a CONTEXTUAL FILTER

An Ajax HTTP error occurred.
HTTP REsult code: 500
Path: /admin/structure/views/ajax/config-item/free_storage_locations_primer/default/argument/field_container_sl_primer_nid
Status text: internal server error

Mistah7’s picture

I have the same problem. But both when clicking on a CONTEXTUAL FILTER and whenever I try to edit a view. Both my own views and views created by the system like from Commerce.
But it is only on the live-server. Everything is working fine in my PC under Acquia.
I have changed to PHP5.4 in the server, same as I have in my PC.
The views are all working but I cannot change or create a new view.

Mistah7’s picture

As I said, everything is working fine in my own PC so when I want to change or create a new View I do that in my PC and Export it.
Then I can Import in the server and even when I got many Ajax HTTP 500-error everything is working fine in the end.

monsoon’s picture

I am having same issue. My site has been upgraded to 7.37 core and 7.x-3.11. This error appears on all views and stops my from doing any change or creating new view. plz help.

dennis.hill.aus’s picture

RESOLVED:
I was getting the error shown below, but i have been able to resolve it.
I upgraded from PHP 5.4 to PHP 5.5. (via cpanel) and it fixed my problem.

Error was as below:

I have a similar error popping up.
Drupal 7.36
Views 7.x-3.11

Error occurs when I try to edit a view, or clone a view.
Error pops up in a window.
The site is based on a Template, and basically I am trying to edit text that is already in place and displaying correctly.

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /?q=admin/structure/views/ajax/display/our_team/block_2/title
StatusText: Internal Server Error
ResponseText:
(More to this error, text removed as it was very long)

Anybody’s picture

Same problem here with PHP 5.5. Under 5.3 it worked.

The contextual filters are broken for us, everything else seems to work. No edit possible.

Anybody’s picture

For us the reason was Rules Bonus bug: #1552154: AJAX HTTP response in Views

ikeigenwijs’s picture

Same reason of #9

haridyb’s picture

FileSize
183.95 KB
168.15 KB

I did upgrade to PHP 5.5, but it did not work....Would any body explain how to fix the Rules Bonus Rule?
I have a brand new installation of Drupal and this problem happens every time I try to create a new view or modify it.

It is driving me crazy, especially that it is a new installation....All what I have is "views", "views ui", and "ctools"

ikeigenwijs’s picture

@haridyb

Disabling the rules bonus module rb will disable the error.
Bit if you need the module, you need to find the source of the error.

With for example a step by step debugger, monitoring the php log for warning and or errors.

youkho’s picture

Rules Bonus Pack was causing us the same bug. Disabling RB fixed it like #9

begemotya’s picture

RESOLVED:
I was getting the error shown below, but i have been able to resolve it.
I upgraded from PHP 5.4 to PHP 5.5. (via cpanel) and it fixed my problem.

Error was as below:

I have a similar error popping up.
Drupal 7.36
Views 7.x-3.11

Error occurs when I try to edit a view, or clone a view.
Error pops up in a window.
The site is based on a Template, and basically I am trying to edit text that is already in place and displaying correctly.

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /?q=admin/structure/views/ajax/display/our_team/block_2/title
StatusText: Internal Server Error
ResponseText:
(More to this error, text removed as it was very long)

Thanks, it works for me

Tonton2’s picture

I have the same problem.

Une erreur HTTP AJAX s'est produite.
Code de statut HTTP : 500
Informations de débogage ci-dessous.
Chemin : /radio/fr/admin/structure/views/view/calendrier/preview/page_2/ajax
StatusText: Internal Server Error
ResponseText :

When I go to the idicated path I get

[{"command":"settings","settings":{"basePath":"\/radio\/","pathPrefix":"fr\/","ajaxPageState":{"theme":"seven","theme_token":"_B8D8wr6TdCxzdw5nhNoRFjk7v2OqK3QQOc-LAWCIng","jquery_version":"1.7"}},"merge":true}]

Cache-Control: no-cache, must-revalidate
Content-Type: application/json; charset=utf-8
Date: Thu, 05 Apr 2018 16:26:16 GMT
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Server: Apache
Set-Cookie: SERVERID31394=232126|WsZOK|WsZG4; path=/
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff
X-Drupal-Ajax-Token: 1
X-IPLB-Instance: 17202
X-Powered-By: PHP/7.0.27

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
Connection: keep-alive
Cookie: Drupal.toolbar.collapsed=1; Drupal.tableDrag.showWeight=0; _ga=GA1.2.1109937710.1521552506; SESSf83e26195e0db673cd978d731b9337cd=O1_fKfp7DSn-7wUoyQ_3CXr0i3Xg9Kxsaj-gZMRpVbM; DrupalModuleFilter=activeTab%3Dmultilingual-internationalization; SERVERID31394=232126|WsZN6|WsZG4; ctools-collapsible-state=views-ui-advanced-column-calendrier%3A1%2Cviews-ui-advanced-column-emissions%3A1%2Cviews-ui-advanced-column-podcasts%3A1; has_js=1
Host: remy-web.com
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:59.0) Gecko/20100101 Firefox/59.0

DamienMcKenna’s picture

Can you please try the current -dev snapshot - some AJAX-related fixes were committed recently, I'd be interested to know if the problem still exists. Thanks.

Keith Caulkins’s picture

I am seeing this error on both the latest stable and dev versions. It happens when attempting to open an entity reference views widget.