Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : Problems with charts - most likely not the usual permission-problem

Problems with charts - most likely not the usual permission-problem il y a 10 mois 1 semaine #100074

  • RainerR
  • Portrait de RainerR
  • Hors ligne
  • Fresh Lemon
  • Messages : 3
  • Karma: 0
Hi everyone,

after a couple of days I still don't get charts going on our installation - neither html or pdf. I don`t even know if it is a limesurvey topic, but rather caused by the installation:

The system does generate PNG-files, but all with size 0. Consequently, no charts show up, except for small blue boxes.
After switching on LS-debugging, it shows
"imagepng(): gd-png error: cannot allocate libpng main struct" in application/third_party/tcpdf/tcpdf.php

For the life of it, I don't get it fixed - this is my fourth day on it.

Does anybody have an idea how to get it to work?

Thanks,
Rainer

Server-OS: Mac OS X Snow Leopard Server
PHP: 5.3.27 (freshly compiled from sources to get freetype support)

phpinfo():

GD Support enabled
GD Version bundled (2.1.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.9
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version unknown
PNG Support enabled (I compiled v9)
libPNG Version 1.2.41
WBMP Support enabled
XPM Support enabled
libXpm Version 30411
XBM Support enabled
L'administrateur a désactivé l'accès en écriture pour le public.

Problems with charts - most likely not the usual permission-problem il y a 10 mois 1 semaine #100079

  • c_schmitz
  • Portrait de c_schmitz
  • Hors ligne
  • LimeSurvey Team
  • Messages : 748
  • Remerciements reçus 103
  • Karma: 87
It is for sure not a LimeSurvey problem, but one of the server.

Check out www.litespeedtech.com/support/forum/arch...ndex.php/t-4987.html for a similar case. Maybe your libPNG version number does not fit to your GD/PHP version. But I don't have a Mac so it's hard to tell how to fix it.
Support us, too. Donate to the LimeSurvey project and help keep us going!
L'administrateur a désactivé l'accès en écriture pour le public.

Problems with charts - most likely not the usual permission-problem il y a 10 mois 1 semaine #100103

  • RainerR
  • Portrait de RainerR
  • Hors ligne
  • Fresh Lemon
  • Messages : 3
  • Karma: 0
Hi,

thanks for the link and the clarification regarding the server being the problem. It really was a server problem:

I doublechecked the installed PHP/GD versions and installed an older version of libjpeg (6b vs. the installed version 9). Fitting the right versions of PHP and its modules seems to be quite tricky - at least on the Mac.

Installed versions for Snow Leopard on the working system:
PHP 5.3.27
libpng 1.2.41
libjpeg 6b

Thanks again,
Rainer
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.127 secondes
Donation Image