Magento 2-Admin中的链接不起作用 [英] Magento 2 - Links in Admin wont work
问题描述
我尝试安装新的magento 2.
I try to install a new magento 2.
如果我以管理员身份登录,则所有菜单和链接都将不起作用(也将注销).
If I login in the admin all the menus and links won't work (also the logout, too).
我做错了什么-我读了一些有关该问题的东西,我试图更改di.xml,但这不会改变任何东西.
What I do wrong - I read something about that problem and I've try to change the di.xml but that wont change anything.
在控制台上,我看到很多错误,例如"NetworkError:403 Forbidden-
at the console I see a lot of errors for example ""NetworkError: 403 Forbidden - http://presentim.de/pub/static/version1481817482/adminhtml/Magento/backend/en_US/fonts/opensans/regular/opensans-400.woff""
但是在pub/statis文件夹中没有文件夹"version148 ...." !?也许可以帮助找到禁用菜单的原因?
But in the pub/statis folder is no folder "version148...."!? Maybe it can help to find the reason for the disabled menu?
推荐答案
您需要尝试运行此命令,
You need to try run this commands,
php bin/magento cache:clean
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
这篇关于Magento 2-Admin中的链接不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!