When I enable @font-your-face module I get the following error on views..

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /admin/structure/views/ajax/display/drawings/page/access
StatusText: Internal Server Error

Thanks for any help to find a solution ..

CommentFileSizeAuthor
error.jpg308.28 KBedterano
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

edterano’s picture

Issue summary: View changes
Kostya19’s picture

If you get HTTP Result Code: 500, you should see into server error log.
In my case this was because of the big length of the AJAX POST request. The POST request include inter alia all js file names. When we enabled many edge fonts, we have long js file names, accordingly long POST request.
You should change server settings to be able to pass a large POST requests. If it not possible, you should remove the long edge font paths from POST request. I added this custom js code:

(function ($) {
  Drupal.behaviors.custom_features = {
    attach: function (context, settings) {
      $.each(Drupal.settings.ajaxPageState.js, function(index, value) {
        if (index.length > 1000) {
          delete Drupal.settings.ajaxPageState.js[index];
        }
      });
    }
  }
})(jQuery);
Neslee Canil Pinto’s picture

Status: Active » Closed (outdated)