PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   Troubleshooting & Problems (http://www.photoplog.com/forum/forumdisplay.php?f=6)
-   -   Bad Save - Thumbs Creation Failed (http://www.photoplog.com/forum/showthread.php?t=1764)

owlbill 09-18-2007 04:55 PM

Bad Save - Thumbs Creation Failed
 
I have looked through this thread 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 05:01 PM

The photoplog_create_thumbs function is returning false. To see where do as in this post.

owlbill 09-18-2007 05:26 PM

I did that part, it was returning on B

Morgan 09-18-2007 05:43 PM

Now undo the echoes and then remove the @ from the following line, try another JPG upload, and see what shows on screen:
Code:

$old_img = @imagecreatefromjpeg($file_loc);

owlbill 09-18-2007 06: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 06: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 06:42 PM

1 Attachment(s)
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 06: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 07:00 PM

Sorry, don't know, but maybe your sysadmin or host will have an idea. :(

owlbill 09-18-2007 07:01 PM

Thanks anyway. If I do find out I will post here.


All times are GMT. The time now is 06:41 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.