- Posts: 7
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Problem with the generation of assets in tmp
- florianfish
- Topic Author
- Offline
- New Member
Less
More
7 years 4 months ago #145473
by florianfish
Problem with the generation of assets in tmp was created by florianfish
Hello, i do an update to the last version, and after the assets have problem, with firebug it says 403 forbidden for css, js and img.
I have tested to do a new installation and i have the same problem. I have the same problem in the installer !
Help me pleasse ! I hosted limesurvey on OVH mutualisé.
I have tested to do a new installation and i have the same problem. I have the same problem in the installer !
Help me pleasse ! I hosted limesurvey on OVH mutualisé.
The topic has been locked.
- LouisGac
- Visitor
7 years 4 months ago #145480
by LouisGac
Replied by LouisGac on topic Problem with the generation of assets in tmp
Here my bet:
You set the tmp folder to use the OVH one, which is not accessible from web navigation.
You should set the tmp directory inside your web directory.
You set the tmp folder to use the OVH one, which is not accessible from web navigation.
You should set the tmp directory inside your web directory.
The topic has been locked.
- florianfish
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
7 years 4 months ago #145481
by florianfish
Replied by florianfish on topic Problem with the generation of assets in tmp
Here is the tmp folder, is normally accessible from the web :
a-p-c-t.fr/enquetes/tmp/
I don't understand how to resolve that... Everything worked well before the comfort update
Thanks,
I don't understand how to resolve that... Everything worked well before the comfort update
Thanks,
The topic has been locked.
- LouisGac
- Visitor
7 years 4 months ago #145482
by LouisGac
Replied by LouisGac on topic Problem with the generation of assets in tmp
a-p-c-t.fr/enquetes/tmp/assets/3da0f2cd/...font-awesome.min.css
Forbidden
probably just a right permission problem (mode on file system, or apache configuration)
Forbidden
probably just a right permission problem (mode on file system, or apache configuration)
The topic has been locked.
- florianfish
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
7 years 4 months ago #145483
by florianfish
Replied by florianfish on topic Problem with the generation of assets in tmp
When i set directory permission recursive to tmp, it says error for the symbolik link inside...
The topic has been locked.
- LouisGac
- Visitor
7 years 4 months ago - 7 years 4 months ago #145484
by LouisGac
Replied by LouisGac on topic Problem with the generation of assets in tmp
normally, you should fix that by changing the apache conf. But you can't do it on a OVH mutualisé.
How is that you have simlinks in tmp ? Normally, by default, asset manager copy the assets. There is a special setting to force it to symlinks.
In application/config/internal.php:
github.com/LimeSurvey/LimeSurvey/blob/ma...ternal.php#L107-L111
try to add:
'linkAssets'=>false
How is that you have simlinks in tmp ? Normally, by default, asset manager copy the assets. There is a special setting to force it to symlinks.
In application/config/internal.php:
github.com/LimeSurvey/LimeSurvey/blob/ma...ternal.php#L107-L111
try to add:
'linkAssets'=>false
Last edit: 7 years 4 months ago by LouisGac.
The topic has been locked.
- florianfish
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
7 years 4 months ago #145486
by florianfish
Replied by florianfish on topic Problem with the generation of assets in tmp
i tried it, but i have the same result. Symbolic link are created not they are forbidden when publicly acces...
The topic has been locked.
- LouisGac
- Visitor
7 years 4 months ago #145487
by LouisGac
Replied by LouisGac on topic Problem with the generation of assets in tmp
ok can you check what directory is a symbolic link? Is it the tmp folder itself? or the asset directories in it?
The topic has been locked.
- florianfish
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
7 years 4 months ago #145488
by florianfish
Replied by florianfish on topic Problem with the generation of assets in tmp
Ideally, it would copy the assets without making a symbolic link
The topic has been locked.
- LouisGac
- Visitor
7 years 4 months ago - 7 years 4 months ago #145489
by LouisGac
Replied by LouisGac on topic Problem with the generation of assets in tmp
No it's ok, I get it....
Markus did a push that broke it :silly:
For now, just remove that line (or set it to false):
///https://github.com/LimeSurvey/LimeSurvey/blob/master/application/core/LSYii_Application.php#L87
Links no more valid. Remove:
github.com/LimeSurvey/LimeSurvey/blob/11..._Application.php#L87
It will be fixed in next release
Markus did a push that broke it :silly:
For now, just remove that line (or set it to false):
///https://github.com/LimeSurvey/LimeSurvey/blob/master/application/core/LSYii_Application.php#L87
Links no more valid. Remove:
github.com/LimeSurvey/LimeSurvey/blob/11..._Application.php#L87
It will be fixed in next release
Last edit: 7 years 4 months ago by LouisGac.
The topic has been locked.
- florianfish
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
7 years 4 months ago #145490
by florianfish
Replied by florianfish on topic Problem with the generation of assets in tmp
show the attachment
Attachments:
The topic has been locked.
- florianfish
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 1
7 years 4 months ago #145494
by florianfish
Replied by florianfish on topic Problem with the generation of assets in tmp
Thank you Markus for losing a half day You owe me a beer: p
The following user(s) said Thank You: LouisGac
The topic has been locked.