Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : Settings page unable to submit/page redirects when fields include html elements

Settings page unable to submit/page redirects when fields include html elements il y a 1 an 4 mois #89236

  • ewohwerd
  • Portrait de ewohwerd
  • Hors ligne
  • Fresh Lemon
  • Messages : 5
  • Karma: 0
Forgive any existing articles that might be an oversight here.

I recently installed limesurvey via a cpanel tool on a site that is also running wordpress. I can get more technical details but that's about all I can comprehend on my own at this point.

If I leave the inline html editor enabled, any time I try to submit a page (for instance, the main survey text fields settings for description, welcome message, etc.), clicking submit results in a redirect to my site's top directory, and the page is not submitted correctly.

I turned off the inline html editor, and everything is fine. It doesn't seem to be the editor itself, though, because if I add an html element in one of the plain text fields (just a "<br/>" or the like), I run into the same error.

So my guess is this is some obscure PHP permissions issue or other error-- hopefully this is an easy to recognize and common issue, but I have no idea where to start.
L'administrateur a désactivé l'accès en écriture pour le public.

Aw: Settings page unable to submit/page redirects when fields include html elements il y a 1 an 4 mois #89241

  • jelo
  • Portrait de jelo
  • Hors ligne
  • Platinum Lime
  • Messages : 389
  • Remerciements reçus 40
  • Karma: 15
Is the content of the textfields relevant? Is the problem occuring, even when you just try to save one character? Or only with certain content?

Are you having root access to WHM/Cpanel? Or are you just haven access to the Cpanel Part? I would be on ModSecurity Rules or Suhosin settings.
Without error logs it is hard to find the real issue?

Guess you are using Installtron or Fantastico to install Limesurvey. They may have an old version. I would try to install by hand to ensure a clean installation.
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Aw: Settings page unable to submit/page redirects when fields include html elements il y a 1 an 4 mois #89243

  • ewohwerd
  • Portrait de ewohwerd
  • Hors ligne
  • Fresh Lemon
  • Messages : 5
  • Karma: 0
The content does seem to matter. I am able to submit plan text without problems, seemingly without a character limit. As soon as I add special characters (it seems < or / may do the trick), that's when I get a redirect and saving changes fails.

The installer was softaculous -- and I have updated with the latest builds as prompted. The initial install happened about two weeks ago or so, so that was my initial install.

I do have full access to cpanel, but I'm not entirely sure what I'm looking for. I'll see what access logs have to say. THanks for your help-- please send along any other advice based on the additional details above.
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Aw: Settings page unable to submit/page redirects when fields include html elements il y a 1 an 4 mois #89245

  • ewohwerd
  • Portrait de ewohwerd
  • Hors ligne
  • Fresh Lemon
  • Messages : 5
  • Karma: 0
To add additional detail, it looks like it's 404'ing out on some requests for some reason...

"GET /survey/index.php/survey/index.php/admin/database/index/updatesurveylocalesettings HTTP/1.1" 404 1192

However, I am seeing some successful 302 codes for posts to the same location.

I just went and tried submitting a field with some <>'s, and it worked fine. "/" seems to be the problem.
Dernière édition: il y a 1 an 4 mois par ewohwerd.
L'administrateur a désactivé l'accès en écriture pour le public.

Aw: Re: Aw: Settings page unable to submit/page redirects when fields include html elements il y a 1 an 4 mois #89247

  • jelo
  • Portrait de jelo
  • Hors ligne
  • Platinum Lime
  • Messages : 389
  • Remerciements reçus 40
  • Karma: 15
Since Cpanel / WHM is used often in the same way I have to ask again:
Do you have acces to WHM and EasyApache? Do you know how to compile an Apache via the WHM/Cpanel Gui.

I think your problem come from an ModSecurity Rule which needs to be deactivated for your account. This problem is often posted in this forum.
E.g. www.limesurvey.org/de/forum/installation...sues/88981-404-error

If you have an Admin/Provider which provides the CPanel account ask them about problems with certain php scripts and mod security. Would be nice if you could find out which rule causes the problem. You admin/provider can tell you.
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Aw: Re: Aw: Settings page unable to submit/page redirects when fields include html elements il y a 1 an 4 mois #89272

  • ewohwerd
  • Portrait de ewohwerd
  • Hors ligne
  • Fresh Lemon
  • Messages : 5
  • Karma: 0
Thanks so much for your help-- it was indeed a mod_security issue. What masked the problem for me was my site settings were also redirecting on 404 so it took looking at sitelogs to confirm what exactly was happening.
L'administrateur a désactivé l'accès en écriture pour le public.

Aw: Re: Aw: Re: Aw: Settings page unable to submit/page redirects when fields include html elements il y a 1 an 4 mois #89280

  • jelo
  • Portrait de jelo
  • Hors ligne
  • Platinum Lime
  • Messages : 389
  • Remerciements reçus 40
  • Karma: 15
Could you tell us which rule was causing the trouble. Most rulesets have id numbers to easily identify the rule. Thanks.
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Aw: Re: Aw: Re: Aw: Settings page unable to submit/page redirects when fields include html elements il y a 1 an 4 mois #89281

  • ewohwerd
  • Portrait de ewohwerd
  • Hors ligne
  • Fresh Lemon
  • Messages : 5
  • Karma: 0
Unfortunately the admin did not specify what the change was. Thanks.
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.124 secondes
Donation Image