在 Magento 1.4.2 中添加属性时出错
我已经开始安装全新的 Magento 1.4.2。当我尝试添加新属性时,出现以下错误:
致命错误:在 /var/www/projects/magento/app/code/core/Mage/Adminhtml/ 中的非对象上调用成员函数 setIsPopup()第 117 行的controllers/Catalog/Product/AttributeController.php
我尝试在谷歌中搜索并在这里找到了解决方案: http://www.magentocommerce.com/boards/viewthread/214159/
但是解决了添加问题,但会导致修改属性时出现问题。
我想知道是否有更好的解决方案可以解决这个问题。
谢谢
I have started working on a fresh Magento 1.4.2 installation. When I try to add a new attribute I get the following error:
Fatal error: Call to a member function setIsPopup() on a non-object in /var/www/projects/magento/app/code/core/Mage/Adminhtml/controllers/Catalog/Product/AttributeController.php on line 117
I tried searching in google and found a solution here:
http://www.magentocommerce.com/boards/viewthread/214159/
But that resolves add issue but it causes problem in Modifying a attribute.
I like to know if any better solution is available to this issue.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请尝试使用 Magento Connect Manager 重新安装软件包“Mage_All_Latest”,并确保您已正确设置文件夹权限。
确保文件 magento/var/.htaccess、目录 magento/app/etc、magento/var 以及 magento/media 下的所有目录可由 Web 服务器写入。
听起来您的安装时出现了问题,因此重新安装最新的软件包也许可以解决您的问题。
Please try reinstalling the package "Mage_All_Latest" with the Magento Connect Manager and make sure, you have set the folder-permissions right.
Ensure that the file magento/var/.htaccess, the directories magento/app/etc, magento/var, and all the directories under magento/media are writable by the web server.
It sounds like there was a problem while your install, so a reinstall of the latest packages maybe solves your problem.