Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Dylert on August 21, 2019, 12:13:08 PM

Title: Changed domain - attachments not working anymore
Post by: Dylert on August 21, 2019, 12:13:08 PM
Hello! I am changing domain these days and one problem is that the attachments will not show up on the new URL.

The path to my attachments were:
/customers/d/7/7/hellasforum.net/httpd.www/attachments

Now it is:
/home/H/hellasforumno/www/attachments

I have run repair_settings.php.

I have also downloaded the attachments folders from my old domain in BINARY mode and uploaded them in the same mode.

Now I don't know what to do! Does anybody have a good idea? :)
Title: Re: Changed domain - attachments not working anymore
Post by: Sir Osis of Liver on August 21, 2019, 12:17:04 PM
Check the directory path in Admin -> Attachments and Avatars -> Attachment Settings

Does repair_settings display correct path?
Title: Re: Changed domain - attachments not working anymore
Post by: Dylert on August 21, 2019, 01:16:34 PM
For me it seems that the Attachments settings are ok. (Se attached file). Although some files seem to be missing in the folders.

As far as I can see repair_settings displays the right paths. (se attached file)

When I try to upload a new picture to a post it works well if the file isn't very big. If so I got this message: "Your attachment couldn't be saved. This might happen because it took too long to upload or the file is bigger than the server will allow.

Please consult your server administrator for more information." In FTP a can upload very big files.....so...
Title: Re: Changed domain - attachments not working anymore
Post by: Sir Osis of Liver on August 21, 2019, 10:42:12 PM
Were attachments working after you upgraded to 2.1?