March 27, 2011
Using the shell
Putty works fine. Shell access helps clean up things quickly. Hence us it wherever possible.
Trying out Xshell5
March 27, 2011
Putty works fine. Shell access helps clean up things quickly. Hence us it wherever possible.
Trying out Xshell5
February 7, 2011
WordPress disasters are just too frequent. WordPress is not like an HTML system which is easy to restore. Wordpress is very vulnerable to all kinds of mishaps. This system is a nightmare!
These are my notes – work in progress.
The last time I had a peculiar problem I had to overwrite a main directory (not sub-directory) .php file (I forget which). Everything came back.
A typical problem is plugin mismatch. When that happens, all sorts of weird things can happen.
Solution:
1) FTP to the site and rename the plugin folder as something else. This inactivates all plugins.
2) Re-active plugins one at a time and check which is causing grief. Since I have 50 odd plugins this is quite a nuisance. It pays to DELETE plugins that you are not using. In my case, I'm building this blog post to record all the ones that I'll be using. Everything else needs to be deleted.
3. Upgrade of WordPress does not work properly
Go into Themes (under wp-content) to your theme. Within that you'll find 'core' then under /functions you'll find the functions_library.php file.
Open the file for editing.
You will see
Quote:
| function checkauthority(){ if (!current_user_can('edit_themes')) wp_die('Sorry, but you dont have the administrative privileges needed to do this.'); } |
Replace it with
Quote:
| function checkauthority(){ if (!current_user_can('edit_themes')) ; } |
This worked for me. I find this whole WordPress thing such a mess, but one has to learn to live with it.
Here's a solution.
5. System crash
Even these solutions might not work.So you might need to restore the entire blog from scratch, or even to delete and reinstall it completely. Should that happen you'll need full backups including FTP backups.
I've built a backup system for the blog through Amazon S3. I still don't know how to use the backups, but here is the post that describes it.
Here's what to do if you are locked out of the blog.
December 31, 2010
Prosumer is a nice but difficult theme. If you put any widget on the "right hand side" bar then the original code disappears.
key files are header.jpg and you.jpg found inside the images subfolder.