Views UI is throwing the following error whenever trying to add a Sort Criteria to the view. No other fields are doing this.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/views/ajax/add-item/products/block_1/sort
StatusText: OK
ResponseText: Request RejectedThe requested URL was rejected. If you think this is an error, please contact the webmaster. Your support ID is: 12837629878858437046

Would love even a short term hack so I can make the needed change on a view.

Comments

zcrow’s picture

Nothing???

phandolin’s picture

I am having this same issue, trying to troubleshoot.

zcrow’s picture

Not sure how conclusive this is but in my attempt to circumnavigate the issue, I moved a copy of the client's website to our server and the problem disappeared. We have had quite a few other strange issues with this site over the months so it could be a hosting issue. Might be worth seeing if the problem exists if you try running a copy somewhere else.

phandolin’s picture

Thanks! I'll try that today and report back. It's odd it just started happening out of nowhere a few days ago.

phandolin’s picture

Wow, that seems extremely odd, but after moving the site and database to another host the issue has gone away. Thanks for the suggestion!

zcrow’s picture

That is really interesting but doesn't help me understand it or prevent it in the future. Must be a server configuration that some companies use. The one my client uses has had a number of other issues as well, not just this particular one.

Glad the suggestion helped.

DRIVE’s picture

Been using Views for years. Today, the Sort button tosses this Ajax error when I try to add new sort criteria. All caching is off, using jQuery 1.7 (though 1.8 was working fine, I dropped it down when the error cropped up).

Everything else in Views works normally. There is no debug info which shows any errors in console or other more specific selections like JS/debugger, header-info, etc. I have quite a number of views and the Sort on all of them does the same thing.

The requested URL is valid and uses the exact same structure for the path as all other view buttons for adding fields, adding filters, etc... those all work fine.
I cannot find any debug info ANYWHERE that would point to a place to start debugging :)

Finally, all of my views work, no unusual errors etc.... just can't add sort criteria to any View.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /dev/admin/structure/views/ajax/add-item/audio_demos_1/block_1/sort
StatusText: OK
ResponseText: Request RejectedThe requested URL was rejected. If you think this is an error, please contact the webmaster. Your support ID is: 1529739099324069929
DRIVE’s picture

Found the answer... in the above posts actually (zcrow) :)

If your server is not runnning PHP5.4.x the Sort mechanism, and probably others not discovered yet, will not work.

So... moving to BETTER HOST as well! At this date, any host running PHP5.3.x is CRAPPY.

nikhilkorde’s picture

Hey Guys,

Hope all doing well!!

We are planning to migrate drupal Website from DC to DC on new VM . I have installed and configuration like php/mysql/apache as same old server. but having below error after migration cant upload new file .

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /filedepot/ajax/newfile
StatusText: OK
ResponseText: [{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":

I do not what would be next troubleshooting action.

Can anyone help me to understand problem.

Thanks
Nikhil

renatog’s picture

Category: Bug report » Support request
Status: Active » Fixed

Yeah, really makes sense. @nikhilkorde you can try the #8 because
I've tested here in two different web hosts (Acquia and platform.sh) and it worked as well

Thank you so much @drive

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.