failed to load resource the server responded with a status of 500 (internal server error)
来源:互联网 发布:经济数学知乎 编辑:程序博客网 时间:2024/05/18 18:04
本质错误原因:无法加载得到的信息。
看了网上各种分析,引起这种情况的原因很多,主要分为以下几种:
1.jquery.ajax中的回调函数没有执行
参照http://blog.csdn.net/ye1992/article/details/8478970
2.跨域问题
参照http://blog.csdn.net/platform/article/details/7953716
3.后台取数据异常
查看后台有没有出错
本人解决实例:
我由于copy另一个页面的代码,运行时正常,在不搜索数据或搜索不到数据的时候也正常,只有在搜索到某些数据的时候,出现了页面“加载数据异常”的提示。
这次出现这个问题的原因是数据库中有了脏数据,但是由于写的不完善,导致在取数的时候后台并没有报错。所以一直以为是页面的问题。
在将要执行的sql在数据库中执行后,对比页面信息,得出异常数据,删除即可。
提示:
此错误在前端用google浏览器调试的时候,报错界面在network。
但是显示错误点在jquery.js中d xhr.send( ( options.hasContent && options.data ) || null );
参考学习:http://blog.csdn.net/liangklfang/article/details/50245763
阅读全文
0 0
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- failed to load resource the server responded with a status of 500 (internal server error)
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- failed to load resource the server responded with a status of 500 (internal server error)
- PHP 中 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- SharePoint Debug - Failed to load resource: the server responded with a status of 500
- Failed to load resource: the server responded with a status of 500 ()
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 406 (Not Acceptable)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 404
- Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
- Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 405 (Method Not Allowed)
- SprimgMVC:Failed to load resource: the server responded with a status of 406 (Not Acceptable)
- 大数据分析学习之路—安装数据分析常用库
- PHP:CURL分别以GET、POST方式请求HTTPS协议接口api
- js DOM操作
- JFinal中的JFinalConfig详解
- kalmanfilter github
- failed to load resource the server responded with a status of 500 (internal server error)
- 徐汉彬:Web系统大规模并发——电商秒杀与抢购
- IDEA环境下GIT操作浅析之二-idea下分支操作相关命令
- stringstream 的.str()正确用法和清空操作
- C/C++之回调函数
- attr和prop
- hadoop学习(六)----HDFS的shell操作
- ARM知识【M0程序映射和启动时序】
- 内联函数inline