Image Uploader script isn't working; help me please

Discussion in 'Programming' started by tokyoice, Mar 4, 2007.

  1. #1
    Hi.

    I downloaded the free image uploader script today and installed it on my server, I uploaded all of the files to the server and put the correct info in the config.php files.

    Now for some reason when you try and upload an image I get the following error.

    Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/another/public_html/upload/reg/index2.php on line 41
    Code (markup):
    I don't think they have some support forums so I'm not sure how to fix this problem, could you guys help me?

    NashTax
    AnotherLaugh.com
     
    tokyoice, Mar 4, 2007 IP
  2. steb

    steb Peon

    Messages:
    213
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I expect you need to install a newer version of the GD extension for PHP, one with jpeg support.

    if you need some help, I can do it for you.

    thanks,
    Stephen
     
    steb, Mar 4, 2007 IP
  3. tokyoice

    tokyoice Well-Known Member

    Messages:
    3,326
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    165
    #3
    Everything is up to date - I don't think that's the problem as we have used this software before.
     
    tokyoice, Mar 4, 2007 IP
  4. Alvin

    Alvin Notable Member

    Messages:
    2,076
    Likes Received:
    164
    Best Answers:
    0
    Trophy Points:
    210
    #4
    can you paste the code in
    /upload/reg/index2.php file?
     
    Alvin, Mar 4, 2007 IP
  5. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #5
    Steb is right, I think you don't have new version GD lib, thats why this error has raised.
     
    designcode, Mar 4, 2007 IP
  6. tokyoice

    tokyoice Well-Known Member

    Messages:
    3,326
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    165
    #6
    Thanks for your feedback, I am working on the issue.
     
    tokyoice, Mar 5, 2007 IP