PHP Classes

error

Recommend this page to a friend!

      Imager  >  All threads  >  error  >  (Un) Subscribe thread alerts  
Subject:error
Summary:fatal error
Messages:3
Author:Damir Grgic
Date:2009-11-18 13:06:02
Update:2009-11-18 14:41:10
 

 


  1. error   Reply   Report abuse  
Picture of Damir Grgic Damir Grgic - 2009-11-18 13:06:02
Fatal error: Call to undefined function imagecreatefromjpeg() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\imager-2009-11-16\imager.php on line 18


there is a error.

the function imagecreatefromjpeg(), imagecreatefrompng() and imagecreatefromgif() not exists.

  2. Re: error   Reply   Report abuse  
Picture of Viktor Jenei Viktor Jenei - 2009-11-18 13:27:50 - In reply to message 1 from Damir Grgic
You need to enable the GD2 library in PHP.
In the php.ini search, and add the following line:
extension=php_gd2.dll

Regards,
Viktor

  3. Re: error   Reply   Report abuse  
Picture of Damir Grgic Damir Grgic - 2009-11-18 14:41:10 - In reply to message 2 from Viktor Jenei
thank's!

regards,
Damir