MyBB Community Forums

Full Version: (Solved) Image Attachment Corrupt
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Im having a little problem with MyBB Forum, a few days ago the images attachment start to work wrong.-

Only happen with the Images, all the other types of files works good.-

With older and new attachment images, like this

[attachment=29481]

Here you have the original Post

http://www.comunidadruso.com.ar/Thread-N...s-20-01-12

and the Link of a Attachment

http://www.comunidadruso.com.ar/attachment.php?aid=86

Register and guest users have got the same problem, and i can't find any solution.-

Try desactivate all plugins, add new files, change lenguage, change theme, change permission forums, nothing change.-


Solved
====

Was a old version of PHP in the server and son options not enabled.-
How you solved this issue?
^ @armin3000
give your forum url, test user account and thread link where you have a small sized attachment (which is not working)
Thank you.
http://forums.svus.ir

A thread with attached files and images (Thumbnails and Attachments are corrupted):
http://goo.gl/oL4Lwz

If I disable all plugin the problem will be solved but I couldn't find what plugin causes problem. I deactivated most of them that I was suspected.
I messaged test account details.

Thanks
^ this reply might help in resolving the issue
Your uploads folder is missing: http://forums.svus.ir/uploads/ Upload ./uploads/ folder in forum's ROOT. Also make sure that ./uploads/ folder is CHMODed to 644
(2013-10-06, 09:44 AM)Yaldaram Wrote: [ -> ]Your uploads folder is missing: http://forums.svus.ir/uploads/ Upload ./uploads/ folder in forum's ROOT. Also make sure that ./uploads/ folder is CHMODed to 644

The folder is there but I created an index file in the root of uploads folder. Folder permission is 777.
m's thread helped me a lot to find the cause of problem! Thank you so much. If I change forum's language to English the problem would be solved. So I need to search issue in language files. Should saving all language files in UTF-8 without BOM solve the problem?!
^ yes, that should solve the issue. frostschutz's bomfix file helps in finding the files which have BOM
YESSSSSSSSSSSS++++++ Thank you so much .m..
BOMfix helped me to fix all corrupted files. One more questions, Bomfix shows many warnings about files that don't start/end with ?> or </?! Should fix them too?!! It seems that my forum works fine already.
^ adding close tag for php files is not compulsory. you can ignore those warnings.