View Full Version : Bad Save - Thumbs Creation Failed
owlbill
09-18-2007, 05:55 PM
I have looked through this thread (http://www.photoplog.com/forum/showthread.php?t=279&highlight=Thumbs+Creation+Failed) including the threads linked from withing that one and not found my answer. I am getting the Bad Save - Thumbs Creation Failed message still when uploading jpg files. PHPinfo shows all image types enabled for GD and file sizes are all withing set parameters.
Was getting Wrong MIME Type yesterday, cleaned out /tmp folder on server, fixed that. One user uploaded a couple images, also jpg, and this moring, he cannot. Nor can I. I can still upload gif though. Have not tried other types.
Using Photoplog (Lite Gallery) 2.0.6 integrated with VB 3.6.8. Yes, I have a few other mods as well.
Any new suggestions? Thanks in advance,
Bill
Morgan
09-18-2007, 06:01 PM
The photoplog_create_thumbs function is returning false. To see where do as in this (http://www.photoplog.com/forum/showpost.php?p=555&postcount=10) post.
owlbill
09-18-2007, 06:26 PM
I did that part, it was returning on B
Morgan
09-18-2007, 06:43 PM
Now undo the echoes and then remove the @ from the following line, try another JPG upload, and see what shows on screen:
Content visible to registered users only.
owlbill
09-18-2007, 07:31 PM
At the top of the page I get:
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/mysite/public_html/photoplog/images/4/1_DCP_2575.jpg' is not a valid JPEG file in /photoplog/functions.php on line 46
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/mysite/public_html/photoplog/images/4/1_DCP_2575.jpg' is not a valid JPEG file in /photoplog/functions.php on line 46
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/mysite/public_html/photoplog/images/4/1_DCP_2575.jpg' is not a valid JPEG file in /photoplog/functions.php on line 46
Then, still the same Bad Save message.
owlbill
09-18-2007, 07:37 PM
I also tried again with an image that was already uploaded (a known working file) and got the same errors.
Morgan
09-18-2007, 07:42 PM
That is the answer: 1_DCP_2575.jpg is not a valid JPEG file. GD/PHP is returning that message, not PhotoPlog, so it either has something to do with the image itself, something to do with the GD install, or perhaps a GD/PHP bug. You could try uploading the image to the online demo on this site, or try uploading the attached image to your site, and see if either works, and also check http://bugs.php.net/bug.php?id=29878
owlbill
09-18-2007, 07:46 PM
Ok, I uploaded the test jpg to our site, worked fine.
I uploaded this to our site yesterday, but it will no go today, but it did go on the Photoplog Lite demo site. http://www.photoplog.com/demo/lite/index.php?n=49
I guess the file is fine, and phpinfo shows all file typed enabled, just wondering what would cause it to suddenly not accept the same file it took yesterday. Maybe just a server side glitch somewhere? I know, you are not the server folks ;-)
Morgan
09-18-2007, 08:00 PM
Sorry, don't know, but maybe your sysadmin or host will have an idea. :(
owlbill
09-18-2007, 08:01 PM
Thanks anyway. If I do find out I will post here.
owlbill
09-18-2007, 11:55 PM
Well, I just totally cleaned out the /tmp directory on the server, now uploads seem to work fine.
vBulletin® v3.8.5, Copyright ©2000-2025, Jelsoft Enterprises Ltd.