Magento2: Magento 2 links in admin/backend don't work

Created on 23 Feb 2016  ·  19Comments  ·  Source: magento/magento2

All the links in the left admin bar don't work. They all end on #3513
But the Icons are shown.

The following solution doesn't help in my case:
https://www.envisionecommerce.com/magento-2-admin-links-not-working-on-localhost-easy-solution/

needs update

Most helpful comment

2
down vote
accepted
I have find the simple solution: Open the file di.xml at the location:

app/etc/di.xml
Go to the line number 574 line:
Older line:
Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink
Replace it with (New line)
Magento\Framework\App\View\Asset\MaterializationStrategy\copy

All 19 comments

@flipflap are there any browser errors? What server are you on?

I tried all browsers. All links on the left icons goes to the same url:
admin/admin/dashboard/index/key/6561974a85c481df22c6423cb57656edcb68974725c37a7e5b8bd41b85ee6f2b/#

error

It ist full of script errors.

Please run bin/magento setup:static-content:deploy on command line.

Having same issue - ran bin/magento setup:static-content:deploy --- still the admin dashboard as well as store front broken...

For me the Magento installer didn't work. It seems full of bugs.

But my hosters has a tool in cpanel called installatron. Using that tool I could install Magento in 10 minutes. It also works with sample data. While Magento Installer stops at 90%.

@cyberbloke can you check file permissions especially for pub folder? Please see this and this

@flipflap please check if your max_execution_time is set to the recommended 18000

@mazhalai max_execution_time is already at 18000. I really tried everithing, it just don't work. I recommend to use installatron until this things are fixed.

@flipflap what is your configuration like so that we can reproduce this issue.

@mazhalai thanks, it is ok now as I installed by installatron. Aniway, here is my PHP setting:
php

@flipflap what OS and what Webserver?

Here is my server information. Interesting, it shows me a lower PHP Version here 5.5.3 and not 5.6.
php

@flipflap but this does not show what OS and what webserver you have.

Sorry, I took the wrong picture :-(
server

Hi I having solution of the above problem.

open the terminal and navigate to magento web root

$ cd /var/www/html/magento2
Step 1.

$ php bin/magento setup:static-content:deploy
Step 2.

$ php bin/magento indexer:reindex
Step 3.

make sure apache “rewrite_module” is enable and then restart the server

Step 4.

$ chown -R www-data:www-data /var/www/html/magento2
Step 5.

$ chmod -R 777 /var/www/html/magento2
Step 6.

delete cache folder under var/cache

http://gotechnies.com/css-javascript-files-loading-magento-2-installation/

@flipflap do you still have this issue?

Thanks for your feedbacks.
I deleted Files and DB and setup all again. Now I don't have that problem anymore.

2
down vote
accepted
I have find the simple solution: Open the file di.xml at the location:

app/etc/di.xml
Go to the line number 574 line:
Older line:
Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink
Replace it with (New line)
Magento\Framework\App\View\Asset\MaterializationStrategy\copy

@manojind solution fixed my errors too. Thank you.

Was this page helpful?
0 / 5 - 0 ratings