Previous Thread
Next Thread
Print Thread
Hop To
#203601 12/19/2007 11:17 PM
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
Djuma #203604 12/19/2007 11:35 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
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.

Rick #203605 12/19/2007 11:40 PM
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

Djuma #203606 12/19/2007 11:43 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
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)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #203609 12/20/2007 12:04 AM
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 smile

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




Djuma #203613 12/20/2007 12:13 AM
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

Djuma #203614 12/20/2007 12:16 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
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)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #203615 12/20/2007 12:27 AM
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

Djuma #203616 12/20/2007 12:32 AM
Joined: Nov 2007
Posts: 59
journeyman
journeyman
Joined: Nov 2007
Posts: 59
Do I need to enable file attachments for that forum?

cheers
Djuma

Djuma #203617 12/20/2007 12:49 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
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)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #203618 12/20/2007 1:04 AM
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.
Djuma #203619 12/20/2007 2:21 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Weird, you may have to get your webhost to chown the directory to your web user.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #203620 12/20/2007 2:32 AM
Joined: Nov 2007
Posts: 59
journeyman
journeyman
Joined: Nov 2007
Posts: 59
Thanks,

I thought that was strange smile

cheers
Djuma

Djuma #203657 12/20/2007 9:28 PM
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

Djuma #203659 12/20/2007 11:34 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
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.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #203756 12/23/2007 6:32 PM
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 smile

cheers
Djuma

Djuma #203779 12/24/2007 7:01 AM
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
Glad it is working for you smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 445 guests, and 142 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)