ElkArte Community

Project Support => Support => Topic started by: Ruth on August 25, 2017, 05:26:43 pm

Title: Attachments are not displayed after transfering forum to a new server
Post by: Ruth on August 25, 2017, 05:26:43 pm
Sorry for posting this twice O:-)  The same topic  is also here in "German Support": http://www.elkarte.net/community/index.php?topic=4629.0

We do need help with this,  our forum is still in maintenance mode

Quote from: Ruth –
We have moved our forum to a new server today. Everything seems to be okay, but the avatars and the attachments are not displayed in forum.

The page/site in the adminpanel, where the settings for the attachments can be done, is not displayed also.

My hoster asked me to ask here, in which way the attachments have to be transfered: "binary" oder "based on the text"?

It is also not possible to reply in the topics or to create a new topic. This will lead you to an "empty page" in browser.
Title: Re: Attachments are not displayed after transfering forum to a new server
Post by: ahrasis on August 25, 2017, 08:31:16 pm
If you archived your forum properly, I think it should be as easy as re-extracting it. And if you have shell access for both, this could just be done via terminal. Just what I think as I could be wrong though.
Title: Re: Attachments are not displayed after transfering forum to a new server
Post by: Ruth on August 26, 2017, 01:19:43 am
What is "shell access", Ahrasis? ( Edit: I asked google.  I don't know if Ferrika can work in this way on the server)

Ferrika moved other forums as well to her new server...but those are (still) SMF-Forums.

She did it the same way with our ElkArte-Forums... and it was not working. :(

So there is a difference between SMF and ElkArte? Something should have be done in another way?
Title: Re: Attachments are not displayed after transfering forum to a new server
Post by: emanuele on August 26, 2017, 03:09:33 am
repair_settings.php
Now I'm on the phone, can't look for the download... :-[
Title: Re: Attachments are not displayed after transfering forum to a new server
Post by: Ruth on August 26, 2017, 03:17:28 am
Thank you both, Aharis and Emanuele...

Everything seems to work now since a few minutes.

There was a mess about the file-permissions on the server before, therefore it did not work, if I understood it well, what Ferrika told me.
Title: Re: Attachments are not displayed after transfering forum to a new server
Post by: ahrasis on August 26, 2017, 07:45:02 pm
File permission can always cause problems especially when transferring from one server to another. That is where ssh access come in handy if you have access to it. You can simply dump your database and archive elkarte via terminal and transfer them both from the old server to the new one, then restore them in the new server. Normally if the domain, database and its username is the same, it should run properly.

But IMO old methods of archiving and extracting your elkarte forum via filemanager should work too. Similarly backing up and restoring your database via phpmyadmin.

Anyway, nice to hear that your forum is already working good.
Title: Re: Attachments are not displayed after transfering forum to a new server
Post by: Ruth on October 30, 2017, 07:56:43 am
Another question about this:

I have never used the repair_settings.php by myself. O:-)

My testforum is still showing this warning message.

Everything seems to be okay in my testforum as well, since a few weeks. Attachments are displayed and so on...
But I don't dare to do anything there, because of this warning message.

What must be done to finish this?
Title: Re: Attachments are not displayed after transfering forum to a new server
Post by: emanuele on October 30, 2017, 08:07:13 am
Via ftp you remove the file repair_settings.php from the forum directory. ;)
Title: Re: Attachments are not displayed after transfering forum to a new server
Post by: Ruth on October 30, 2017, 08:24:35 am
Thank you very much, Emanuele! I did not dare to do this before.