Menu

fatal error when trying to view an album

Help
Anonymous
2000-11-25
2000-12-15
  • Anonymous

    Anonymous - 2000-11-25

    I'm having some trouble getting my albums to display. I can view the index.php, but when I click on any of the albums, the page loads and I get this error:
    in IE5, it looks like the page has loaded, but something in the script is not working, in the view source this is what is there:
    Fatal error: Call to undefined function: imagecreatefromjpeg() in /usr/home/mszzzi/vanity/phpix/function.inc line 22

    in Netscape, only the purple page is there and the same error is in the view page source.

    I am running BSD 3.3 with PHP4.0.3pl1
    I read through the posts here and enabled exif and checked it with phpinfo, checked and I have GD lib 1.8.3 is installed. I checked permissions on the files and directories, and even made them all 777 just in case, and there seems to be no change. I had to change the location of convert, as it was in a different location on my system than what was in config.inc.
    I still get the error.
    What am I missing to get this to work correctly?
    Thanks in advance for your help and suggestions.
    Missie

     
    • Anonymous

      Anonymous - 2000-11-25

      i am far from an expert here, but where did you place the phpix dir? per the README file, it is suppose to go in the .../http/html/ dir.  Sounds like you amended the location of convert to reflect you system and placed the dir containing jpgs in the albums/ dir.  you also chmod 777 -R albums/

       
      • Anonymous

        Anonymous - 2000-11-25

        The phpix dir is in my public html dir. On my system it happens to be called /vanity instead of /html.

         
    • Anonymous

      Anonymous - 2000-12-15

      I'm not an expert regarding PHP configuration, but it sounds like you need to load up the GD module (or else compile it in to your build).  The PHP page on this function may offer some insight:

      http://www.php.net/manual/function.imagecreatefromjpeg.php

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.