Archive for » 2011 «

I gotta admit that I was attacked, I mean my sites was attacked, but it is made to be that my site is still up, however, my .htaccess files was breached. The content code is blank and all my redirections are gone. What should you do if this situation arised?

Get the htaccess backup copy up and overwrite this hacked htaccess file. If there is no backup, you may just go into wordpress admin and goto the permalink setup, then save. It will automatically create a new htacess file.

Change all the passwords, backup often after you have make changes to the htaccess file.

Becareful with new plugins you are installing. There are some malicious plugins lure you into installing them to do certain thing only to provide an access to your site directory files.

When there is a update of newer wordpress, be sure to update to latest version.

If possible, change the 301 redirect to html redirect or use shortlinks like goo.gl or bit.ly

Hope all are not suffering the fate like I had encountered as I need to take half a day to clean up as there are just too many redirect in there.

Category: advice  Comments off

Recently, I have setup a website with Arras theme, but since the theme is using the thumbnail management, and heard of security breach, so I decided to install the patch. Below was what I have done.

Patch the theme for timthumb:

1. Download timthumb 
http://timthumb.googlecode.com/svn/trunk/timthumb.php

2. Overwrite the file at /wp-content/themes/arras/library/timthumb.php

Done.

Hope the best as security leakage is not something you should taken lightly.

08
Dec

Yes, I have to admit that my works and projects are a mess. I don’t have a proper time to work on it , in the end I lose track of everything. I need to focus on individual project each day. So I tabulate my work in a table.

At least I know a proper schedule to do it. Because of too many eyes will be watching what projects I am doing, so I have to put my schedule somewhere.

Sorry, all I have to say is, stick to a plan or schedule and keep doing it, it will work as long as you work on it base on the schedule.

Category: advice  Leave a Comment

So I got this error which is cauing me losing a lot of time, but was finally solved.

What I did was to delete the auto drafts by login into phpMyAdmin and pull up the WordPress database you’re using.
Then go to the posts table, sort on post_status, and all the auto-drafts will come to the top for ease of deletion. Remove those posts and voila, the add new post button is working fine now.

Today, when I was installing a contact form 7 and trying to activate it in wordpress 3.2.1,  I encountered an error like below :

Allowed memory size of 33554432 bytes exhausted…..

it’s kinda long the error message .. anyway, if you encountered something similar like this, try my solution below:

How I resolved the error was, (please make a backup of the file first before modifying anything)

  1. I went to the file manager under the cpanel.
  2. Locate the wp-config.php file and open in editing mode
  3. Find the define(‘WPLANG’, ”);
  4. add a line below and key in define(‘WP_MEMORY_LIMIT’, ’64M’);
  5. final code result will be something like below

define(‘WPLANG’, ”);

define(‘WP_MEMORY_LIMIT’, ’64M’);

and save it.