• cluelessone

    (@cluelessone)


    I’m using the latest version of the Exhibit plug-in, but this was happening with the last couple of versions too.

    When I upload images, I get the following error message:

    Fatal error: Call to undefined function: imagecreatefromjpeg() in /……./wp-content/plugins/exhibitimg/exhibit10f.php on line 623

    If I’m uploading a single image, it uploads, but no thumbnail is created.

    If I’m trying to upload several images, only the first uploads (and again, no thumbnails).

    I know very, very little about php or coding beyond basic html, and I can’t even figure out which line the error message refers to. Help would be appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter cluelessone

    (@cluelessone)

    Nobody else have this problem? Just me? Hm. Wonder what I’m doing wrong then. I figured since it happened with more than one version it wasn’t something I’d done but rather a combination of circumstances, but if it’s just me, maybe not. :~\

    Kafkaesqui

    (@kafkaesqui)

    imagecreatefromjpeg() is a PHP function. Any chance your host has graphics support in PHP turned off?

    To find out, in a text file place the following lines:

    <?php
    phpinfo();
    ?>

    Save this (no spaces or lines before <?php or after ?>) to something like info.php. Upload it to your site, and open it in your browser.

    Look for the “gd” section and see what’s enabled under it.

    Thread Starter cluelessone

    (@cluelessone)

    Okay, did that. The only place I can see that it says anything about “gd” is in Configure Command in PHP version 4.3.10

    ‘./configure’ ‘–with-apxs=/usr/local/apache/bin/apxs’ ‘–with-xml’ ‘–enable-bcmath’ ‘–enable-calendar’ ‘–with-curl’ ‘–enable-ftp’ ‘–with-mcrypt’ ‘–enable-magic-quotes’ ‘–with-mysql’ ‘–enable-discard-path’ ‘–with-pear’ ‘–enable-sockets’ ‘–enable-track-vars’ ‘–with-ttf’ ‘–with-freetype-dir=/usr’ ‘–enable-gd-native-ttf’ ‘–enable-versioning’ ‘–with-zlib’

    I have absolutely no idea what all that means, so maybe you can tell me if graphics support is on or off?

    Is it standard for it to be on or off? I changed hosts very recently and it wasn’t working on the old host either.

    Thanks for your help.

    Kafkaesqui

    (@kafkaesqui)

    If that’s the entire configure line then you are definitely lacking graphic support in PHP.

    You’ll need to contact your host and ask if there’s a good reason why (other than “must have forgot”), and if not, can they set up PHP with exif and gd—in the case of the latter with (at the very least) the jpeg and png libraries (gif may or may not be supported, depending on the version of gd).

    It’s not that unusual to find a host running PHP without graphics support, but I don’t see it as very smart from a competitive standpoint.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exhibit error message and problem’ is closed to new replies.