Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2007
Posts: 15
S
stranger
stranger
S Offline
Joined: Sep 2007
Posts: 15
Fatal error: Call to undefined function: resize_image_() in /var/www/vhosts/siliconcameras.com/httpdocs/bbs/libs/image.inc.php on line 66

I am getting htis error when trying to upload images to a gallery using GD2 on a plesk machine any ideas?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Go into your control panel and then into the Gallery Settings and make sure everything is set to what you want and then submit. By default it doesn't know whether to use gd2 or imagemagick until you configure that screen. It may already have the values you need filled in and you might not need to change anything, and can just submit.

Joined: Jun 2006
Posts: 16,533
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,533
Likes: 150
I still say that it should assume you want GD2 as to not throw an error to the user lol.


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
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!
Joined: Sep 2007
Posts: 15
S
stranger
stranger
S Offline
Joined: Sep 2007
Posts: 15
Well ok that error went away, the system acts like it is saving the image but the forum comes up with a missing image.. Where is the system saving the file. I looked in the files directury and i see nothing? Yeah now it seems to be going through the motions but it does not actually save the file or give an error just looks like it has completed but iimage is not there...

Joined: Jun 2006
Posts: 16,533
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,533
Likes: 150
make sure the /tmp directory is chmodded 777, then the gallery/ and all sub folders are chmodded 777 as well.


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
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!
Joined: Sep 2007
Posts: 15
S
stranger
stranger
S Offline
Joined: Sep 2007
Posts: 15
ok that has been checked and is that way, still no file getting to the system, i dont see a thumb in the thumbs directory at all...

Joined: Jun 2006
Posts: 16,533
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,533
Likes: 150
and you're sure the thumbs directory is chmodded 777?


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
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!
Joined: Sep 2007
Posts: 15
S
stranger
stranger
S Offline
Joined: Sep 2007
Posts: 15
Yeah i checked and double checked... all files are 777 and it just seems to not make any sense

Joined: Jun 2006
Posts: 16,533
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,533
Likes: 150
When you're in the process of uploading, is any data written to the /tmp directory?


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
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!
Joined: Sep 2007
Posts: 15
S
stranger
stranger
S Offline
Joined: Sep 2007
Posts: 15
nodata is being written to /tmp... and it is 777 directory

Joined: Sep 2007
Posts: 15
S
stranger
stranger
S Offline
Joined: Sep 2007
Posts: 15
I tried putting the same JPG onto UBBcentral and im getting hte same results... Is there a file size issue or something else that i am not seeing? Is the uploader only able to handle small files and not able to deliver the hi-res image and then resize it once it hits the board? Let me know FIles is direct from camera about 2.2 mb

Joined: Sep 2007
Posts: 15
S
stranger
stranger
S Offline
Joined: Sep 2007
Posts: 15
Ok i am proud of myself now hehe, UBB willn ot accept a 2.2 mb file or at least it seems it wont and i wass able to get a 1mb file up after updateing the file size for the gallery however the really large files do not evan throw up an error, i got an error off the smaller file when i found my setting to be to low in gallery image size, but when i send the larger files, i get nothing except what looks like a good transfer.. This is what happen on UBB central site acted like it took the bigger file but then no file... Any other lideas or is a bug i discovered in the upload file procedure? Does that time out after a certain while?

Last edited by Strombo27; 11/01/2007 9:50 AM. Reason: Changed GB to MB
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
1 GIGAbyte ??? holy moley eek

Joined: Sep 2007
Posts: 15
S
stranger
stranger
S Offline
Joined: Sep 2007
Posts: 15
My error 1 MB, and the file that errored was 2.2MB I was half asleep this morning

Joined: Jun 2006
Posts: 16,533
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,533
Likes: 150
Well, I don't think this is a UBB problem, I think it's your server... Please access your control panel and you'll see "PHP Info" as the last entry to the left in the menu.

Paste the following here:
post_max_size
upload_max_filesize

The second is what deals with file uploading, the first deals with how much data you can send in a post request.


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
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!
Joined: Sep 2007
Posts: 15
S
stranger
stranger
S Offline
Joined: Sep 2007
Posts: 15
You are a genius, raised max upload file size in PHP.ini and whammo its working great now!

Thank you, Gizmo you are the man and this is for real second time you've had the answer awesome...


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 297 guests, and 145 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)