Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drupal Views - Ajax Error Alert Box From Hell

Anything I do in views that would normally use ajax to open up a new form to modify properties of that action is giving me an alert box of what looks like the code that should be loading with ajax:

enter image description here

like image 514
kilrizzy Avatar asked Dec 07 '22 22:12

kilrizzy


2 Answers

There can be another source of this problem (if the previous comments didn't solve it):
the Theme developer module.

This is a really helpful module for theming and debugging, but when having it enabled, it can also produce weird AJAX error messages, similar to the one in the question when trying to set different parameters in Views field settings.

As the project's page suggests: "Enable it when needed, and disable it afterwards."

like image 74
Sk8erPeter Avatar answered Jan 08 '23 22:01

Sk8erPeter


If you add a newer version of jQuery to your Drupal install it can create problems with AJAX and Views UI.

I have found myself in the exact same position before. I reverted back to the original jQuery version shipped with Drupal and everything was back to normal.

like image 38
Laxman13 Avatar answered Jan 08 '23 22:01

Laxman13