Welcome, Guest
Username: Password: Remember me

TOPIC: Email Templates 403 permission denied

Email Templates 403 permission denied 1 year 7 months ago #110145

  • lordg
  • lordg's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hi All!
Having an issue with emailtemplate saves and getting a 403 error. Checked all permissions for the tmp, templates, and upload folders. They are all 777. Url path is "/survey/index.php/admin/emailtemplates/sa/update/surveyid/588331".

Any ideas as to what else the issue would be?

Thanks,
G
The administrator has disabled public write access.

Email Templates 403 permission denied 1 year 7 months ago #110160

  • lordg
  • lordg's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
It seems I found the issue.

If I clear the fields (subject and body) and save, it saves!

If I set the subject to a single string value, like "abc", and the body to nothing and save, it saves!

If I set the subject to a single string value, like "abc", and the body to "abc" and save, it saves!

If I set the subject to a single string value, like "abc", and the body to "<p>abc</p>" and save, it saves!

If I set the subject to a single string value, like "abc", and the body to "<p>abc</p><p>abc</p>" and save, it dose NOT save!

So it seems that my html code, which contains tables, paragraphs, etc, is not being saved for possibly the same reason the last test above didn't.
The administrator has disabled public write access.

Email Templates 403 permission denied 1 year 7 months ago #110167

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 920
  • Thank you received: 131
  • Karma: 96
I doubt it is a LimeSurvey issue but rather a server issue. Maybe your server has mod_security installed or similar.
Best regards

Carsten Schmitz
LimeSurvey project leader
The administrator has disabled public write access.

Email Templates 403 permission denied 1 year 7 months ago #110168

  • lordg
  • lordg's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
How would mod_security cause the final test to fail vs the others though?
The administrator has disabled public write access.

Email Templates 403 permission denied 1 year 7 months ago #110173

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 920
  • Thank you received: 131
  • Karma: 96
Maybe it does not allow to post certain HTML using some rule.
Best regards

Carsten Schmitz
LimeSurvey project leader
The administrator has disabled public write access.

Email Templates 403 permission denied 1 year 7 months ago #110176

  • lordg
  • lordg's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
I guess the best way to test this is see if it is reaching lime or not. If it is, issue is within lime, if not, then probably issue with apache as you say.
The administrator has disabled public write access.

Email Templates 403 permission denied 3 months 2 weeks ago #127702

  • AfroViking
  • AfroViking's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
:laugh: I finally found a solution to this afther searching all the forums i could find... For me it was in the cpanel that I had added a no direct acces limitation to certan files. Removing this and all works. Hope it healps other people!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.191 seconds