When you finished 10 steps to install Magento 2 localhost with XAMPP, though having a successful notification, you still have a chance to face some errors, especially the layout crashing. According to our experiment, 70% Windows PCs can take the risk of encountering this error but mainly focus on Windows 10. The previous Windows versions such as Windows 7 and Windows 8 has a slightly chance to have layout crashing but it still worth to consider the solution.
Watch this video or read the tutorial below to fix this common error when installing Magento 2 on localhost.
It seems to look normal but it’s not
Magento logo is missing in backend interface
The menu slide bar is not responding
The problem is due to unsuccessful symlink process when Magento 2 cannot use symlink to connect its modules and make them work. You can find more documents about the error by google these keywords “symbolic symlink in magento 2” or “Magento 2 cannot create symlink”.
These are 5 simple steps from Magestore to fix it. Hope this will help you!
Go to your Xampp folder > htdocs > mageto2 > app > etc and find “di.xml” file
access C:\xampp\htdocs\magento2\app\etc and find di.xml
Click right mouse button at “di.xml” file and choose “edit with notepad++”
On Notepad++ window, scroll to the line “584” :
<item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink</item>
On the line 584, modify the word “Symlink” into “Copy” and save the file
Restart Apache and MySQL on XAMPP then access your localhost of Magento 2 website again and problem will be solved.
Your Magento website needs a powerful Magento ERP for stock control.
DON'T MISS THE CHANCE!