Welcome, Guest
Username: Password: Remember me

TOPIC: Warning: fread() function.fread: Length parameter must be greater than 0 in /lim

Warning: fread() function.fread: Length parameter must be greater than 0 in /lim 2 years 1 month ago #84505

  • larrywcc
  • larrywcc's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hello I can not install because I get this error
Warning: fread() function.fread: Length parameter must be greater than 0 in /limesurvey/classes/php-gettext/streams.php on line 120
I did find a fix at
docs.limesurvey.org/Installation+FAQ#Whe...ally_fail_to_show_it
mbstring.func_overload = 0 is set in the php.ini

But I still get that problem. So I went into streams and comment out the function and the program works great. Not sure of the purpose of that function if it is really needed or what?

Running on
VPS SERVER

PHP Version 5.2.17

Runs on its own php.ini
The administrator has disabled public write access.

Re: Warning: fread() function.fread: Length parameter must be greater than 0 in /lim 2 years 1 month ago #84592

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
Commenting out such a function is nothing I can recommend, problems might show up later, e.g. when using multilingual surveys.

Better try to fix this, e.g. by re-uploading all files in binary mode (maybe some files were broken during upload) and by searching the forum for such an error message.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.096 seconds
Donation Image