 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
March 19th, 2006, 02:11 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
| Fatal error: imagecreatefromgif()
I've just installed my Classifieds system and have it using GD1. I have .gif included in the list of acceptable graphics, but when you try to upload a gif you get: Fatal error: Call to undefined function: imagecreatefromgif()
Can you give me any suggestions of what I can do to fix this????
Thanks
|
| |
March 19th, 2006, 03:36 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
GD1 does not process gif images. You must remove gif extention from allowable image types.
|
| |
March 19th, 2006, 03:44 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
|
Thanks. I didn't know.
By the way I have GD 1.8 and ImageMagick installed on my server. I have Photopost installed too and Imagemagick works great with it. But for some reason Classifieds didn't work right with IM in my testing when I set the program up. It wouldn't make thumbs... they were there but they weren't resized. In PhotoPost they resize just fine.
Any ideas?
Paul Green
PS. Yes, I set the mogrify location in Classifeds just like in PhotoPost.
|
| |
March 19th, 2006, 03:53 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
Can not say as I use Imagemagick with Classifieds and Photopost and things are fine.
You have examples links test user?
|
| |
March 19th, 2006, 03:53 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
Can not say as I use Imagemagick with Classifieds and Photopost and things are fine with thumbnail creation.
You have examples links test user?
|
| |
March 19th, 2006, 04:56 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
|
Well, I just went live with it today and it's getting too much traffic for much serious testing right now. It will die down by midweek.
I just tried it again, and the setting for mogrify is exactly the same as I have it in PhotoPost on the same server but when I set Classifieds to use IM it places the uploaded photo in its full uploaded size in the thumbnail. I removed the test because it puts that big photo in the random images places too.
You can see the install at: http://www.tdpri.com/phpclassifieds
Can you think of anything from your experience with IM that would cause it not to make thumbs in Classified when PhotoPost does with the same settings on the same server? The PhotoPost install is at http://www.tdpri.com/telephoto.
Thanks
|
| |
March 19th, 2006, 05:19 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
Usually if the thumbnail does not get created correctly I would say a permissions issue in my experience.
|
| |
March 20th, 2006, 03:21 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
|
Hum, thanks.
I just checked the Data directory and all the folders in there are 777. One small problem is that they are owned by user and group "apache" and so I have little control over them.
But I checked and they are all 777.
Is there some other directory or file that I should check the permissions on?
Thanks
Paul
|
| |
March 20th, 2006, 03:37 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
What is the exact error message you get?
|
| |
March 20th, 2006, 03:42 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
|
The error message was when trying to send a GIF to GD1 and you answered that. In my response I told you about IM not working for me in classifeds, when it does on the same server in PhotoPost.
You said it sounded like a permissions problem. And that is why I posted that my data permissions were all 777.
There is no error message when trying to use IM in my Classifieds... it just doesn't resize the uploaded photo into a Thumbnail.
|
| |
March 20th, 2006, 03:53 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
But it does with gd1?
|
| |
March 20th, 2006, 03:56 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
|
Yeah, it works fine with GD1. Makes thumbs just right. But if I set it to IM the Thumb doesn't get made at all. It puts the big uploaded photo in as the thumb.
And, as I said, I run PhotoPost on the same server and IM works fine.
|
| |
March 20th, 2006, 05:20 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
I can only suggest you download the classifieds distribution upload all files except the config files and try again checking permissions.
I use classifieds with IM exclusively with no issue and photopost uses the same as well.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:14 PM. | |