[英]Drupal-7 An AJAX HTTP error occurred: HTTP result code: 200
I am running a very simple program on a new clean drupal installation. 我在新的干净Drupal安装上运行一个非常简单的程序。 However, I am getting a small popup on the browser saying: 但是,我在浏览器上看到一个小的弹出窗口,说:
An AJAX HTTP error occurred 发生AJAX HTTP错误
I have not installed much modules except views, ctools modules on top of basic Drupal installation. 除了基本的Drupal安装之外,除了视图和ctools模块之外,我还没有安装太多模块。
I don't know why it happen through this little information. 我不知道为什么通过这些小信息会发生这种情况。 But you can prevent it using a module Prevent JS alerts . 但是您可以使用“ 阻止JS警报”模块来阻止它。
This module completely suppresses ALL JavaScript alerts and instead prints them to console via console.error! 该模块完全禁止显示所有JavaScript警报,而是通过console.error将它们打印到控制台! Important: It does NOT ONLY suppress the core alerts, but also custom alerts. 重要提示:它不仅会抑制核心警报,还会抑制自定义警报。
For more info go through module documentation. 有关更多信息,请查阅模块文档。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.