Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi
  • Page :
  • 1
  • 2

SUJET : Saving Changes To A Template

Saving Changes To A Template il y a 4 mois 4 semaines #101817

  • zgall1
  • Portrait de zgall1
  • Hors ligne
  • Fresh Lemon
  • Messages : 10
  • Karma: 0
I am trying to make changes to a template but when I try to save changes, I receive the following error:
Forbidden

You don't have permission to access /survey2/index.php/admin/templates/sa/templatesavechanges on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to > handle the request.

When I look in the templates folder, I do not see the templates I have created even though they are visible from within the LimeSurvey administration panel. Does anyone know how I can fix this error?
L'administrateur a désactivé l'accès en écriture pour le public.

Saving Changes To A Template il y a 4 mois 4 semaines #101824

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 3813
  • Remerciements reçus 683
  • Karma: 328
The custom templates are in the /upload/templates directory. I would check the permissions for that directory.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
L'administrateur a désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: zgall1

Saving Changes To A Template il y a 4 mois 4 semaines #101839

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 5854
  • Remerciements reçus 716
  • Karma: 222
Hi,

And there can be another problem with your server. Check if this hapen for template.css file too.

Denis
L'administrateur a désactivé l'accès en écriture pour le public.

Saving Changes To A Template il y a 4 mois 4 semaines #101878

  • zgall1
  • Portrait de zgall1
  • Hors ligne
  • Fresh Lemon
  • Messages : 10
  • Karma: 0
tpartner - All of the sub-folders within the upload/templates directory have been assigned write permission but yet I still cannot save changes. I have also tried to adjust the permissions of folders that are higher within the hierarchy but I haven't had any luck.

DenisChenu - The changes I am trying to make are to the template.css file. Can you elaborate on what the problem with my server might be?
L'administrateur a désactivé l'accès en écriture pour le public.

Saving Changes To A Template il y a 4 mois 3 semaines #101898

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 5854
  • Remerciements reçus 716
  • Karma: 222
It's a problem with some server with specific security : if file have <script> inside : launch error.

Did you set execute permiison on folder too ?

Denis
L'administrateur a désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: zgall1

Saving Changes To A Template il y a 4 mois 3 semaines #102014

  • zgall1
  • Portrait de zgall1
  • Hors ligne
  • Fresh Lemon
  • Messages : 10
  • Karma: 0
DenisChenu - I set the execute permission on every folder that could possibly be related to the template and it was not successful.
L'administrateur a désactivé l'accès en écriture pour le public.

Saving Changes To A Template il y a 4 mois 2 semaines #102150

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 5854
  • Remerciements reçus 716
  • Karma: 222
Don't have anothger idea :
Please trye to look at your server erro log to see what can happened.

Denis
L'administrateur a désactivé l'accès en écriture pour le public.

Saving Changes To A Template il y a 3 mois 4 jours #103577

  • LloydW
  • Portrait de LloydW
  • Hors ligne
  • Gold Donor
  • Messages : 32
  • Remerciements reçus 1
  • Karma: 0
I'm getting the same error - logged in as either admin or a superuser.
I've checked all the permissions for the relevant directories & they are 775 or 777.

The check of the error log comes back with:
[Thu Jan 16 17:29:52 2014] [error] [client 124.170.94.71] File does not exist: /home/techlife/public_html/403.shtml, referer: www.tech4life.com.au/surveys/index.php/a...ame/lloyd_accessible

So as far as the server seems to be saying the problem is that it does not have a html error file - not about permissions for the template.

Any other ideas?
L'administrateur a désactivé l'accès en écriture pour le public.

Saving Changes To A Template il y a 3 mois 4 jours #103579

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 5854
  • Remerciements reçus 716
  • Karma: 222
Did you try another file ?

Best is to test with:
- template.css : if it don't work : it's a rigth issue on your server : we can not fix this server issue
- If ok with template.css, but not with pstpl file : look at this pstpl if there are some <script> tag inside. Is yes : try to remobe it. If OK : server issue.

PS : some server need 700 rigth, some other 744 etc ... contact your hoster
Dernière édition: il y a 3 mois 4 jours par DenisChenu. Raison: some server need 700 rigth, some other 744 etc ... contact your hoster
L'administrateur a désactivé l'accès en écriture pour le public.

Saving Changes To A Template il y a 3 mois 4 jours #103590

  • LloydW
  • Portrait de LloydW
  • Hors ligne
  • Gold Donor
  • Messages : 32
  • Remerciements reçus 1
  • Karma: 0
OK Denis the template.css gave the same error.

But what I don't understand is how Limesurvey can import a new template (or even create a new one which I just did) and it is stored in that directory and there are no errors. I can successfully edit using a 'notepad' type application on the server - also no problems.

Only when I try to save from the TemplateEditor.

Seems an odd one to me.
Dernière édition: il y a 3 mois 4 jours par LloydW.
L'administrateur a désactivé l'accès en écriture pour le public.
  • Page :
  • 1
  • 2
Modérateurs: ITEd
Temps de génération de la page : 0.152 secondes
Donation Image