Advertisement:

Author Topic: Changed domain - attachments not working anymore  (Read 210 times)

Offline Dylert

  • Jr. Member
  • **
  • Posts: 266
  • Gender: Male
    • Hellasforum
Changed domain - attachments not working anymore
« 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? :)

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,369
Re: Changed domain - attachments not working anymore
« Reply #1 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?

Offline Dylert

  • Jr. Member
  • **
  • Posts: 266
  • Gender: Male
    • Hellasforum
Re: Changed domain - attachments not working anymore
« Reply #2 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...

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,369
Re: Changed domain - attachments not working anymore
« Reply #3 on: August 21, 2019, 10:42:12 PM »
Were attachments working after you upgraded to 2.1?