Advertisement:
GCWebhosting

Author Topic: Switched hosts now stuff is messed up  (Read 753 times)

Offline jangofett

  • Semi-Newbie
  • *
  • Posts: 16
Switched hosts now stuff is messed up
« on: February 06, 2019, 07:10:27 PM »
So I switched hosts and my forum site went down. They helped get it back up and I went through and changed all the incorrect paths for the avatars etc. I am still having a bunch of minor issues though. My smiley's aren't there when you post although the code works manually all the checkmarks in the admin panel for smileys are as they should. Package manager is stuck on "Attempting to fetch the most popular and recent packages from www.simplemachines.org [nofollow]..." the SMF updates don't work...

Has anyone else had any issues when they switched hosts getting it back to normal? If you dod what did you do. Again all my paths are as they should.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,400
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Switched hosts now stuff is messed up
« Reply #1 on: February 07, 2019, 01:01:37 AM »
Could you give us a link to your forum?

First things I would try though:
- Empty your forum's file cache (Admin -> Maintenance -> Forum maintenance -> Routine -> Empty the file cache )
- Empty your browser's cache and cookies
- Check all paths and folders with repair_settings

What is repair_settings.php?
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline jangofett

  • Semi-Newbie
  • *
  • Posts: 16
Re: Switched hosts now stuff is messed up
« Reply #2 on: February 07, 2019, 03:36:36 PM »
www.greencoffeebuyingclub.com [nofollow]

I did everything already except the maintenance forum file cache but I am not optimistic on that.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,400
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Switched hosts now stuff is messed up
« Reply #3 on: February 07, 2019, 03:39:31 PM »
That should take about a second to do, and I really do suggest you do it first. That's why I mentioned it first.

Edit:
For what it's worth, I can't see anything that would seem to be off. All paths and everything look ok to me.
Even your registration form, smileys, and binary clock seem to function perfectly.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,194
    • StoryBB/StoryBB on GitHub
Re: Switched hosts now stuff is messed up
« Reply #4 on: February 07, 2019, 04:32:49 PM »
I'm trying to work out if your host is incompetent or whether you were previously hacked.

Your Themes/default/scripts/script.js file has a bunch of PHP at the start that *should not be there*. It's certainly the cause of the issues you're seeing but whether it's a symptom of something else, I don't know.

The file doesn't look to have any other modifications, so you should be able to replace from a clean install without any trouble. (As in, download the install, open the zip file, find Themes/default/scripts/script.js and upload it over the top of the one on the server)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,400
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Switched hosts now stuff is messed up
« Reply #5 on: February 07, 2019, 04:37:12 PM »
Good catch, that does look like reason to at least suspect foul play and try to make sure there isn't more surprises waiting.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline jangofett

  • Semi-Newbie
  • *
  • Posts: 16
Re: Switched hosts now stuff is messed up
« Reply #6 on: February 07, 2019, 04:46:45 PM »
thanks I'll see if that fixes the issues. I'm not totally sure how to do all that but I'm gonna have my buddy who helped setup the site walk me through it.


smileys work but you have to manually type them in. There is no tool bar above the post like when you reply here.

To be clear am I just downloading a theme or the 2.0.15 update?

Thanks,

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,400
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Switched hosts now stuff is messed up
« Reply #7 on: February 07, 2019, 04:51:31 PM »
Either the full install or the large upgrade package of 2.0.15. Those contain the default theme files.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,194
    • StoryBB/StoryBB on GitHub
Re: Switched hosts now stuff is messed up
« Reply #8 on: February 07, 2019, 05:05:14 PM »
You're downloading whichever of these you like, you're only getting one file out of the zip package and uploading it - which should fix your smiley problem.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline jangofett

  • Semi-Newbie
  • *
  • Posts: 16
Re: Switched hosts now stuff is messed up
« Reply #9 on: March 05, 2019, 06:12:19 PM »
ok I switched the script.js file and it is behaving the same. Can someone look and see if it is still messed up

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,194
    • StoryBB/StoryBB on GitHub
Re: Switched hosts now stuff is messed up
« Reply #10 on: March 05, 2019, 06:18:52 PM »
The file isn't messed up any more that I can see, but there's still other issues, your theme is set up to use greencoffeebuyingclub.com but the rest of the site is set to use www.greencoffeebuyingclub.com which will give you some issues.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline jangofett

  • Semi-Newbie
  • *
  • Posts: 16
Re: Switched hosts now stuff is messed up
« Reply #11 on: March 05, 2019, 06:26:43 PM »
The file isn't messed up any more that I can see, but there's still other issues, your theme is set up to use greencoffeebuyingclub.com but the rest of the site is set to use www.greencoffeebuyingclub.com [nofollow] which will give you some issues.

where is that setting again? i know i've stumbled on it before. Thanks btw that did fix my buttons problem.
« Last Edit: March 05, 2019, 07:18:54 PM by jangofett »

Offline jangofett

  • Semi-Newbie
  • *
  • Posts: 16
Re: Switched hosts now stuff is messed up
« Reply #12 on: March 06, 2019, 08:23:45 PM »
BTW super thankful for you guys' help. Everything is back to mostly normal. I am pretty sure it was the host migration that messed it all up.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,400
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Switched hosts now stuff is messed up
« Reply #13 on: March 06, 2019, 11:31:37 PM »
What is repair_settings.php?

Using repair_settings you should be able to fix th paths and urls.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas