Archive for the Category »Bug Fix «

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.

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.

“cannot be activated when in safe_mode or an open_basedir is set in /home/wwwall/public_html/wp-content/plugins/pretty-link/classes/models/PrliUrlUtils.php on line 65.”

Yes, part of the error is as show above, and search everywhere , no solution to it, thus I am writing this to help others who are facing similar problem.

What I did was , I went to the wordpress /wp-content/plugins/pretty-links folder and made all the files and folders in it to chmod 777

The error will be gone for good.

Hope it helps

Category: Bug Fix  Leave a Comment

This is not really a good fix as I’m not really good at PHP codes, but at least my solution is totally take out the ‘Sorry, not found!’ message by putting a remark on this.
There are 2 ways to do this. First way,
1. At the left panel of wp admin, click on appearance, you can see editor under it, click it. At the right side, a list of the template, find search.php and edit the line that contain the error message.
2. Put in the remark by placing at the back of the line as shown below: