From 45fd079c9cf51f25fbcd8fd874255a54e861dbe7 Mon Sep 17 00:00:00 2001 From: Martynas Mickevicius Date: Tue, 6 Jul 2010 22:23:34 +0300 Subject: [PATCH] debug on the demo server --- libraries/chart/pChart/pChart.class | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/chart/pChart/pChart.class b/libraries/chart/pChart/pChart.class index d2b43311c..169040e26 100644 --- a/libraries/chart/pChart/pChart.class +++ b/libraries/chart/pChart/pChart.class @@ -199,6 +199,8 @@ $this->XSize = $XSize; $this->YSize = $YSize; echo "before imagecreatetruecolor\n"; + echo "php version:".phpversion(); + var_dump(gd_info()); $this->Picture = imagecreatetruecolor($XSize,$YSize); echo "before this->AllocateColor\n"; $C_White =$this->AllocateColor($this->Picture,255,255,255);