PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   Troubleshooting & Problems (http://www.photoplog.com/forum/forumdisplay.php?f=6)
-   -   Why I can only upload gif (http://www.photoplog.com/forum/showthread.php?t=99)

theguywhoknowz 03-01-2006 05:16 AM

Why I can only upload gif
 
Everytime if i upload an jpg file, it show the bad file creation error. What should I do to fix this?

http://www.GameReviews.com

Morgan 03-01-2006 05:32 AM

Is the JPG file a dot jpg file, or how was it made? The 'bad file' message occurs for one of the reasons listed in this post.

theguywhoknowz 03-01-2006 05:53 PM

frist i thought you need a small file, but when i upload a huge JPG picture file, it still works, which leads me to the conclusion that only gif file , it doesnt work

Morgan 03-01-2006 06:21 PM

PHP settings may affect uploads:
Code:

memory_limit
post_max_size
upload_max_filesize

Try uploading a small KB JPG file.

theguywhoknowz 03-01-2006 06:24 PM

it works doesnt matter small or big GIF file,

doesnt work on any JPG file, i have try both small and big, it seem liek it has to do with the height and weight of the file

Morgan 03-01-2006 06:26 PM

1 Attachment(s)
Save the attached JPG file and see if you can upload it.

theguywhoknowz 03-01-2006 06:30 PM

nope, Sorry, $user : Bad Save - Thumbs Creation Failed

Morgan 03-01-2006 06:40 PM

Is your PhotoPlog images directory, and all the subdirectories within, set to 777 permissions?

theguywhoknowz 03-01-2006 06:44 PM

Yes, they are

Morgan 03-01-2006 06:54 PM

In the PhotoPlog functions.php file find:
Code:

return false;
// there are five spots

And before each one of those add the following:
Code:

echo " A ";
// next one would be echo " B ";

Make sure to echo a different letter each time.

Have something like this, letters in order:
Code:

echo " A ";
return false;

echo " B ";
return false;

echo " C ";
return false;

echo " D ";
return false;

echo " E ";
return false;

Then try to upload that book picture again.

What letter do you see on screen?


All times are GMT. The time now is 12:58 AM.

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