运行Cron.php时出现Magento错误

当我为Magento运行cron.php时出现此错误。
[24-Jan-2015 02 :40:03 UTC] PHP致命错误:在第516行的/home/nli/catalog/app/Mage.php中找不到类'Mage__Helper_Data'</ p>

我发现了其他一些页面 别人有这个问题,但我无法解决这个问题。 两个下划线必须是问题,但我在Magento目录中的任何地方找不到grep,其中有任何提及Mage__Helper_Data或任何调用该类的内容。</ p>

如果你有任何问题,请告诉我 关于我能检查什么的想法。 这已经发生了至少几个月,所以我不知道发生了什么或在确切的时间安装了哪些插件。
谢谢你!</ p>

-Justin </ p>
</ DIV>

展开原文

原文

I am getting this error when I run the cron.php for Magento. [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

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.

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

duanpo1821
duanpo1821 你见过这个帖子:stackoverflow.com/questions/25177502/magento-cron-job/...那里可能有相关的东西。
接近 6 年之前 回复

2个回答



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

展开原文

原文

A magento developer was able to take a look at our system and found the issue was within a 3rd party magento plugin that had a corrupt row in the database table that was causing the Mage__Helper_Data error.



这应该位于系统中的 config.xml </ em>文件之一; 似乎 Mage _ </ em>和 Helper </ em>之间缺少一个词; 顺便问一下你使用的是什么grep命令? 尝试: grep“Mage_Helper”。 -rin </ code>,来自顶层文件夹。 我相信你会找到一些东西。</ p>
</ div>

展开原文

原文

This should be in one of the config.xml files in your system; it seems like one word is missing between Mage_ and _Helper; btw what is the grep command you are using? try with: grep "Mage__Helper" . -rin , from the top folder. I'm sure you'll find something.

立即提问
相关内容推荐