我在谷歌搜索但找不到解决方案。
当我现在处理我的项目时,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/