hcotech
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: transferred host issuesCentOS file structure is different from Ubuntu I believe. You may need to do a search and replace on your database. Do you have access to phpmyadmin on the new site?
Forum: Fixing WordPress
In reply to: How to copy images from one site to anotherCould I ask what host you are using? Or is this a locally hosted site? Most big hosting companies (Bluehost, GoDaddy, HostGator, etc) have their own file browser that you can use within your web browser. Be forewarned though.. some of them quite frankly suck. I got the slowest transfer speeds in the world using GoDaddy’s standard file transfer within my control panel there. Which is why…
I really like WinSCP for this. SCP is basically the same as FTP, but it is more secure, and allows you to do more. Here is the site for it: http://winscp.net/eng/docs/introduction.
And the differences (SCP vs FTP):
SCP: encrypted, including username/passwordd; part of ssh suite, uses port 22; can put a file anywhere you have privelege to.FTP: plaintext, inc user/passwd, uses ports 20, 21; usually restricted to an ftp dir on server.
The caveat being that to use SCP, your servers both need to have SSH installed. Luckily, even if it does not have the SSH suite installed, you can usually ask your host to install it, or you can use FTP within WinSCP. To use this, you are going to need to know the IP addresses of your servers.
When you open the program up, you’ll click on “new” in the top right corner. Here you put in the IP address of the server with your media, and decide whether you want to use SCP, FTP, or SFTP. You also need to know the user name and password for your sites SCP, SSH, or FTP access. This information will be given to your by the host in either an email, or it will be somewhere in your control panel. If it goes through, you will be presented with two file structures. On the left is your local computer, on the right is the remote. Simply navigate to your pictures (probably in /wp-content/uploads/), select the ones you want, and drag them over to your local computer, preferably in their own file. There is no picture preview here, so you may just want to copy everything, and then sort out which ones you want to upload later.
Once you are happy with your picture selection, log into your new server the same way – IP address, user / pass. You can now upload everything that you want to the new uploads folder.
This gets more complex with plugins like NexGen Gallery or similar media plugins, and for that you will just need to dig around to find your answers.
Forum: Fixing WordPress
In reply to: Importing A WordPress Database In Pieces??Just out of curiosity, are you getting the error in phpmyadmin that goes something like “database size too large” etc? And then it gives you a max upload size? If so, that is something that you can change if you have access to your apache/php settings.
If not, you can ask your host to do it for you. Some may refuse, but the ones that do will import the database for you.
Also, 500 MB database is really quite large. Is this normal for your site? Look through your tables and try to find which one is taking up the bulk of that. I just had an issue where my WP_Options table had tons of _transient_ entries and a bunch more from NexGen Gallery that were basically trash, old data that didnt expire / delete properly and kept building up. I removed literally 900,000 records (650 MB worth of data) and my database went from being 670 MB to 20 MB.
Forum: Fixing WordPress
In reply to: Removing the Subdomain to go "Live"You’ll need to change the domain in your wp-config file to remove the /beta part obviously. The tricky part is, your site references that domain name for everything, and you are correct, nothing will link correctly with the wrong domain name there.
I had a similar situation, where I needed to create a test website with a different domain for testing purposes. What I did was create a new site with test.mysite.com as the domain, and then used the “Search and Replace” script to find all instances of http://www.mysite.com and change them to test.mysite.com.
You can find the script, information, and installation / use instructions here: Search and Replace. Just be warned, this is nothing to toy with, and you will want to remove the script from your site once you have it running.
Forum: Fixing WordPress
In reply to: Install/Merge sql database to new wordpress site (phpMyAdmin)What I have done in the past when I need to import a database is to create a completely fresh, new database with nothing in it, then import. If you try to “overwrite” the current database, you will get errors to my knowledge. Is there any reason that you “must” use the current database? It’s rather simple to change which database wordpress uses in the wp-config file.
The fresh database method is also safer, since you are not importing into your existing database.
Forum: Fixing WordPress
In reply to: Troubleshooting wp-admin Redirect LoopWhere there any changes that you made to the site prior to this happening? Your .htaccess file can also cause a redirect loop for wp-admin. This is useful for some people.
Can you login with http://www.yoursitename.com/wp-login.php, or does it give you the same error?
Forum: Fixing WordPress
In reply to: transferred host issuesYou said that you are changing hosts. Are you going from a locally hosted site to an offsite host? Are the operating systems of your previous and current hosts different or the same? The reason I ask is because different OS types have different file structures. It is looking for files and not finding them.
Also, it could simply be that some of the files either did not upload correctly, or did not upload at all. If you have access to the file structure (FTP or similar), check to see which files it says are missing.
Forum: Fixing WordPress
In reply to: Site is goneIf you’re getting a blank page, there are likely errors going on that aren’t showing up (by default, wordpress does not show error messages on the page – you need to turn on debug mode for that). It sounds like a bad plugin upgrade has crashed your site.
Is this a locally hosted or externally hosted site? If it is locally hosted, you may just need to reboot your web server, and that might be enough to get it at least running again so that you can access your dashboard and find out which plugins were updating and what the problem might be. If not:
Do you have FTP or SCP (file level access) to your site? If so, you could navigate to your plugins folder: /www/wp-content/plugins and copy all of your plugin folders from there to your local machine, then delete the files in the plugins folder. Just make SURE you back up your plugins before deleting them!This will give you your basic site without the plugins. If that works, add your plugins back, one by one, until you find the one that is crashing you. At that point, pull that particular plugin back out of your plugins folder, add the rest, and verify the site is working OK. Now that you know which folder / plugin was giving you issues, you can either elect to not use, or, if it was a very important plugin for the function of your site, you can try to download a fresh version of it and install it.
I should also note that I just updated our plugins, and they all went through fine.