本文介绍了将商店视图更改为新商店后,magento的前端和admin中出现404错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有1个网站,2个商店和2个商店视图... ym和主要商店,我需要将主要商店视图作为默认主页而不是ym商店视图,同时尝试在管理商店中执行此操作页面上,我在显示的下拉框中错误地将属于商店1的ym视图放在商店2下.

I have 1 website , 2 stores and 2 store views ...ym and main store, I needed the main store view to be the default home page and not the ym store view, while trying to do that in the manage store page, I mistakenly put the ym view that belongs to store 1 under store 2 in the drop down box shown.

立即,前端和Admin都出现错误404,我无法再访问该网站.

Immediately both the front-end and Admin went to error 404 and I can no longer access the website.

请帮助,我是Magento的新用户,并且我已经在该网站上工作了4个多星期,并且几乎完成了工作.

please help, I am a new Magento User and I have been working on this website for over 4 weeks and almost done with it.

推荐答案

打开index.php并更改$mageRunCode='admin'的值,然后重新加载管理页面.

Open index.php and change value of $mageRunCode='admin', then reload admin page .

它将被打开.转到商店视图并恢复所做的更改,然后选择状态:已启用".

It will get opened. Go to store view and revert back your changes and select status :"enabled".

现在返回并更改$mageRunCode=''的值.

Now go back and change value of $mageRunCode=''.

希望这会有所帮助.

这篇关于将商店视图更改为新商店后,magento的前端和admin中出现404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 13:49