Magento 2: Cannot create symlink, error code(1314)

The issue with the CSs/JS/Images not loading on the Magento2 frontend and admin side. I I I I have installed the Magento2 on xampp. The soultion for this is:

Open the xampp control with Administrator priviligies and start the Apache server, this solved the symlink problem with xampp and windows. Right click on the xampp icon and seklect the option “Run as Administrator”

REF: symlink(): Cannot create symlink, error code(1314) #81

Go to file app/etc/di.xml
Find out the below code part

Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink
Magento\Framework\App\View\Asset\MaterializationStrategy\Copy

Replace this with below:

Magento\Framework\App\View\Asset\MaterializationStrategy\Copy
Magento\Framework\App\View\Asset\MaterializationStrategy\Copy

Advertisements
Magento 2: Cannot create symlink, error code(1314)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s