Welcome, Guest
Username: Password: Remember me

TOPIC: Fatal Error

Fatal Error 2 years 11 months ago #64135

  • WAWANSUR
  • WAWANSUR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Thank you received: 1
  • Karma: 1
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?
The administrator has disabled public write access.

Re: Fatal Error 2 years 11 months ago #64145

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 6222
  • Thank you received: 791
  • Karma: 238
The administrator has disabled public write access.

Re: Fatal Error 2 years 11 months ago #64158

  • WAWANSUR
  • WAWANSUR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Thank you received: 1
  • Karma: 1
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.
The administrator has disabled public write access.

Re: Fatal Error 2 years 11 months ago #64159

  • WAWANSUR
  • WAWANSUR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Thank you received: 1
  • Karma: 1
the problem now. should i change the script or PHP version? :huh:
The administrator has disabled public write access.

Re: Fatal Error 2 years 11 months ago #64160

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 6222
  • Thank you received: 791
  • Karma: 238
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
The administrator has disabled public write access.
The following user(s) said Thank You: WAWANSUR

Re: Fatal Error 2 years 11 months ago #64167

  • WAWANSUR
  • WAWANSUR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Thank you received: 1
  • Karma: 1
for temporer solution, i back to PHP5..
thanks.
The administrator has disabled public write access.

Re: Fatal Error 2 years 11 months ago #64172

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 6222
  • Thank you received: 791
  • Karma: 238
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!

;)
The administrator has disabled public write access.

Re: Fatal Error 2 years 11 months ago #64213

  • WAWANSUR
  • WAWANSUR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Thank you received: 1
  • Karma: 1
Shnoulle,

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

Thx
The administrator has disabled public write access.
The following user(s) said Thank You: DenisChenu

Re: Fatal Error 2 years 11 months ago #64217

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 6222
  • Thank you received: 791
  • Karma: 238
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.125 seconds
Donation Image