Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

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

Problems with charts - most likely not the usual permission-problem 1 Jahr 1 Monat her #100074

  • RainerR
  • RainerRs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Problems with charts - most likely not the usual permission-problem 1 Jahr 1 Monat her #100079

  • c_schmitz
  • c_schmitzs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 819
  • Dank erhalten: 116
  • Karma: 93
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!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Problems with charts - most likely not the usual permission-problem 1 Jahr 1 Monat her #100103

  • RainerR
  • RainerRs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.130 Sekunden
Donation Image