Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: Saving Changes To A Template

Saving Changes To A Template 8 Monate 1 Tag her #101817

  • zgall1
  • zgall1s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Saving Changes To A Template 8 Monate 1 Tag her #101824

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4049
  • Dank erhalten: 739
  • Karma: 341
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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: zgall1

Saving Changes To A Template 8 Monate 20 Stunden her #101839

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6192
  • Dank erhalten: 786
  • Karma: 238
Hi,

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

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Saving Changes To A Template 8 Monate 8 Stunden her #101878

  • zgall1
  • zgall1s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Saving Changes To A Template 7 Monate 4 Wochen her #101898

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6192
  • Dank erhalten: 786
  • Karma: 238
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: zgall1

Saving Changes To A Template 7 Monate 3 Wochen her #102014

  • zgall1
  • zgall1s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Saving Changes To A Template 7 Monate 3 Wochen her #102150

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6192
  • Dank erhalten: 786
  • Karma: 238
Don't have anothger idea :
Please trye to look at your server erro log to see what can happened.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Saving Changes To A Template 6 Monate 6 Tage her #103577

  • LloydW
  • LloydWs Avatar
  • OFFLINE
  • Gold Donor
  • Beiträge: 32
  • Dank erhalten: 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?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Saving Changes To A Template 6 Monate 6 Tage her #103579

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6192
  • Dank erhalten: 786
  • Karma: 238
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
Letzte Änderung: 6 Monate 6 Tage her von DenisChenu. Begründung: some server need 700 rigth, some other 744 etc ... contact your hoster
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Saving Changes To A Template 6 Monate 6 Tage her #103590

  • LloydW
  • LloydWs Avatar
  • OFFLINE
  • Gold Donor
  • Beiträge: 32
  • Dank erhalten: 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.
Letzte Änderung: 6 Monate 6 Tage her von LloydW.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Moderatoren: ITEd
Ladezeit der Seite: 0.161 Sekunden
Donation Image