Previous Thread
Next Thread
Print Thread
Hop To
#240422 12/02/2010 3:12 AM
Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
Is there a known bug in a Photo Gallery image manager in Threads 7.5.3? I have just tried setting up a new photo gallery forum, and attempting to create a post and upload a jpg file, the file manager gives me this message:

Fatal error: Call to undefined function resize_image_() in /home/whitneyz/public_html/wz/libs/image.inc.php on line 66

I hope someone can help me out.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Just go into your gallery settings in the control panel, make sure that either imagemagick or gd2 is selected for the graphics library, and submit.

Rick #240424 12/02/2010 3:36 AM
Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
Thanks, Rick. But...

in Control Panel, Gallery Settings, "What Graphics Library do you want to use?", it's already set to "Use GD2". There is no imagemagick option available from the dropdown.

Last edited by Steve C; 12/02/2010 3:37 AM.
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
submit the form, even though you aren't 'changing' anything.

that will _force_ the value to be re-written to config file

2c

Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
SirDude, that seemed to work. I was able to post a picture! THANK you!

At least I saw the picture on the first view.

Now I get:
Forbidden

You don't have permission to access /wz/gallery/12/thumbs/5.jpg on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Maybe my directory permissions aren't set correctly. Off to try that.

Last edited by Steve C; 12/02/2010 1:06 PM.
Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
Ahh, that was it. Permissions were set to 666. 777 got it working, but what level should they be?

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
777 for directories works and is necessary, if your server has php running as 'nobody'

files would be 666 then too

if the server has suPhp or is running php as fcgi, then you don't have to go that far and 755, 644 would be good smile

Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
Thanks so much! (I think it is running strait php.)


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
0 members (), 166 guests, and 137 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)