简体   繁体   English

运行Cron.php时Magento错误

[英]Magento error when running Cron.php

I am getting this error when I run the cron.php for Magento. 我为Magento运行cron.php时遇到此错误。 [24-Jan-2015 02:40:03 UTC] PHP Fatal error: Class 'Mage__Helper_Data' not found in /home/nli/catalog/app/Mage.php on line 516 [2015年1月24日02:40:03 UTC] PHP致命错误:在第516行的/home/nli/catalog/app/Mage.php中找不到类'Mage__Helper_Data'

I found a few other pages where someone else had this problem but I am unable to fix this. 我发现其他人遇到此问题的其他页面,但无法解决。 The two underscores must be the issue but I cannot find anywhere in my Magento directories with grep where there is any mention of Mage__Helper_Data or anything calling that class. 这两个下划线一定是问题所在,但是我在grep的Magento目录中找不到任何提及Mage__Helper_Data或任何调用该类的地方。

Please let me know if you have any ideas on what I could check. 如果您对我可以检查的内容有任何想法,请告诉我。 This has been happening for at least a couple months so I have no idea what happened or which plugins were installed at the exact time. 这已经发生了至少几个月,所以我不知道发生了什么事或在正确的时间安装了哪些插件。 Thank you! 谢谢!

-Justin -Justin

This should be in one of the config.xml files in your system; 这应该在系统中的config.xml文件之一中; it seems like one word is missing between Mage_ and _Helper ; 似乎在Mage__Helper之间缺少一个词; btw what is the grep command you are using? btw您正在使用什么grep命令? try with: grep "Mage__Helper" . -rin 尝试使用: grep "Mage__Helper" . -rin grep "Mage__Helper" . -rin , from the top folder. grep "Mage__Helper" . -rin ,从顶部文件夹。 I'm sure you'll find something. 我相信你会发现的。

magento开发人员能够看一下我们的系统,发现问题出在第三方magento插件中,该插件在数据库表中存在损坏的行,从而导致Mage__Helper_Data错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM