0

I have installed magento2 on windows 10 machine using XAMPP. I am able to access the front end but when opens admin page it does not load successfully thus I cannot access the left side menu items(for example, magento2 does not respond when I click catalog, content etc).

enter image description here

I found following error message on chrome debugger panel

enter image description here

2
  • Please add any screenshots for your error. Commented May 29, 2018 at 7:43
  • @SaravananDS please have a look at the updates question Commented May 29, 2018 at 7:49

2 Answers 2

0

Looks like this is because Magento uses Symlink by default to load the static files.

Open app\etc\di.xml and change the following line

<item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink</item>

To

<item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Copy</item>

Also make sure that pub and pub/static have the default .htaccess files present

answered May 29, 2018 at 8:12
3
  • Yes. It worked partially I believe 'cause the messy page is no longer exists but the functionality is not working Commented May 29, 2018 at 8:22
  • Are you still getting console errors? Commented May 29, 2018 at 8:27
  • it works now.... Commented May 29, 2018 at 9:23
0

Open Xampp Shell,

Go to your Magento root Installtion directory and execute below Commands.

1). php bin/magento s:up

2). php bin/magento s:s:d // If your M2 version is 2.2.x than add -f like php bin/magento s:s:d -f

3). php bin/magento c:c

Check now, M2 will run as expected.

answered May 29, 2018 at 9:04

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.