Cannot upload images to template

Plus d'informations
il y a 2 mois 3 semaines #173885 par blocka
blocka a créé le sujet : Cannot upload images to template
Using LS 3.14.8, build 180829 ...

When I go to a survey's Theme options, and try to upload new logo, I get the error message:

An error occurred uploading your file. This may be caused by incorrect permissions for the application /tmp folder.

I added a test.php to my site that executes:

$temp_file = tempnam(sys_get_temp_dir(), 'Tux');
echo $temp_file;

And I get the message: /home/account/public_html/tmp/TuxfRhvup and I can verify that the file is created in this temp folder correctly (and tmp has permissions 755)

php.ini has directive:
sys_temp_dir = "tmp"


But I cannot upload any images to my template -- I just get the error message reported above.

Can anyone shed light into what is the issue?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 3 semaines #173973 par blocka
blocka a répondu au sujet : Cannot upload images to template
I can add that via an individual survey's Resource manager, I can upload images okay, and through KCFinder when editting questions, uploads are okay.

Also, I have some Joomla and WordPress sites on the same server as LS, and those CMS also allow for file uploads okay.

It is only LS Themes that that seems to have issue with uploads.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 3 semaines #173978 par LouisGac
LouisGac a répondu au sujet : Cannot upload images to template
try by extending a theme first, then uploading the file for this theme.
Les utilisateur(s) suivant ont remercié: oretzl

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 3 semaines #174009 par blocka
blocka a répondu au sujet : Cannot upload images to template
And that completely solved the problem! Seems maybe that the error message about uploading could be expanded to check to see if the theme has been extended, and advise it has to be extended before you can upload new images.
Les utilisateur(s) suivant ont remercié: oretzl

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!