Subquestions not showing in Edit Subquestions panel

More
2 months 3 weeks 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.

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
2 months 3 weeks ago - 2 months 3 weeks ago #191490 by Ruif
I get the following error:

Function get_magic_quotes_gpc() is deprecated

....htdocs/vragenlijst/framework/web/CHttpRequest.php(130)
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: 2 months 3 weeks ago by Ruif.

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago #191491 by Ruif
Reverting to php 7.3 solves the problem!!

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks 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

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks 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

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks 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

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks 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'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks 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

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago #191561 by Ruif
The following user(s) said Thank You: holch

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks 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'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!