View Full Version : 5.5 php warnings on upload
October 1st, 2006, 05:28 PM
Just had this a few times now...
Warning: imagecreatetruecolor(): Invalid image dimensions in /home/x/public_html/gallery/image-inc.php on line 135
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/x/public_html/gallery/image-inc.php on line 136
Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/x/public_html/gallery/image-inc.php on line 142
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/x/public_html/gallery/image-inc.php on line 147
Pictures is uploaded, message is displayed on processing
October 1st, 2006, 06:01 PM
Is your watermark image your trying to stamp on images exist and is the path to it correct?
October 1st, 2006, 09:36 PM
always been the same... picture uploads and is shown with watermark, but no thumbnail is created
October 1st, 2006, 09:42 PM
redownload the build and reupload image-inc.php
October 1st, 2006, 10:16 PM
ok yeah thats fixed it...but check this out, you may know...
I uploaded a single image to a cat... all ok, got to the 'bulk-upload' screen, added text/desc etc... then i submitted but it took an age.... then it worked, dunno what it was waiting for... so i tried another image, same thing... long wait after bulk upload input... so i tried another photo in a different cat...superfast! if i dont enter text on the upload page then it go's like a rocket... processing image list and done! even if i do enter text/desc it's in like a shot... but not this particular cat... always thinks im gonna upload more and thus shows the bulk screen and a long wait... :)
i should say that this is the only cat with 100 set as it's max images, the rest are free to upload till full... could be that
October 2nd, 2006, 08:22 AM
well i suspect everywhere else does not use bulkupload process. However just tried setting up a cat to use bulkupload by having some extra fields and max images and mine worked super fast. Without more info I can not speculate any further
October 2nd, 2006, 08:43 AM
well i suspect everywhere else does not use bulkupload process.
same image... no different, only difference is this max images setting
So tell me please how i can stop the bulk-upload process being initiated on this cat... seems only on this cat, images are moderated for certain usergroups before shown and has this max images setting... anyways, im not sure why or how to disable the bulk-upload for this cat, cheers
October 2nd, 2006, 09:49 AM
Do not put a max image limit
October 2nd, 2006, 01:24 PM
ah haa...got ya...ok
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.