Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Joomla Bridge Support => Topic started by: locutusweb on November 20, 2008, 03:02:54 PM

Title: Attachments broken after upgrading
Post by: locutusweb on November 20, 2008, 03:02:54 PM
Hi All,

After upgrading SMF to 1.1.7, a lot of the attachments are broken. The links are still there but the images are wrongly encoded? Before upgrading, I made a backup, but I see that those are not viewable with for instance irfanview. New attachments are working fine.

I am using Joomla and the Joomlahacks bridge.

Here is a link to a post with attachments: http://www.mrscloudyspride.com/component/option,com_smf/Itemid,67/topic,321.0/

I hope someone can help me out.

I fear that Filezilla broke my backup... :(
Title: Re: Attachments broken after upgrading
Post by: locutusweb on November 21, 2008, 11:35:44 AM
After some more investigation work I see that a lot of the attachments are distorted, but visible. The downside: all thumbs are broken. Is there a way to rebuilt those thumbs? 
Title: Re: Attachments broken after upgrading
Post by: Rumbaar on December 01, 2008, 06:26:27 PM
I'm not sure that the appropriate security changes made with the 1.1.7 patch which affected key areas like attachments might not be compatible with the version of Joomla you're using.

We have a section of Joomla, it's best you post in there.  I'll move this thread.
Title: Re: Attachments broken after upgrading
Post by: Orstio on December 01, 2008, 08:35:11 PM
Are your attachments still broken if you turn off SEF in Joomla?
Title: Re: Attachments broken after upgrading
Post by: locutusweb on December 03, 2008, 03:00:56 AM
Yes, they are still broken with SEF turned off. They are also broken when I don't use the bridge...
Title: Re: Attachments broken after upgrading
Post by: Rumbaar on December 03, 2008, 05:52:50 AM
Are the attachments physically still on the server?  If you access them directly do that load as normal?
Title: Re: Attachments broken after upgrading
Post by: locutusweb on December 03, 2008, 09:04:00 AM
The images are still on the server; if I open them, some of them have big beams in green or blue. Looks like they are really broken.  :'(
Title: Re: Attachments broken after upgrading
Post by: Rumbaar on December 03, 2008, 03:57:28 PM
Yeah I think the corruption is server side.  If you can't view them correctly when downloaded directly from the server.
Title: Re: Attachments broken after upgrading
Post by: locutusweb on December 04, 2008, 02:35:43 AM
Also downloaded files are corrupt :(

I suspect a bad FTP connection while uploading....
Title: Re: Attachments broken after upgrading
Post by: Rumbaar on December 04, 2008, 04:07:08 AM
That could do it, are you sure your host has done nothing as well?

So I guess it's a problem not related to SMF, so I'll mark it as solved.
Title: Re: Attachments broken after upgrading
Post by: Spovik on July 26, 2009, 01:56:52 AM
Sorry for digging up an old topic, but since this came up for me in the search engine, I thought it may help someone else.  The issue with the attachment move was that it appears FTP programs default these file to transfer as ASCII rather than Binary.  You'll notice file sizes are a few bytes off.

By manually selecting binary transfer, I was able to successfully move my attachments without issue.