产品图片无法访问...

发布于 2024-12-23 16:54:53 字数 182 浏览 3 评论 0原文

我们正在使用 Magento ver1.6.1 来开发一个网站。

当尝试上传产品图片时,图片无法查看。通过FTP检查图像是否正确上传到服务器中。

当尝试访问 media 文件夹下的图像时,出现 500 错误,并且根目录下的图像正在正确加载。

有人猜出问题发生在哪里,Magento 还是 Server?

We are using Magento ver1.6.1 to develop a website.

When try upload images for products, the images are not view-able. When check through FTP images are uploaded properly in server.

When try to access images under media folder, it through 500 error and image under root dir are loading properly.

Anybody guess where the issue occurs, Magento or Server?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

一个人的旅程 2024-12-30 16:54:53
  1. 尝试 chmod 644 或 755 媒体文件夹
  2. 尝试重命名 media/.htaccess 文件
  3. 向 magento 解决方案合作伙伴支付 10 亿美元:)
  1. Try to chmod 644 or 755 media folder
  2. Try to rename media/.htaccess file
  3. Pay a billion of dollar to magento solution partner :)
那请放手 2024-12-30 16:54:53

错误 500 是 Web 服务器的内部错误,因此您可能需要从服务器日志开始。在 Ubuntu 上

/var/log/apache/
/var/log/httpd/

(抱歉我记不清了),但位置取决于您的操作系统和 Web 服务器。除此之外,您还需要发布服务器报告的错误。

Error 500 is a Web Server's internal error so you might want to start with server logs. On Ubuntu at

/var/log/apache/
/var/log/httpd/

(sorry don't remember off the top of my head) but the location depends on your OS and web server. Beyond that you would need to post the error that the server reports.

玩套路吗 2024-12-30 16:54:53

这可能是服务器问题检查文件夹权限 777 是否设置

This may be a server problem check the folder permission 777 was set

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文