Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: sparco84 on June 08, 2020, 09:24:07 AM

Title: SMF Migration to another host
Post by: sparco84 on June 08, 2020, 09:24:07 AM
Hi all,

I have problem with SMF 2.0.17 after migration.

My forum SMF working properly, but when open any attachment (pdf, xlsx, docx, jpg) i have cannot open file becose i have error.

I save my attachment in my pc, open this and have "this document have problem, The acrobat program may not display it correctly."

I have a problem with the fonts, the documents are falling apart.


Can you help me with this? I have no idea what's going on?

Title: Re: SMF Migration to another host
Post by: vbgamer45 on June 08, 2020, 09:26:31 AM
After you switched to a new host did you use the repair settings tool to fix the paths?
What is repair_settings.php? (https://wiki.simplemachines.org/smf/Repair_settings.php)
Title: Re: SMF Migration to another host
Post by: Doug Heffernan on June 08, 2020, 09:27:29 AM
This looks to be a problem with adobe rather than smf.

P.s. After the move, did you run the repair_settings.php file to straighen out the paths and urls btw?

https://wiki.simplemachines.org/smf/Repair_settings.php
Title: Re: SMF Migration to another host
Post by: Illori on June 08, 2020, 10:08:37 AM
How did you download the attachments? You have to download them as binary.

https://www.simplemachines.org/community/index.php?topic=374178.0
Title: Re: SMF Migration to another host
Post by: sparco84 on June 08, 2020, 10:31:13 AM
Thank for reply,

Yes, I was run repair settings tool after migration.


Illori, I'm using Filezilla with default settings. Mayby problem is there. I'm checking Your link
Title: Re: SMF Migration to another host
Post by: Doug Heffernan on June 08, 2020, 10:43:32 AM
Quote from: sparco84 on June 08, 2020, 10:31:13 AM
Thank for reply,

Yes, I was run repair settings tool after migration.


Illori, I'm using Filezilla with default settings. Mayby problem is there. I'm checking Your link

That explains it. Filezilla is known to cause such issues with uploading/downloading images. As mentioned by Illori above, configure Filezilla to use binary and that should solve the issue.
Title: Re: SMF Migration to another host
Post by: sparco84 on June 08, 2020, 02:06:11 PM
Thank you all :)

Illori gived me best solution.

Everything is all right.