Magento 文件权限 +奇怪的错误
我刚刚完成了 Magento 的全新安装,但遇到了一些奇怪的错误:
例如在管理区域中我进入系统 - 导入/导出 - 配置文件;然后我就得到了
处理您的请求时出错 出于安全原因,默认情况下禁用异常打印。 错误日志记录号:682005239838
我几乎到处都遇到这个问题...所以我想我应该升级 Magento,所以进入 Connect 进行升级:但是当尝试这个时,我也遇到了权限不足的错误。
所以我可能假设所有这些都是相关的。
有人可以建议我应该设置什么 chmod 权限以及哪些文件夹吗?这能解决我所有的戏剧吗?
最好的问候
谢恩
I've just done a fresh install of Magento but I'm getting some bizarre errors:
For example within the admin area I go into System - Import / Export - Profiles ; then I just get
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 682005239838
I'm getting this pretty much everywhere... So I thought I'd upgrade Magento so went into Connect to do an upgrade: but when trying this I'm get also getting insufficient permission errors.
So I'm probably assuming that all of this is related.
Can anybody please advise, on what chmod permission I should set and on which folders? and Will this solve all my dramas?
Best Regards
Shane
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
已排序!
php不小心开启了安全模式!哎哟!
Sorted!
php safe mode was switched on by accident! Doh!
文件权限应为:
MAGETO_ROOT/app/etc - 可写
MAGETO_ROOT/media/ - 可写
MAGETO_ROOT/var/ - 可写
其余文件夹和文件应具有常规权限。
现在,关于您遇到的错误。您应该尝试打开文件 MAGETO_ROOT/var/reports/report/682005239838,您将看到更详细的问题所在。
如果您想在不访问 FTP 的情况下查看错误报告 - 只需将文件 MAGETO_ROOT/errors/local.xml.sample 重命名为 MAGETO_ROOT/errors/local.xml
The file permissions should be:
MAGETO_ROOT/app/etc - writable
MAGETO_ROOT/media/ - writable
MAGETO_ROOT/var/ - writable
The rest folders and wiles should have regular permissions.
Now, about the error you have got. You should try open a file MAGETO_ROOT/var/reports/report/682005239838 and you will see more detailed where your problem is.
If you want to see your error reports without going to FTP -- just rename file MAGETO_ROOT/errors/local.xml.sample to MAGETO_ROOT/errors/local.xml