- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
symlink(): Cannot create symlink, error code(1314)
- JamLizzy101
- Topic Author
- Offline
- New Member
Less
More
7 years 4 months ago - 7 years 4 months ago #145459
by JamLizzy101
symlink(): Cannot create symlink, error code(1314) was created by JamLizzy101
Hi
I'm trying to install LimeSurvey on Windows hosting, but I have stumbled into the following error for installation:-
Internal Server Error
symlink(): Cannot create symlink, error code(1314)
An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.
Thank you.
It seems permissions based.
There is this function called symlink() in /limesurvey/framework/web/CAssetManager.php on line 243 that seems to be utilizing these folders:-
\home\jn-devsite.com\wwwroot\limesurvey\third_party\jquery
\home\jn-devsite.com\wwwroot\limesurvey\tmp\assets\bd57646a
\home\jn-devsite.com\wwwroot\limesurvey\third_party\jqueryui
\home\jn-devsite.com\wwwroot\limesurvey\tmp\assets\bf6dab84
\home\jn-devsite.com\wwwroot\limesurvey\third_party\fontawesome
\home\jn-devsite.com\wwwroot\limesurvey\tmp\assets\ba340ac4
\home\jn-devsite.com\wwwroot\limesurvey\application\extensions\bootstrap
\home\jn-devsite.com\wwwroot\limesurvey\tmp\assets\8051338c
\home\jn-devsite.com\wwwroot\limesurvey\application\extensions\bootstrap\assets
\home\jn-devsite.com\wwwroot\limesurvey\tmp\assets\7559c168
Has anybody encountered this before and does one know how to fix this?
I read up a little on the search engines and they mentioned disabling the LinkAssets option, but am unsure where that is...
I'm trying to install LimeSurvey on Windows hosting, but I have stumbled into the following error for installation:-
Internal Server Error
symlink(): Cannot create symlink, error code(1314)
An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.
Thank you.
It seems permissions based.
There is this function called symlink() in /limesurvey/framework/web/CAssetManager.php on line 243 that seems to be utilizing these folders:-
\home\jn-devsite.com\wwwroot\limesurvey\third_party\jquery
\home\jn-devsite.com\wwwroot\limesurvey\tmp\assets\bd57646a
\home\jn-devsite.com\wwwroot\limesurvey\third_party\jqueryui
\home\jn-devsite.com\wwwroot\limesurvey\tmp\assets\bf6dab84
\home\jn-devsite.com\wwwroot\limesurvey\third_party\fontawesome
\home\jn-devsite.com\wwwroot\limesurvey\tmp\assets\ba340ac4
\home\jn-devsite.com\wwwroot\limesurvey\application\extensions\bootstrap
\home\jn-devsite.com\wwwroot\limesurvey\tmp\assets\8051338c
\home\jn-devsite.com\wwwroot\limesurvey\application\extensions\bootstrap\assets
\home\jn-devsite.com\wwwroot\limesurvey\tmp\assets\7559c168
Has anybody encountered this before and does one know how to fix this?
I read up a little on the search engines and they mentioned disabling the LinkAssets option, but am unsure where that is...
Last edit: 7 years 4 months ago by JamLizzy101. Reason: Adding extra info
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13645
- Thank you received: 2491
7 years 4 months ago #145465
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic symlink(): Cannot create symlink, error code(1314)
? What version did you use ?
Because symling creation was disabled in our stable version (in general).
Because symling creation was disabled in our stable version (in general).
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- JamLizzy101
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
7 years 4 months ago #145475
by JamLizzy101
Replied by JamLizzy101 on topic symlink(): Cannot create symlink, error code(1314)
Hi
This version is 2.57
I found that the setting for LinkAssets was set to false
I could comment out: symlink($src,$dstDir); on line 243 and it shows the installation, but that's probably going to have dire consequences on this I'm sure...
This version is 2.57
I found that the setting for LinkAssets was set to false
I could comment out: symlink($src,$dstDir); on line 243 and it shows the installation, but that's probably going to have dire consequences on this I'm sure...
The topic has been locked.
- LouisGac
- Visitor
7 years 4 months ago - 7 years 4 months ago #145485
by LouisGac
Replied by LouisGac on topic symlink(): Cannot create symlink, error code(1314)
Sorry, on of the dev broke it.
For now, just remove that line (or set it to false):
github.com/LimeSurvey/LimeSurvey/blob/ma..._Application.php#L87
we'll fix it in next release
For now, just remove that line (or set it to false):
github.com/LimeSurvey/LimeSurvey/blob/ma..._Application.php#L87
we'll fix it in next release
Last edit: 7 years 4 months ago by LouisGac.
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13645
- Thank you received: 2491
7 years 4 months ago - 7 years 4 months ago #145491
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic symlink(): Cannot create symlink, error code(1314)
Hi,
github.com/LimeSurvey/LimeSurvey/commit/...866d21e17de82bcf49c8 :)
but
github.com/LimeSurvey/LimeSurvey/commit/...b539f6173071a28c9a63
and
github.com/LimeSurvey/LimeSurvey/commit/...58497e32010477acddb8
github.com/LimeSurvey/LimeSurvey/commit/...866d21e17de82bcf49c8 :)
but
github.com/LimeSurvey/LimeSurvey/commit/...b539f6173071a28c9a63
and
github.com/LimeSurvey/LimeSurvey/commit/...58497e32010477acddb8
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 7 years 4 months ago by DenisChenu.
The topic has been locked.
- LouisGac
- Visitor
7 years 4 months ago - 7 years 4 months ago #145492
by LouisGac
Replied by LouisGac on topic symlink(): Cannot create symlink, error code(1314)
yes I've seen that. He just commented and uncommented the same line, so he probably thought he inactivate it, but he didn't :silly:
Last edit: 7 years 4 months ago by LouisGac.
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13645
- Thank you received: 2491
7 years 4 months ago #145493
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic symlink(): Cannot create symlink, error code(1314)
I put the comment : config.php is done for this.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- JamLizzy101
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
7 years 4 months ago - 7 years 4 months ago #145504
by JamLizzy101
Replied by JamLizzy101 on topic symlink(): Cannot create symlink, error code(1314)
Hi there. You mentioned I should remove a line?
Which line are you referring to?
I also added 'linkAssets'=>false to the following line of code in application\config\internal.php :-
'assetManager' => array(
'excludeFiles' => array("config.xml", "assessment.pstpl", "clearall.pstpl", "completed.pstpl", "endgroup.pstpl", "endpage.pstpl", "groupdescription.pstpl", "load.pstpl", "navigator.pstpl", "printanswers.pstpl", "print_group.pstpl", "print_question.pstpl", "print_survey.pstpl", "privacy.pstpl", "question.pstpl", "register.pstpl", "save.pstpl", "startgroup.pstpl", "startpage.pstpl", "surveylist.pstpl", "survey.pstpl", "welcome.pstpl" ),
'baseUrl' => '/tmp/assets',
'basePath'=> dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'tmp'.DIRECTORY_SEPARATOR.'assets',
),
It didn't work. Should that now be taken out?
Which line are you referring to?
I also added 'linkAssets'=>false to the following line of code in application\config\internal.php :-
'assetManager' => array(
'excludeFiles' => array("config.xml", "assessment.pstpl", "clearall.pstpl", "completed.pstpl", "endgroup.pstpl", "endpage.pstpl", "groupdescription.pstpl", "load.pstpl", "navigator.pstpl", "printanswers.pstpl", "print_group.pstpl", "print_question.pstpl", "print_survey.pstpl", "privacy.pstpl", "question.pstpl", "register.pstpl", "save.pstpl", "startgroup.pstpl", "startpage.pstpl", "surveylist.pstpl", "survey.pstpl", "welcome.pstpl" ),
'baseUrl' => '/tmp/assets',
'basePath'=> dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'tmp'.DIRECTORY_SEPARATOR.'assets',
),
It didn't work. Should that now be taken out?
Last edit: 7 years 4 months ago by JamLizzy101. Reason: adding extra info
The topic has been locked.
- LouisGac
- Visitor
7 years 4 months ago #145505
by LouisGac
Replied by LouisGac on topic symlink(): Cannot create symlink, error code(1314)
yes we update the code, so the link is no more valid.
Remove this line:
github.com/LimeSurvey/LimeSurvey/blob/11..._Application.php#L87
Remove this line:
github.com/LimeSurvey/LimeSurvey/blob/11..._Application.php#L87
The topic has been locked.
- JamLizzy101
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
7 years 4 months ago #145508
by JamLizzy101
Replied by JamLizzy101 on topic symlink(): Cannot create symlink, error code(1314)
Ok. That definitely had got it working. I can run through the installation now
The topic has been locked.