I have recently installed Administration Views on a Drupal 7 site. When I select any refinement filters and click Apply I receive the following error:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /?q=views/ajax&render=overlay
StatusText: OK
ResponseText: @import url("http://localhost/modules/system/system.base.css?mble7u");
@import url("http://localhost/modules/system/system.menus.css?mble7u");
@import url("http://localhost/modules/system/system.messages.css?mble7u");
@import url("http://localhost/modules/system/system.theme.css?mble7u");
@import url("http://localhost/modules/overlay/overlay-child.css?mble7u");
@import url("http://localhost/modules/contextual/contextual.css?mble7u");
@import url("http://localhost/modules/comment/comment.css?mble7u");
@import url("http://localhost/modules/field/theme/field.css?mble7u");
@import url("http://localhost/modules/node/node.css?mble7u");
@import url("http://localhost/modules/search/search.css?mble7u");
@import url("http://localhost/modules/user/user.css?mble7u");
@import url("http://localhost/sites/all/modules/views/css/views.css?mble7u");
@import url("http://localhost/sites/all/modules/ctools/css/ctools.css?mble7u");
@import url("http://localhost/sites/all/modules/dhtml_menu/dhtml_menu.css?mble7u");
@import url("http://localhost/sites/all/modules/views_bulk_operations/css/views_bulk_operations.css?mble7u");
@import url("http://localhost/themes/seven/reset.css?mble7u");
@import url("http://localhost/themes/seven/style.css?mble7u");

Duplication Steps:
-Setup Drupal 7.15
-Install Dependiency modules for Administration Views
-Install Administration Views
-Goto Content of Admin section
-Change type to filter content view
-Click Apply

Attempt at fix:
-Change Admin theme
-Clear Caches
-Change to dev version of module
-Cleared caches again.

Browser: Firefox 9.0.1
OS: Windows 7 using wamp.

Comments

alanosman’s picture

StatusFileSize
new47.43 KB

Hi there. Yes I get something similar to this also. Same environment. my code is a bit different though. The error appears when I select APPLY in the Content view. I was all excited to use it too! It actually does produce the right view after you close the error window and refresh the page. Obviously not desirable for production use.

I could not extract the text from the error to paste here as it is in an alert window but I have attached the error dialog.

Along the lines of (and "openexchange" is the project name)

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path:/openexchange/?q=views/ajax&render=overlay
StatusText: parseerror
ResponseText: @import url("http://localhost/openexchange/modules/system.base/css?mbnnvs");
@import url and so on.. repeats (see attachment)

Any wisdom here would be helpful.

joshmmo’s picture

The error appears when I select APPLY in the Content view. I was all excited to use it too! It actually does produce the right view after you close the error window and refresh the page. Obviously not desirable for production use.

That's actually the exact same issue I noticed after a while as well.

damiankloip’s picture

@alanosman: 4 weeks is not a massively long time to not have a commit for... Heard of Drupal 8 ;) these are busy times.

Also, you only posted your issue here 1 day before sending me a personal message. That's hardly a fair amount of time, and will also not get your query dealt with any quicker.

I am certainly not getting this issue. Are you using the default themes? i.e. Bartik and Seven for the admin theme? It may be an issue with your custom themes. Do you get the same issue if you try this on a vanilla installation? I think someone else had a similar problem before, and it turned out to be another contrib module js script conflicting.

alanosman’s picture

Damain - sorry, had no idea. I never really posted here before, but its good to know you guys are listening and are doing great things. You guys are so way ahead of us when it comes to Drupal 8 and what you are building. We're just mere themer's with PHP tweaks.

The theme I am using for admin is Seven and haven't mucked with it in any way. I am using a heavily modified Boron theme for the content user's see.

Keep doing your thing, I can live without this for now.
thx.

damiankloip’s picture

Status: Active » Postponed (maintainer needs more info)

So, do you have this issue with any other views that have ajax enabled? Also, please switch you themes back to Bartik/Seven for default and admin themes respectively and see if you still have this issue.

joshmmo’s picture

I switched my base/admin theme back to defaults and still get the error

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /?q=views/ajax&render=overlay
StatusText: OK
ResponseText: @import url("http://localhost/modules/system/system.base.css?mcaz4y");
@import url("http://localhost/modules/system/system.menus.css?mcaz4y");
@import url("http://localhost/modules/system/system.messages.css?mcaz4y");
@import url("http://localhost/modules/system/system.theme.css?mcaz4y");
@import url("http://localhost/modules/overlay/overlay-child.css?mcaz4y");
@import url("http://localhost/modules/contextual/contextual.css?mcaz4y");
@import url("http://localhost/modules/comment/comment.css?mcaz4y");
@import url("http://localhost/modules/field/theme/field.css?mcaz4y");
@import url("http://localhost/modules/node/node.css?mcaz4y");
@import url("http://localhost/modules/search/search.css?mcaz4y");
@import url("http://localhost/modules/user/user.css?mcaz4y");
@import url("http://localhost/sites/all/modules/views/css/views.css?mcaz4y");
@import url("http://localhost/sites/all/modules/ctools/css/ctools.css?mcaz4y");
@import url("http://localhost/sites/all/modules/dhtml_menu/dhtml_menu.css?mcaz4y");
@import url("http://localhost/sites/all/modules/lexicon/css/lexicon.css?mcaz4y");
@import url("http://localhost/sites/all/modules/views_bulk_operations/css/views_bulk_operations.css?mcaz4y");
@import url("http://localhost/themes/seven/reset.css?mcaz4y");
@import url("http://localhost/themes/seven/style.css?mcaz4y");

What else should I do to debug? Just start uninstalling each module one by one and test?

flock’s picture

I just updated to Drupal 7.16 and get the following error when attempting to view my Blog page:

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /2012/admin/structure/views/view/news/preview/page/ajax
StatusText: error
ResponseText: EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids() (line 7562 of /home/content/b/1/9/b19842723/html/2012/includes/common.inc).

It was working perfectly fine prior.

--------solved---------
Intalled: http://drupal.org/project/taxonomy_orphanage
Ran it through the admin pages and it solved my troubles.

joshmmo’s picture

flock,

Does this have anything to do with the administration views error we are having? It does not look like you even got the same error we did.

alanosman’s picture

Any progress here on this one? I'd like to ship a product that uses this filter, but does not show this problem. Should I muck with the view and ajax? seems like this is where its complaining.

alanosman’s picture

I solved this problem by disabling AJAX in the content filter view.

damiankloip’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

@alanosman, that is not solving a problem, but just sidestepping it... ;)

This seems to be a duplicate of #1650420: Ajax error after editing content navigated to after an ajax content search search.. Views issue, not admin_views.

back from 7’s picture

For what it is worth I had the same issue. I noticed that Theme Key was the culprit. Disable Themekey UI module (part of Themekey module package)

The ajax error went away on my admin content view. I also disabled ajax in the actual view settings.

Hope this helps someone!!

dibyadel’s picture

it worked for me.I disabled ajax in the views.

jrdixey’s picture

I'm getting this error as well. Can someone explain how to disable AJAX in the views?

chandeepkhosa’s picture

This might not be the right place to post, and may not be the fault of Administration Views but I also get the same problem.

I changed the admin theme to Seven and it still appeared.

Advanced > Ajax = no

My error results show as follows in a modal, after I attempt a bulk operation to change a user field on a list of 10 users.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/views/ajax/preview/user_newsletter_settings/page
StatusText: OK
ResponseText:
Performing Modify entity values on the selected items... | Club Soda
@import url("http://club-soda.dd:8083/modules/system/system.base.css?nkaa9m");
@import url("http://club-soda.dd:8083/modules/system/system.menus.css?nkaa9m");
@import url("http://club-soda.dd:8083/modules/system/system.messages.css?nkaa9m");
@import url("http://club-soda.dd:8083/modules/system/system.theme.css?nkaa9m");
@import url("http://club-soda.dd:8083/modules/system/system.admin.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/modules/jquery_update/replace/ui/themes/base/minified/jquery.ui.core.min.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/themes/adminimal_theme/css/jquery.ui.theme.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/modules/jquery_update/replace/ui/themes/base/minified/jquery.ui.menu.min.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/modules/jquery_update/replace/ui/themes/base/minified/jquery.ui.autocomplete.min.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/modules/simplenews/simplenews.css?nkaa9m");
@import url("http://club-soda.dd:8083/modules/comment/comment.css?nkaa9m");
@import url("http://club-soda.dd:8083/profiles/commons/modules/contrib/date/date_api/date.css?nkaa9m");
@import url("http://club-soda.dd:8083/profiles/commons/modules/contrib/date/date_popup/themes/datepicker.1.7.css?nkaa9m");
@import url("http://club-soda.dd:8083/modules/field/theme/field.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/modules/logintoboggan/logintoboggan.css?nkaa9m");
@import url("http://club-soda.dd:8083/modules/node/node.css?nkaa9m");
@import url("http://club-soda.dd:8083/modules/poll/poll.css?nkaa9m");
@import url("http://club-soda.dd:8083/modules/search/search.css?nkaa9m");
@import url("http://club-soda.dd:8083/modules/user/user.css?nkaa9m");
@import url("http://club-soda.dd:8083/profiles/commons/modules/contrib/views/css/views.css?nkaa9m");
@import url("http://club-soda.dd:8083/profiles/commons/modules/commons/commons_media/commons_media.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/modules/admin_menu/admin_menu.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/modules/admin_menu/admin_menu.uid1.css?nkaa9m");
@import url("http://club-soda.dd:8083/profiles/commons/modules/contrib/ctools/css/ctools.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/modules/drupalchat/themes/light/light.css?nkaa9m");
@import url("http://club-soda.dd:8083/profiles/commons/modules/contrib/panels/css/panels.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/modules/adminimal_admin_menu/adminimal_admin_menu.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/modules/coffee/css/coffee.css?nkaa9m");
@import url("http://club-soda.dd:8083/modules/shortcut/shortcut.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/themes/adminimal_theme/css/reset.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/themes/adminimal_theme/css/style.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/themes/adminimal_theme/css/mobile.css?nkaa9m");
@import url("http://club-soda.dd:8083/sites/all/themes/adminimal_theme/css/tablet.css?nkaa9m");
Skip to main content
You are hereHome
Performing Modify entity values on the selected items...
Add to Default shortcuts
Chat (1)
Chat
_
Public Chatroom
Mute
chandeepkhosa’s picture

StatusFileSize
new1.27 MB

Here is a screenshot, thanks!

back from 7’s picture

Try to simply save the view again (without filters) then apply the filters saving again and see if that helps.

noymen’s picture

Using PHP 5.6+ resolved it.