Check out the LimeSurvey source code on GitHub!

Fatal Error

More
5 years 6 months ago #64135 by WAWANSUR
I want install limesurvey 191. When i ran
Http://localhost/limesurvey/admin/install
i got this message
Fatal error : Call undefined function get_magic_quotes_gpc() in C:\Appserv\www\limesurvey\common_functions.php on line 3952

anybody help me?

Please Log in to join the conversation.

More
5 years 6 months ago #64145 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
5 years 6 months ago #64158 by WAWANSUR
Thanks Shnoulle,

I have clue from
http://www.php.net/manual/en/security.magicquotes.php

that PHP6 doesn't support the magic_quotes..

Magic Quotes are depreciated and going to be removed in PHP6.
If you still want your code to be portable, no warnings etc, as of PHP52 you can use the following code.

<?php
foreach ($_GET as $key => &$val) $val = filter_input(INPUT_GET, $key);

foreach ($_POST as $key => &$val) $val = filter_input(INPUT_POST, $key);
?>

The above will retrieve an-escaped GETs and POSTs regardless system settings. It can also be used for $_COOKIES and others.

Please Log in to join the conversation.

More
5 years 6 months ago #64159 by WAWANSUR
the problem now. should i change the script or PHP version? :huh:

Please Log in to join the conversation.

More
5 years 6 months ago #64160 by DenisChenu
Hello,

Actually, i think the best is to put a bug report.

In fact, we have to be PHP6 compatible....

After, you can change the script and wait for LS Update, or stay in PHP53

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
The following user(s) said Thank You: WAWANSUR

Please Log in to join the conversation.

More
5 years 6 months ago #64167 by WAWANSUR
for temporer solution, i back to PHP5..
thanks.

Please Log in to join the conversation.

More
5 years 6 months ago #64172 by DenisChenu
Please test if the problem still exists at the latest release . If so please open a ticket at the Bugtracker and...
  1. Give as much information as possible
  2. Attach your survey. You can mark your ticket "private" so that only the developers will be able to take a look at it.
  3. Provide step-by-step instructions how to reproduce the problem.
  4. If possible/helpful please provide screenshots

Afterwards please post the link to the Bugtracker so we can follow the progress.

Thanks!

;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
5 years 6 months ago #64213 by WAWANSUR
Shnoulle,

I used the latest release when this problem happened.
I have posted it in Bugtracker.

Thx
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
5 years 6 months ago #64217 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form