Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: vettedood on October 25, 2013, 08:53:52 AM

Title: Moved site to a new server, encountering some issue...
Post by: vettedood on October 25, 2013, 08:53:52 AM
Hello all. My apologies in advance for these questions, but I'm kinda stuck here.

I switched hosts and had the files and database migrated by my new host.
When I 'ping' the site it shows it;s coming form the new host... good right?
Well, in the admin backend I'm trying to change the database path,  They don't stick.
I tired changing the database paths in settings.php file and while the changes there remain, they do not change in the admin back end.
Also, I changed the attachment path and the avatar path in the admin back end, while the path remains as I changed it to the title of the setting, "Attachment Directory" and "Avatars Directory" are in red. Presumably because the database paths haven't changed??
Lastly, when I go to Admin > Attachments and Avatars > File Maintenance: I get an error message saying "Cannot access attachments upload path!"

I can;t help but assume these are all related.

I do hope that wasn't too confusing and look forward to any help you can offer.
Thank you.
Title: Re: Moved site to a new server, encountering some issue...
Post by: Chalky on October 25, 2013, 08:57:24 AM
Try running repair_settings, that should fix it  http://wiki.simplemachines.org/smf/Repair_settings.php  :)

Welcome to the forum  :) :)
Title: Re: Moved site to a new server, encountering some issue...
Post by: vettedood on October 25, 2013, 09:09:07 AM
Thank you for the welcome and the tip.
I uploaded the file but its returning a 404 not found error  :o
Title: Re: Moved site to a new server, encountering some issue...
Post by: Chalky on October 25, 2013, 09:20:11 AM
Make sure you have uploaded the repair_settings.php file to the same place on your server where Settings.php is and that you are typing the correct path for it in your browser.
Title: Re: Moved site to a new server, encountering some issue...
Post by: margarett on October 25, 2013, 09:27:32 AM
Did you kept domain name?

If so, you might need to wait some time for complete DNS propagation

Also, if you still can access your old host, shutdown everything: delete forum files (backup, of course) and the database. It might happen you are accessing the old site...
Title: Re: Moved site to a new server, encountering some issue...
Post by: vettedood on October 25, 2013, 01:05:37 PM
Yes, I put the file in the same directory as settings.php

Yes, kept the domain name. Actually had that moved also to another registrar.
I just contacted my old host to see about removing those files/database. Waiting for his response. It does seem like a "confusion" somewhere in cyber world.
If I ping the site from www.watchmouse.com it returns the new IP, if I ping it from my computer it returns the old server IP.
Title: Re: Moved site to a new server, encountering some issue...
Post by: margarett on October 25, 2013, 01:14:50 PM
Quote from: vettedood on October 25, 2013, 01:05:37 PM
If I ping the site from www.watchmouse.com it returns the new IP, if I ping it from my computer it returns the old server IP.
*Eeeeeeexactly* ;)

Usually DNS are fully propagated in max. 24h
Title: Re: Moved site to a new server, encountering some issue...
Post by: vettedood on October 25, 2013, 01:22:34 PM
Thank you, My old host did remove the files/database... at the moment it's redirecting to another site I still have with him and not to the new host. I figure that's because they both shared an IP. Hopefully when the DNS fully propagate this will finally work.
Finger crossed...

I'll let you all know what happens, and thank you for your help!

Is it too early to start drinking? I don't even drink :)
Title: Re: Moved site to a new server, encountering some issue...
Post by: margarett on October 25, 2013, 01:31:37 PM
I do :P
Title: Re: Moved site to a new server, encountering some issue...
Post by: vettedood on October 25, 2013, 04:11:49 PM
Please have one for me!

Title: Re: Moved site to a new server, encountering some issue...
Post by: ziycon on October 30, 2013, 09:45:24 AM
Did you manage to resolve this issues?