简体   繁体   English

无法登录Magento管理员

[英]Not able to logon Magento Admin

Dears, I have a question - hope someone can pinpoint me in the correct direction. 亲爱的,我有一个问题-希望有人能指出我正确的方向。 One friend of mine has a physical shop, and now wants to deploy a webshop. 我的一个朋友开了一家实体店,现在想部署一个网上商店。 They have hired a Magento consultant. 他们聘请了Magento顾问。

But a week before the webshop is about to go live, a crash happens. 但是在网上商店即将上线前一周,发生了崩溃。 The following error is returned, when trying to logon the Magento admin panel. 尝试登录Magento管理面板时,返回以下错误。 The webpage is rendered useless. 该网页无用。

Array
(
    [type] => 2
    [message] => filemtime(): stat failed for /var/www/vhosts/[hidden_domain.name]/httpdocs/app/code/local/Extendware/EWCore/Model/Autoload.php(4) : eval()'d code
    [file] => /var/www/vhosts/[hidden_domain.name]/httpdocs/app/code/local/Extendware/EWCore/Model/Autoload.php(4) : eval()'d code
    [line] => 2
)

The consultant wants to start again from scratch. 顾问希望从头开始。 I have said no, and I am in the process of getting full access to the server. 我已经说过不,并且我正在获得对服务器的完全访问权限。

I know databases, and I know PHP - but do not know Magento. 我知道数据库,也知道PHP-但不知道Magento。

Can anyone tell me in what direction I should start looking, when I get full access to the server? 当我可以完全访问服务器时,有人可以告诉我应该从哪个方向着手? I am guessing this is something with permissions in the linux system. 我猜这是Linux系统中具有权限的东西。

Please follow given instruction, this step magento 1.7.xx and 1.9.xx version 请按照给定的说明进行操作,此步骤为magento 1.7.xx和1.9.xx版本

Step 1 : Please connect ftp and locate this file path :- app/etc/modules/Extendware.xml (Please find here exact Extendware.xml or realative word file) 步骤1:请连接ftp并找到此文件路径:-app / etc / modules / Extendware.xml(请在此处找到确切的Extendware.xml或实际的word文件)

Step 2 : Open this file find this line : <active>true</active> Please make replace to this line of code : <active>false</active> 步骤2:打开此文件,找到以下行: <active>true</active>请替换为以下代码行: <active>false</active>

Step 3 : Please save the file and upload and reload the browser or open the URL in private window 第3步:请保存文件,然后上传并重新加载浏览器,或在专用窗口中打开URL

Step 4: If you still facing the same issue please rename the cache file. 步骤4:如果仍然遇到相同的问题,请重命名缓存文件。 Find file on root location var/ now rename cache file and reload your browser once again. 在根目录var/上查找文件,现在重命名缓存文件并再次重新加载浏览器。

Hope it's help to you, If you still problem please send me URL of your site, I will check from my side. 希望对您有帮助,如果您仍然遇到问题,请向我发送您网站的网址,我会从我身边检查。

Ok, this was maybe straight forward for someone knowing magento. 好的,对于认识magento的人来说,这也许是直截了当的。 Adminhtml folder was changed from lowercase to uppercase. Adminhtml文件夹从小写更改为大写。

No idea why. 不知道为什么。 From now on, all my installations will be found in a git to trace stuff like this. 从现在开始,我所有的安装都将在git中找到,以跟踪此类内容。

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

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