Results 1 to 5 of 5

Thread: Script Error

  1. #1
    Join Date
    Aug 2003
    Location
    san diego
    Posts
    467

    Script Error

    I tried uploading a picture set to my site and i got the following script error. I have no idea what it means or how to fix it.


    Add another image for this model in sdsadsaas
    Manage Models


    Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/chicks/public_html/classes/imageupload.class.php on line 42

    Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/chicks/public_html/images/dir/_mg_9733.gif' is not a valid JPEG file in /home/chicks/public_html/classes/imageupload.class.php on line 42
    Problem In opening Source Image
    <<< Please see Forum Guidelines for signature setup. >>>

  2. #2
    Join Date
    Feb 2003
    Location
    AR
    Posts
    2,381
    Make sure that your script can write to the directory........

  3. #3
    Join Date
    Oct 2002
    Location
    State of Disbelief
    Posts
    22,947
    '/home/chicks/public_html/images/dir/_mg_9733.gif' is not a valid JPEG file
    Read that error more carefully.

  4. #4
    Join Date
    Mar 2004
    Location
    USA
    Posts
    4,342
    Make a extension check to check if it is gif,png or jpg/jpeg

    Peace,
    Testing 1.. Testing 1..2.. Testing 1..2..3...

  5. #5
    Join Date
    Aug 2003
    Location
    san diego
    Posts
    467
    Holly crap your right, sorry I'm retarded.
    <<< Please see Forum Guidelines for signature setup. >>>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •