Deand2331 Posted July 7, 2020 Share Posted July 7, 2020 Hi all I have changed my game to a new host. Everything is as it should be apart from when I click on city.php or any other link for that matter is states file not found.. I can login and see my main page but when i click any link ie home, inventory etc I get a file not found message.. Any ideas or advice Hmm now when I click on any link it just refreshes the page Quote Link to comment Share on other sites More sharing options...
Dave Posted July 7, 2020 Share Posted July 7, 2020 Did you upload the files to the correct directory? cPanel typically has a public_html folder. Quote Link to comment Share on other sites More sharing options...
Deand2331 Posted July 7, 2020 Author Share Posted July 7, 2020 Yeah I can actually login to the game but when I click on the links it's just refreshing or saying file not found so my files are uploaded correctly but i also have other files that are in folders but the server wont actually recognize them. whats the simplest way to redirect or shall i just dump all files in the folders into the public_html Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted July 7, 2020 Share Posted July 7, 2020 To what does the URL change when you attempt to click on a link within your city? Quote Link to comment Share on other sites More sharing options...
Deand2331 Posted July 7, 2020 Author Share Posted July 7, 2020 26 minutes ago, Magictallguy said: To what does the URL change when you attempt to click on a link within your city? the url actually registers what im clicking but get a text saying file not found im very confused Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted July 8, 2020 Share Posted July 8, 2020 Got an .htaccess file hiding somewhere? There could be directives within it overriding intended behaviour Quote Link to comment Share on other sites More sharing options...
SwiftGameR Posted July 8, 2020 Share Posted July 8, 2020 (edited) 17 hours ago, Magictallguy said: Got an .htaccess file hiding somewhere? There could be directives within it overriding intended behaviour If you don't know where to find it you will need to show hidden files in cpanel. To me it seems like your new dns has not kicked in yet have you did these sorts of checks to make sure your DNS is fine. transfer domains or just update nameservers? Edited July 8, 2020 by SwiftGameR Quote Link to comment Share on other sites More sharing options...
Deand2331 Posted July 9, 2020 Author Share Posted July 9, 2020 i sorted it the DB was not connecting properly Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted July 9, 2020 Share Posted July 9, 2020 It is odd that an invalid database connection would lead to a 404. Mind sharing a little more info, should anyone else happen to run into this? 1 Quote Link to comment Share on other sites More sharing options...
Deand2331 Posted July 11, 2020 Author Share Posted July 11, 2020 On 7/9/2020 at 9:06 PM, Magictallguy said: It is odd that an invalid database connection would lead to a 404. Mind sharing a little more info, should anyone else happen to run into this? It never created the 404 it either kept refreshing the same page or gave me a txt in the corner stating file not found. The reason for this was alot of my code was in folders and it was not reading this so I done a full install again which corrected it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.