Jump to content


[Resolved]php error posting pictues


  • This topic is locked This topic is locked
5 replies to this topic

#1 hardwick

    Etomite Forum Newbie

  • Member
  • 5 posts

Posted 08 August 2006 - 04:28 PM

This what I get when trying to uplaod a picture
Fatal error: Call to undefined function imagecreatefromjpeg() in /path
_to_etomite/index.php(578) : eval()'d code on line 104

Permissions seem OK and latest versions of all

#2 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 08 August 2006 - 04:54 PM

Most likely this is due to a missing or incompatible version of the GD library in your version of PHP.

#3 hardwick

    Etomite Forum Newbie

  • Member
  • 5 posts

Posted 09 August 2006 - 12:08 AM

View Postmikef, on Aug 8 2006, 12:54 PM, said:

Most likely this is due to a missing or incompatible version of the GD library in your version of PHP.

Thanks. Seems unlikely, running PHP 5...maybe that's the problem?

#4 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 09 August 2006 - 09:10 AM

Well, since its a standard PHP function that is present if the GD library is present, I can't think of any reason for it being missing other than the GD library being missing. I'm not aware of any PHP 5 specific issues, but don't use it myself.

#5 hardwick

    Etomite Forum Newbie

  • Member
  • 5 posts

Posted 09 August 2006 - 11:39 PM

View Postmikef, on Aug 9 2006, 05:10 AM, said:

Well, since its a standard PHP function that is present if the GD library is present, I can't think of any reason for it being missing other than the GD library being missing. I'm not aware of any PHP 5 specific issues, but don't use it myself.


I contacted my hosting provider and sure enough PHP was compiled without GD support on that server. They recompiled with GD support and I now get no errors.

Thanks for pointing me in the right direction, I wouldn't have found it on my own

Tony H.

#6 Dean

    Loves Etomite Forums!

  • Admin
  • 4,758 posts
  • Gender:Male

Posted 10 August 2006 - 12:15 AM

Glad you got it sorted!

closed as no longer needed





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users