Magento网站崩溃 [英] Magento site crashed

查看:30
本文介绍了Magento网站崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为客户做一个magento网站,仅完成一些小的改动,就没什么了.

I am working on a magento site for a client, just small finishing changes, nothing more.

代码工作已经完成,一切都正常工作.我只需要更改翻译,然后决定在后端进行搜索,如果Magento拥有用于此目的的任何工具(我对magento并不了解,Joomla是我的专长).

Work on the code was done, everything was working normally. I just had to change a translation and I decided to go search in the backend, if Magento had any tools for that (I don't know much about magento yet, Joomla is my speciality).

好吧,我认为我找到了一些东西(我认为是翻译"标签).我单击启用",现在该网站显示错误.

Well, I think I found something (tab "translation" I think). I clicked "enable" and now the site displays errors.

Warning: include_once() [function.include-once]: Unable to access Mage_Core_functions.php

Warning: include_once(Mage_Core_functions.php) [function.include-once]: failed to open stream: No such file or directory

Warning: include_once() [function.include]: Failed opening 'Mage_Core_functions.php' for inclusion

Warning: include_once() [function.include-once]: Unable to access Varien_Autoload.php

Warning: include_once(Varien_Autoload.php) [function.include-once]: failed to open stream: No such file or directory

Warning: include_once() [function.include]: Failed opening 'Varien_Autoload.php' for inclusion

Fatal error: Class 'Varien_Autoload' not found

所有这些警告和错误突然出现在app/Mage.php中以及这些文件应位于的路径(/includes/src)不存在.

All this warnings and errors suddenly appeared in app/Mage.php and the path these files should be located, doesn't exist (/includes/src).

没有人碰过Mage.php,也没有人删除任何文件.最奇怪的是,该站点正常运行,我们没有更改任何代码,仅在后端启用了某些功能.老实说,我从没想到会发生这样的崩溃,唯一的发生是我弄乱了代码,在那种情况下,我确切地知道如何解决它,但是在这里我是一无所知.

Nobody touched Mage.php and nobody deleted any files. The strangest thing is that the site worked, we didn't change any code, only enabled something in the backend. To be honest, I never expected such a crash, the only times that happens is if I mess with the code and in that cases I know exactly how to fix it, but here I'm completely clueless.

在这方面我真的需要帮助:(

I really need help on this one :(

推荐答案

如果有人在为这个问题而苦苦挣扎,这是解决方案:

If anyone is struggling with this problem, here is the solution:

我启用了Magento的编译功能,这很可能会完全破坏您的页面.您可以在此处找到解决方案: http://www.magentoweb.com/component/content/article/95-turn-off-magentos-compilation-feature-through-phpmyadmin.html

I enabled Magento’s Compilation feature, which is likely to break your page completely. You can find the solution here: http://www.magentoweb.com/component/content/article/95-turn-off-magentos-compilation-feature-through-phpmyadmin.html

基本上,您只需要打开include/config.php并在每行之前添加#.这样,将不会定义常量,并且页面将再次工作.

basically you just have to open includes/config.php and put a # before every line. This way the constant won't be defined and the page will work again.

这篇关于Magento网站崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆