Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Subquestions not showing in Edit Subquestions panel

  • Ruif
  • Ruif's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 4 months ago #191487 by Ruif
Subquestions are not showing in the Edit Subquestions panel on production site. Same for anwers.
The subquestions are there, because they show-up in the question.
The odd thing is that when I export the survey and import it on my local machine everything seems to work OK.

The only important difference I can see is the php version: PHP 7.4 on the production site and php 7.1 on my l;ocal machine.
The topic has been locked.
  • Ruif
  • Ruif's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 4 months ago - 4 years 4 months ago #191490 by Ruif
I get the following error:

Function get_magic_quotes_gpc() is deprecated

....htdocs/vragenlijst/framework/web/CHttpRequest.php(130)
Code:
118         parent::init();
119         $this->normalizeRequest();
120     }
121 
122     /**
123      * Normalizes the request data.
124      * This method strips off slashes in request data if get_magic_quotes_gpc() returns true.
125      * It also performs CSRF validation if {@link enableCsrfValidation} is true.
126      */
127     protected function normalizeRequest()
128     {
129         // normalize request
130         if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
131         {
132             if(isset($_GET))
133                 $_GET=$this->stripSlashes($_GET);
134             if(isset($_POST))
135                 $_POST=$this->stripSlashes($_POST);
136             if(isset($_REQUEST))
137                 $_REQUEST=$this->stripSlashes($_REQUEST);
138             if(isset($_COOKIE))
139                 $_COOKIE=$this->stripSlashes($_COOKIE);
140         }
141 
142         if($this->enableCsrfValidation)
 
Last edit: 4 years 4 months ago by Ruif.
The topic has been locked.
  • Ruif
  • Ruif's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 4 months ago #191491 by Ruif
Reverting to php 7.3 solves the problem!!
The topic has been locked.
More
4 years 4 months ago #191500 by jelo
You didn't state what exact version of LimeSurvey you use.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • Ruif
  • Ruif's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 4 months ago #191522 by Ruif
This is not the most customer frienly reaction. Just look in the mentioned file in your latest release. Get ready for php 7.4!!

See:
bugs.limesurvey.org/view.php?id=15620
The topic has been locked.
More
4 years 4 months ago #191524 by jelo

Ruif wrote: This is not the most customer frienly reaction.

You are not my customer ;-) I'm a user of LimeSurvey and I'm not reacting on behave of anyone.

I asked for the version of LimeSurvey to get ready to submit a bugreport.
As I see you already did that. Thanks.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 4 months ago #191557 by holch

This is not the most customer frienly reaction. Just look in the mentioned file in your latest release. Get ready for php 7.4!!


And this is not the friendliest reaction to a volunteer of a OSS project trying to help you on his spare time. ;-)

Jelo is a user just like you and me. He is not getting paid for doing this. Not by you, not by anyone from this forum. He was just trying to get the version of LS you are using, as this can be relevant to your problem.

And websoftware often does not work with the latest version of PHP. And if I read www.php.net/releases/index.php correctly, then PHP 7.4 hasn't even been officially released yet.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
4 years 4 months ago #191560 by jelo

holch wrote: And if I read www.php.net/releases/index.php correctly, then PHP 7.4 hasn't even been officially released yet.

Correct, the GA of PHP 7.4 is planned for 28th Nov 2019 ;-)

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • Ruif
  • Ruif's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 4 months ago #191561 by Ruif
My apologies
The following user(s) said Thank You: holch
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 4 months ago #191563 by holch

Correct, the GA of PHP 7.4 is planned for 28th Nov 2019

Yep, found this in some articles later. But it is still not 28th of November. At least not here. Not even in Germany. Maybe in Australia and Japan. ;-)

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 4 months ago #191658 by DenisChenu
A lot of Forum user think holch, jelo, tparner … (or me) are from LimeSurvey GMBH.

It's false : it's a managed by member forum ;)

@jelo : adding «I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time.» like @holch can help.

PS : @Ruif thanks for reporting the issue

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose