test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • cmol Friend
    #123936

    When registered users try and upload an “Introtext image” and “Maintext Image”, they are getting the following error in the browser:

    Fatal error: Call to undefined function imagejpeg() in /../components/com_ja_submit/resize.php on line 78

    I am running PHP 5.2.3 and GD Library 2.0.34.

    Can you please provide a fix?

    Thx,
    C

    Michael Casha Friend
    #233228

    I’m guessing it’s an issue with GD, are you sure it’s installed?

    cmol Friend
    #233233

    Yes, positive it’s installed. Here’s the result of a system info check:

    gd
    GD Support enabled
    GD Version bundled (2.0.34 compatible)
    GIF Read Support enabled
    GIF Create Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled

    Is anything missing?

    Any ideas on how to fix this? This error makes the component unusable for my users.

    Michael Casha Friend
    #233235

    Can you post what is says on line 78 of resize.php ?

    cmol Friend
    #233236

    //SAVES IMAGE AND SETS QUALITY || NUMERICAL VALUE = QUALITY ON SCALE OF 1-100
    imagejpeg($thumb, $fullpath, 85);

    cmol Friend
    #233389

    I figured this one out. Somehow I got PHP GD lib installed without jpeg support, so all attempts to manipulate jpeg’s are throwing errors.

    Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  cmol 17 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum