Menu

#2 Fatal Error in Creating Thumbnails

closed-later
nobody
None
8
2004-01-22
2004-01-09
No

When attempting to create a gallery, I encounter the
following error:

Fatal error: Call to undefined function:
imagecreatefromjpeg() in
x:\x\x\xxxxxxx\yapig\admin_func.php on line 126

I don't understand how to proceed from this point. Very
new with PHP.

Thanks for any help.

Discussion

  • Derrell Mangum

    Derrell Mangum - 2004-01-09
    • priority: 5 --> 8
     
  • Juan M.

    Juan M. - 2004-01-09

    Logged In: YES
    user_id=868982

    First of all, check if you have already loaded gd library.
    You can see this via phpinfo() function:

    <?php

    phpinfo();

    ?>

    Then check that your gd library is at least version 2 or
    higher. If not, yapig won't work.

    If you don't have gd library loaded edit your php.ini file
    and search for this line (this is for windows on linux
    extension filename differs.):

    extension=php_gd.dll

    It might be commented. Just uncomment it and restart your
    apache.

    Regards. NaTaSaB

     
  • Derrell Mangum

    Derrell Mangum - 2004-01-09

    Logged In: YES
    user_id=863558

    I apologize that I don't understand your suggestions.

    I use Dreamweaver to design and upload files to test them on
    my ISP's server. I don't know how to check to see if they
    have a gd library. I've not loaded it onto my computer. I
    really don't even know what it is.

    There is a php.ini file on my computer but I don't understand
    how that could affect what is on my ISP's server. I checked
    the php.ini file on my computer and
    found ";extension=php_gd2.dll".

    I'm sorry that I don't seem to understand the basics. I have
    a php calendar app and a php genealogy app running on other
    personal sites and I thought this might be as easy to install
    and run as those.

    If you don't want to take the time time to run through all the
    steps with me, I do understand that.

    Thanks for you help, Derrell

     
  • Derrell Mangum

    Derrell Mangum - 2004-01-11

    Logged In: YES
    user_id=863558

    I found out what I needed to do and checked for gd library in
    phpinfo().

    The server my ISP is using doesn't have gd library installed.
    They do have PHP 4.2.3. I've sent them an email telling them
    what I'm trying to do (use Yapig) and am waiting for their
    reply.

    Will let you know what I find out. Thanks for your patience.

    Derrell

     
  • Juan M.

    Juan M. - 2004-01-11
    • labels: 587862 -->
    • milestone: 366906 -->
    • assigned_to: natasab --> nobody
    • status: open --> open-later
     
  • Juan M.

    Juan M. - 2004-01-11

    Logged In: YES
    user_id=868982

    Ok, I move this topic to support Requests.

    I already knew that Yapig should check if gd library is
    available during installation and tell it to user, that way
    it could avoid problems like yours.

    That is a feature that I had planned to add in later versions.

    Thx you.

     
  • Juan M.

    Juan M. - 2004-01-22
    • status: open-later --> closed-later
     

Log in to post a comment.

Auth0 Logo