Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
3 registered members (isaac, Gizmo, dimaninc), 60 guests, and 398 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Mark S
Mark S
Liverpool : England : UK
Posts: 4,704
Joined: July 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 18
M4TT 12
FREAK 11
Ruben 8
mmkk 5
isaac 4
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Fatal Error in Gallery #258361
05/01/16 07:05 PM
05/01/16 07:05 PM
Joined: Aug 2006
Posts: 727
New Mexico
Basil Offline OP
old hand
Basil  Offline OP
old hand
Joined: Aug 2006
Posts: 727
New Mexico
When I try to add a picture (using GD2) to a gallery post, I get:

Code
Fatal error: Call to undefined function resize_image_() in /home/mysite/public_html/libs/image.inc.php on line 39


DISREGARD: I found the solution the second time I did a search. blush Just had to CP >> Gallery Settings and submit the page so a default image Graphics Library would be defined.

Last edited by Basil; 05/01/16 07:14 PM.
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Fatal Error in Gallery [Re: Basil] #258362
05/01/16 07:30 PM
05/01/16 07:30 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Online tapedshut
UBB.threads Developer
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
There are several threads on it, but just to rehash, go into the control panel, then gallery settings, and just submit the page. you may be assuming it's using GD, but the config file says that it's not using GD or IM.


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.
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: Fatal Error in Gallery [Re: Basil] #258364
05/01/16 07:35 PM
05/01/16 07:35 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Online splat
UBB.threads Developer
isaac  Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
https://www.ubbcentral.com/forums/ub...defined-function-resize-image#Post218328

Originally Posted by Rick
Just go into the gallery section of the control panel, verify the settings, and submit that page. Until you choose and submit the gallery settings page it doesn't know what image library it should be using. That will also tell you if gd2 is available.


If its not this, there are three things to confirm:

1) Can GD2 be located?
Control Panel > PHP Info
Scroll down to the GD section, and check if its enabled. And if you are running GD 2.3, check in that same section, that you are running a GD 2.1 compatible version of GD 2.3. If you're running a windows server, you may have to manually install it yourself.

2) Check that you are allowing the proper file extension, ".gif,.jpg,.txt,.zip,.png" Separated with a comma. No spaces.
Control Panel > Feature Settings > Attachments

3) In the same place as the last one, this probably isnt the case, but check if your directories are correct and writable.
Control Panel > Feature Settings > Attachments

I believe the UBB.threads temporary directory for all image processing is located at {$config['FULL_PATH']}/tmp/ (hardcoded/cannot be changed). Through FTP, check that the correct permissions are set.

Re: Fatal Error in Gallery [Re: Gizmo] #258365
05/01/16 07:42 PM
05/01/16 07:42 PM
Joined: Aug 2006
Posts: 727
New Mexico
Basil Offline OP
old hand
Basil  Offline OP
old hand
Joined: Aug 2006
Posts: 727
New Mexico
Originally Posted by Gizmo
There are several threads on it, but just to rehash, go into the control panel, then gallery settings, and just submit the page. you may be assuming it's using GD, but the config file says that it's not using GD or IM.


Sorry, guess you didn't see my DISREGARD note I added to my post.

Re: Fatal Error in Gallery [Re: Basil] #258371
05/01/16 09:59 PM
05/01/16 09:59 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Online tapedshut
UBB.threads Developer
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Didn't see it, I typed up the post and was looking for something in the CP and submitted the post after you updated yours tongue.


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.
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: Fatal Error in Gallery [Re: Basil] #258385
05/03/16 05:04 AM
05/03/16 05:04 AM
Joined: Apr 2004
Posts: 1,004
California
isaac Online splat
UBB.threads Developer
isaac  Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Basil, thanks for the bug report.

As you've found out, you needed to "submit" the Gallery Settings page before you could take advantage of any libraries for things like Gallery Forums and Captchas. This was due to a missing default configuration setting.

For UBB.threads 7.6.0, I've added "gd" as the default graphics library setting for new installations. Although most (not all) web host server setups include the GD graphics library, this should correct the "missing library" error for the majority on installations.

Again, thanks!

Re: Fatal Error in Gallery [Re: Basil] #258397
05/03/16 04:02 PM
05/03/16 04:02 PM
Joined: Aug 2006
Posts: 727
New Mexico
Basil Offline OP
old hand
Basil  Offline OP
old hand
Joined: Aug 2006
Posts: 727
New Mexico
AS long as we're on the topic of graphics libraries. What's the difference between GD and Imagick? ANy advantage of one over the other?

Re: Fatal Error in Gallery [Re: Basil] #258398
05/03/16 04:36 PM
05/03/16 04:36 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Online splat
UBB.threads Developer
isaac  Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Originally Posted by Basil
AS long as we're on the topic of graphics libraries. What's the difference between GD and Imagick? ANy advantage of one over the other?


http://lmgtfy.com/?q=GD+vs+Imagemagick

Re: Fatal Error in Gallery [Re: Basil] #258399
05/03/16 04:40 PM
05/03/16 04:40 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Online tapedshut
UBB.threads Developer
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
I'd only recommend GD if your host doesn't support Image Magick, and they won't install it on the machine. IM has far better image quality results.


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.
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!

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,544
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)