Email Templates 403 permission denied

More
3 years 3 months ago #110145 by lordg
lordg created the topic: Email Templates 403 permission denied
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

Please Log in to join the conversation.

More
3 years 3 months ago #110160 by lordg
lordg replied the topic: Email Templates 403 permission denied
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.

Please Log in to join the conversation.

More
3 years 3 months ago #110167 by c_schmitz
c_schmitz replied the topic: Email Templates 403 permission denied
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

Please Log in to join the conversation.

More
3 years 3 months ago #110168 by lordg
lordg replied the topic: Email Templates 403 permission denied
How would mod_security cause the final test to fail vs the others though?

Please Log in to join the conversation.

More
3 years 3 months ago #110173 by c_schmitz
c_schmitz replied the topic: Email Templates 403 permission denied
Maybe it does not allow to post certain HTML using some rule.

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
3 years 3 months ago #110176 by lordg
lordg replied the topic: Email Templates 403 permission denied
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.

Please Log in to join the conversation.

More
1 year 11 months ago #127702 by AfroViking
AfroViking replied the topic: Email Templates 403 permission denied
: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!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now