Previous Thread
Next Thread
Print Thread
Hop To
Getting fatal error when trying to attach an image #239439 09/13/2010 2:56 PM
Joined: Feb 2010
Posts: 21
Cry0 Offline OP
stranger
OP Offline
stranger
Joined: Feb 2010
Posts: 21
Here is the error
Fatal error: Call to undefined function resize_image_() in /home/fungiforum/domains/development.fungiforum.com/public_html/forums/libs/image.inc.php on line 66

how do I fix this?

Thanks!

Re: Getting fatal error when trying to attach an image [Re: Cry0] #239440 09/13/2010 3:08 PM
Joined: Dec 2003
Posts: 5,998
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,998
Could be a couple of issues.
One is the config file is hosed.
Try going to:
Control Panel Feature Settings[Tab] Attachments.
Use the test link and verify that all the info is correct in the other fields. And selct submit even if they are correct
But it sounds like this may be a gallery issue.
So first check:
Control Panel DB, Paths & URLs and check you path settings for
ImageMagick Settings .
Then goto:
Control Panel Gallery Settings
Again make sure all the settings are correct and select submit even if they were already.
There are other settings but at his point in time we would need more info on what type of attachment it is and if it is a gallery forum.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: Getting fatal error when trying to attach an image [Re: Cry0] #239442 09/13/2010 3:14 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
By default, there is NO selected image library used, go to the gallery options in the control panel and select GD (which usually comes with php; or select ImageMagick if you have it available) and submit the page.


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.
Need to Upgrade?
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!
Re: Getting fatal error when trying to attach an image [Re: Cry0] #239443 09/13/2010 3:21 PM
Joined: Apr 2007
Posts: 3,938
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,938
this should REALLY be fixed by now in the downloadable 7.5.6

just 1 line of code to add a fallback to gd, if none is selected

i thought it was added?

:shrug:

Re: Getting fatal error when trying to attach an image [Re: Cry0] #239444 09/13/2010 3:24 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
You'd be surprised at the number of hosts that don't have GD2 and Freetype support. So we couldn't just default to gd. In v8 we just need to not allow a gallery forum to be created until one is selected.

Re: Getting fatal error when trying to attach an image [Re: Cry0] #239445 09/13/2010 3:29 PM
Joined: Apr 2007
Posts: 3,938
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,938
still 1 line of code though to test for it and use if blank and there..

if (extension_loaded('gd')) ?

no?

anyway, i see what you mean by preventing NEW gallery forums from being created, but peeps move sites to new servers etc.. or the config.inc.php gets wiped from a lock_and_write hole..

in those cases, more often than not the 1 liner can prevent this..

i guess it's a philosophy dealio laugh


Re: Getting fatal error when trying to attach an image [Re: Gizmo] #239446 09/13/2010 3:45 PM
Joined: Feb 2010
Posts: 21
Cry0 Offline OP
stranger
OP Offline
stranger
Joined: Feb 2010
Posts: 21
re-submitting the gallery settings did the trick!

Thanks Gizmo!

-Graham


Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Mobile app?
by Baldeagle - 12/06/2019 9:32 PM
How do you change Text Line spacing?
by jorb - 11/23/2019 12:14 AM
What happened to FAQ or Forum Help
by Ruben - 11/20/2019 11:58 AM
Search feature encountering an Error message
by jorb - 11/20/2019 12:06 AM
Followed List v7.7.2 Question
by Ruben - 11/12/2019 12:22 PM
Who's Online Now
1 registered members (JAISP), 92 guests, and 418 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191023)