|
Joined: Nov 2007
Posts: 59
journeyman
|
journeyman
Joined: Nov 2007
Posts: 59 |
Hi,
When I try to post a picture to my gallery forum I get the message
Fatal error: Call to undefined function: resize_image_() in /home/bilboes/www/ubbthreads/libs/image.inc.php on line 66
Can someone tell me what this means and what I should do please?
cheers Djuma
Last edited by Djuma; 12/19/2007 11:19 PM. Reason: Premature posting
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
You basically need to go into the Gallery Settings of the control panel and update that page. By default when you install/upgrade it doesn't know which graphics library to use. So just go in, make sure everything is set properly and hit submit and you should be good to go.
|
|
|
|
Joined: Nov 2007
Posts: 59
journeyman
|
journeyman
Joined: Nov 2007
Posts: 59 |
Hi Rick,
If I'm looking at the right place, the only thing I can choose there is "GD2" in which graphics library to use.
cheers Djuma
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
If you wish to use ImageMagick, you'll want to setup the paths in the paths and settings page.
What Rick is saying however, is that you have to submit the page; reguardless of it says GD or not... Just submit it and it should work (assuming you're not using ImageMagick, hence my above suggestion)
|
|
|
|
Joined: Nov 2007
Posts: 59
journeyman
|
journeyman
Joined: Nov 2007
Posts: 59 |
Heh *groan* I have no idea what ImageMagick is and whether or not I want to use it I had a look on my website hosts FAQ thingy, and they said we have ImageMagick and "The main ImageMagick binary is at: /usr/local/bin/convert " so I'm guessing that is what I want to put in at the "Path to convert" place on my forum. What's mogrify? The other FAQ they answer is What is the path to ImageMagicks identify program ... is that what goes in the second field at the mogrify bit? cheers, and sorry for all the questions Djuma
|
|
|
|
Joined: Nov 2007
Posts: 59
journeyman
|
journeyman
Joined: Nov 2007
Posts: 59 |
Maybe I should clarify that I am using the image manager to try and add the picture.
If people use that, does it mean that my server hosts their pictures?
cheers Djuma
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
So you'd use: /usr/local/bin/convert /usr/local/bin/mogrify
then select imagemagick on the gallery page (IM is superior to GD IMO)
|
|
|
|
Joined: Nov 2007
Posts: 59
journeyman
|
journeyman
Joined: Nov 2007
Posts: 59 |
Hmmm,
I did all that. And it gets me past that error message and loads the file, but when it comes up on the screen it is only a box with a red cross?
cheers Djuma
|
|
|
|
Joined: Nov 2007
Posts: 59
journeyman
|
journeyman
Joined: Nov 2007
Posts: 59 |
Do I need to enable file attachments for that forum?
cheers Djuma
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Go in (through FTP) and ensure that the directories (gallery/*) are all chmodded 777 (and the directories under them)
|
|
|
|
Joined: Nov 2007
Posts: 59
journeyman
|
journeyman
Joined: Nov 2007
Posts: 59 |
I just checked and where the file is stored is in the gallery/10/thumbs directory, but for some reason I can't change the permissions on that directory. Is that normal?
cheers Dj **editted to add ... I can't even seem to open that directory, it seems I don't have permission. "550 could not change perms on thumbs: Bad file descriptor"
Last edited by Djuma; 12/20/2007 1:12 AM.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Weird, you may have to get your webhost to chown the directory to your web user.
|
|
|
|
Joined: Nov 2007
Posts: 59
journeyman
|
journeyman
Joined: Nov 2007
Posts: 59 |
Thanks, I thought that was strange cheers Djuma
|
|
|
|
Joined: Nov 2007
Posts: 59
journeyman
|
journeyman
Joined: Nov 2007
Posts: 59 |
Okay,
I've got them to chmod those directories over to me, and I've changed all the permissions I can. There's some index.html files in there that I can't change permissions on, so I've asked them to hand them over to me as well. But I'm still getting little red boxes.
Just a thought, but since you need to use the image manager to put the pics there, do I need to have the "enable file attachments" ticked and configured? If so, what should I be using as the attachment storage directory?
cheers (and thanks for all this help) Dj
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
attachments aren't gallery items; two totally differant ways for users to upload items.
As for this issue, people couldn't upload before because the directory wasn't owned by your user; try putting in a new image.
|
|
|
|
Joined: Nov 2007
Posts: 59
journeyman
|
journeyman
Joined: Nov 2007
Posts: 59 |
Hi, I don't know exactly what it was that fixed it, but yesterday I tried putting it back to using the GD2 library just to see what would happen, and it suddenly worked. I must have done soemthing right because the emails that I was having problems with as well suddenly worked yesterday too! Thanks for your help Gizmo cheers Djuma
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
Glad it is working for you
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Nightcrawler),
445
guests, and
142
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|