error-handling - firebug 显示网络错误

标签 error-handling firebug

我在谷歌搜索但找不到解决方案。

当我现在处理我的项目时,firebug 会显示 4 个类似这样的错误。

"NetworkError: 404 Not Found - http://localhost/LankaInstitute/images/profile.jpg"

profile.jpg

"NetworkError: 404 Not Found - http://localhost/LankaInstitute/images/premium-%20tag.png"

premium- tag.png

"NetworkError: 404 Not Found - http://localhost/LankaInstitute/images/profile.jpg"

profile.jpg

"NetworkError: 404 Not Found - http://localhost/LankaInstitute/images/premium-%20tag.png"

premium- tag.png

"CSS Usage: initializing extensions"

"NetworkError: 404 Not Found - http://localhost/LankaInstitute/images/profile.jpg"

profile.jpg

"NetworkError: 404 Not Found - http://localhost/LankaInstitute/images/premium-%20tag.png"

premium- tag.png

"NetworkError: 404 Not Found - http://localhost/LankaInstitute/images/profile.jpg"

profile.jpg

"NetworkError: 404 Not Found - http://localhost/LankaInstitute/images/premium-%20tag.png"

premium- tag.png

"CSS Usage: initializing extensions"

"NetworkError: 404 Not Found - http://localhost/LankaInstitute/images/premium-%20tag.png"

premium- tag.png

"NetworkError: 404 Not Found - http://localhost/LankaInstitute/images/profile.jpg"

谁能告诉我这是什么意思,我该如何解决?

谢谢你。

最佳答案

404 或 Not Found 错误消息是一个 HTTP 标准响应代码,表示客户端能够与服务器通信,但服务器找不到请求的内容。 404 错误不应与“找不到服务器”或类似错误相混淆,在这些错误中,根本无法连接到目标服务器。另一个类似的错误是“410: Gone”,表示请求的资源已被故意删除,将不再可用。 404 错误表明请求的资源将来可能可用。
当通过 HTTP 进行通信时,服务器需要响应请求,例如 Web 浏览器对 HTML 文档(网页)的请求,带有数字响应代码和可选的、强制的或不允许的(基于状态代码)信息。在代码 404 中,第一个“4”表示客户端错误,例如输入错误的 URL。以下两位数字表示遇到的具体错误。 HTTP 对三位数代码的使用类似于早期协议(protocol)(如 FTP 和 NNTP)中对此类代码的使用。

您可以在 here 了解如何修复错误。还请检查 png 图像是否在正确的文件夹中

关于error-handling - firebug 显示网络错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15492800/

相关文章:

node.js - socket.io 和 websockets 的区别

javascript - Firebug 控制台缩短记录数组中的字符串?

bash - 使用bash : making bash function call unchecked, while letting the parent continue after function errors out? [duplicate]进行单元测试

asp.net-mvc - 如何在不使用try catch语句的情况下全局记录异常

ajax - 如何在 Backbone 的 model.save 错误回调中获取错误响应?

excel - Excel VBA错误类型 '13'类型不匹配

c++ - C++ 中的变量作用域?

debugging - Firebug:如何检查随鼠标移动而变化的元素?

javascript - 分析 jQuery : how to interpret the results

jquery - 为什么我的 jquery.ajax() 函数在上传到实时服务器时显示 'Aborted'