Search found 5 matches

by gauravgarden
Fri Jul 11, 2008 1:27 pm
Forum: PHPGD.com
Topic: GD Support- "cannot be displayed, because it contains error"
Replies: 8
Views: 21627

Re: GD Support- "cannot be displayed, because it contains error"

tomcat is using c:\windows\php.ini. I have verified all errors off and restarted tomcat. But still error persist. ;error_reporting = E_ALL & ~E_NOTICE display_errors = Off display_startup_errors = Off rest all error are set to = Off. Even I tried with 0, but no luck. I tried to load a simple ima...
by gauravgarden
Fri Jul 11, 2008 10:25 am
Forum: PHPGD.com
Topic: GD Support- "cannot be displayed, because it contains error"
Replies: 8
Views: 21627

Re: GD Support- "cannot be displayed, because it contains error"

I verified the same article 3-4 days back. I verified my php.ini files at
C:\PHP\php.ini and c:\windows\php.ini

both have
output_buffering = Off

is there any other place where I need to do the above setting?

Thanks,
by gauravgarden
Fri Jul 11, 2008 8:53 am
Forum: PHPGD.com
Topic: GD Support- "cannot be displayed, because it contains error"
Replies: 8
Views: 21627

Re: GD Support- "cannot be displayed, because it contains error"

if I commented below two lines - header ("Content-type: image/png"); ImagePng ($im); Browser shows blank page without any error. If I comment header ("Content-type: image/png"); Firefox browser shows ascii charactes like - ‰PNG IHDR^•PLTEÿÿÿé[‘IDATxœc` ÀÌðˆ‡NA?&ÆÒÄ 1¶ì–Ž“O%...
by gauravgarden
Fri Jul 11, 2008 7:29 am
Forum: PHPGD.com
Topic: GD Support- "cannot be displayed, because it contains error"
Replies: 8
Views: 21627

Re: GD Support- "cannot be displayed, because it contains error"

Yes, I did same setting on windows 2003 server and facing same issue. I ran to see which extension are loaded with the script-- <?php $cli = (php_sapi_name() == 'cli'); $eol = "\n"; $gle = get_loaded_extensions(); $rows = array(); $le = ''; $wide = 4; $j = count($gle); $pad = $wide - $j % ...
by gauravgarden
Tue Jul 08, 2008 4:43 pm
Forum: PHPGD.com
Topic: GD Support- "cannot be displayed, because it contains error"
Replies: 8
Views: 21627

GD Support- "cannot be displayed, because it contains error"

I have installed PHP 5.2.6 on Tomcat 5.5, OS - XP Pro. phpinfo() shows gd support enabled. But when I run basic script to verify that it is creating an image, it does not showing image. Is there any specific configuration for tomcat servlet? the script is <?php $im = @ ImageCreate ( 150, 100) or die...