Cannot upload images to template

Mehr
2 Monate 6 Tage her #173885 von blocka
blocka erstellte das Thema 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?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 3 Tage her #173973 von blocka
blocka antwortete auf das Thema: 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.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 3 Tage her #173978 von LouisGac
LouisGac antwortete auf das Thema: Cannot upload images to template
try by extending a theme first, then uploading the file for this theme.
Folgende Benutzer bedankten sich: oretzl

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 3 Tage her #174009 von blocka
blocka antwortete auf das Thema: 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.
Folgende Benutzer bedankten sich: oretzl

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha