I am moving a clients website from one dedicated server to another. (UK2.net to Fasthosts.co.uk) and would obviously like to check everything has transfered correctly before making the final switch to avoid any downtime.
I have successfully transfered everything across such as MySql database, webpages etc. I have set-up the CPanel for the user as well and so now would like to check everything is working. I have manually gone through a lot of the CPanel to check things like the page locations, database etc but will now look at the physical side.
I know that I can view the site live in-browser following with http://xxx.xxx.xxx.xxx/~username (substituting IP and username where needed) but this is where I encounter my problem. The site shows up fine but when clicking to a specific page some of the MySql queries are not working correctly, basically data is not showing up where it should be and I am wondering if this is just because it is a preview rather than the full thing or is there more to this? I have not altered anything of the website just transferred it across to the new server.
I know that this seems a bit long-winded to explain my problem but felt that it needed some back story! Thank-you in advance
Related
We have a site running to drupal and migrated it to Squarespace. I have to retrieve some pages of drupal site but I can no longer view the site. Do you know any way to get the old content of website on drupal? Please know that we still have access to the drupal box. Any suggestions will be a big help.
Easiest way would be to make the old Drupal site available again through the browser running on a different domain like old.example.com, login into the admin panel and start copy/pasting content.
If you know your way around your computer, know the IP address the old server is running on you could for the time being change the host file of your machine to send requests for your site to the old server and get access to the site that way.
Migrating content by automating the process is also an option, but it is not only time consuming, it requires in depth knowledge of both platforms so is mostly a very expensive solution if you are not able to do this yourself.
But if I read your question, I think the first option is the easiest option. Get a hold of the technical person/party of the server the site is running on and get them to make the site accessible on a different domain.
A friend of mine got in touch because his wordpress site was showing "error establishing database connection" (the website has been working for 2 years up until now). I checked out his config pinged the database IP and found it timing out. I told him many times he needs to contact his host but he never knows what i'm on about so gets frustrated and just expects me to work magic.
Anyway i visited an address i got sent by i assume the dev/previous dev which took me to phpmyadmin could log into the database, all data is still there, great.
i cannot get the ip as he wont contact the host. so i tried the IP of the phpmyadmin site, no luck (i assume its some sort of reverse proxy as i believe he has shared hosting)
so i just try the 0.0.0.0 meta-address. this works fine
i also notice the database name, user and password has been changed by someone since then. so i plug these new credentials in. Visit the website, great its back up.
however when i visit the site it makes me go through the "wordpress install" which i find weird as i assumed the website would just work. the site just shows the default wordpress page. his website is now gone. i don't use wordpress because its wordpress. so my knowlage is now very limited at this point. Iv looked at the database and i can see in the {websitename}posts table that all his content is there still. for example all the paragraphs for the services he provides, image links etc. i look in wp-content/uploads/2018/01 and all the pictures the website had are still there.
When i go to the wp-admin UI and click on pages tab, there are no pages. all his previous ones are gone. i go to media tab and there no images i go to appearance and activate the theme that his dev used. still nothing. its as if its a fresh install.
as all his content is still i the database and all the files like images are still on the server etc. there must be a way to get his custom pages back?
i'm not sure when he last had someone touch wordpress or any code but is it safe to say the hosts making this change and whoever changed the database name and user is to blame? (he is going to want to know what went wrong)
if its any sort of help here is the theme that is used
any help is much appreciated, thanks
UPDATE
i can see in the {sitename}posts table the post_title column has the name of his pages in post_status is publish or inherit comment_status is closed ping_status is closed
We have just started to deploy our app over four schools with the server located in one school. The Three schools accessing from outside the system are working fine, but when you access from the school hosting the server, its like the wrong HTML is being returned. In one case, a user had a page returned to her with a different users userid displayed on the page. It also keeps going back to the login page even though your still logged in. Outside of the school all's fine.
Any ideas ?
This is one of those problems where it's difficult to pinpoint the cause without actually being there, or having lots more information. My first thought is that maybe you're using ip based virtual hosts and the NAT (Network Address Translation) is interfering with it.
Edit: could you tell us what sort of caching you have in place? Users seeing each others “logged in” pages without even logging in themselves is a sign that you're caching things that only authenticated users should see.
I'm totally baffled by a recent problem I'm encountering. I've moved the MySQL database of a WordPress site from one server to another. After this, my client reports that they cannot access their site from their offices, but can access it anywhere else.
I've told them to clear cache, history, cookies, etc. No luck. Site just doesn't work in their office and works fine when they are anywhere else. They continue to receive timeout errors.
Site is visible to me on any browser, logged in, or logged out.
Could this be related to the database move? Is this is an unrelated issue that just happened to coincide with this database move?
Your help would be appreciated as I'm dumbfounded.
Check the hosts files or firewalls on the PCs that can't get to the site.
If they can get to the site away from the office, check the routers at the office.
Before I start I want to say this is my first site I am uploading that has a database - so I will appreshate any help whatsoever!
What site is the best for webhosting - the cheapest and most reliable? I'm not sure how big my database will get - but I need to have a lot of space! (just in case).
I, of cource, don't want my site to break down, so need a very reliable well known site. I have an account already with 1and1.com - and know about Godaddy.com but neither of them are really THAT cheap - if you know what I mean. There is one site I found : "http://www.000webhost.com/" - does this seem alright?
Also, when I upload my site and database - do I have to leave my computer on full time to allow my database to be added to etc?!! Is there some way I can upload the database from my computer - so it's not anything to do with my computer ... or something.
As you can tell - this really is my first site - and I have really know idea.
Im using MYSQL, Coldfusion and Dreamweaver btw.
So again, any help would be great. thanks.
Cheap, Reliable, Easy.
In general, you can only pick two from the above.
Check out bluehost.com.
No, you do not need to leave your computer on. You definitely want to put the database on their server, not yours. It sound like you need to do some research on that.
Upload the CMS files from your local system and then perform an export of your MySQL database (software like phpMyAdmin makes this dead simple) and then import it to your new database on your new host. Modify the configuration of your CMS (database host, username, and password will need to change) and check that it connects and reads the database properly and everything works right.
That way you don't need to leave your computer on all the time - you're literally moving your entire website to their server.