vova07 / yii2-start

Yii2-Start application
Other
273 stars 115 forks source link

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

Closed auzankyu closed 9 years ago

auzankyu commented 9 years ago

hello im using windows and xampp to install yii2-start

why i have error code 1314 ?

vova07 commented 9 years ago

I'm not sure how to fix this problem for Windows XAMPP, but in OpenServer this problem can be fixed by running the server as administrator, however if this is not possible you simple can disable symlink here by writing linkAssets => false.

auzankyu commented 9 years ago

thanks vova it's work for me by disable symlink :) solved !

auzankyu commented 9 years ago

how can we use gii on the backend ?

vova07 commented 9 years ago

You are welcome!

vova07 commented 9 years ago

The same like on frontend. /backend/gii/default/index/

gopalkohli commented 9 years ago

On IIS (Internet Information Services), you need to set permissions to allow the creation of symbolic links.

Go to Local Security Policy -> Local Policies -> User Rights Assignment and right click on Create symbolic links -> Properties -> Add User or Group and add the "IUSR" user, which should be the user associated with IIS. A restart may be required.

If this doesn't work, go to IIS Manager -> Authentication -> select Anonymous Authentication -> Edit and enter your current logged in user, which should be an administrator. Hit OK and now the symlink() function in php should work fine.

pafcosta commented 9 years ago

With EasyPHP, I started the server as "execute as administrator". It worked.

jcfiorenzano commented 9 years ago

open the xampp control with administrator priviligies and start the apache server, this solved the symlink problem with xampp and windows

yonifine commented 9 years ago

@jcfiorenzano thanks man! simple and clean. it worked!

LeGlAndrelGend commented 8 years ago

Thank you very much! I started my xampp by administrator.

bogvsdev commented 7 years ago

thanks! Launching as administrator works just fine!

mhl130 commented 7 years ago

thanks