WordPress Memory Exhausted Error

WordPress Memory Exhausted Error is a common problem WordPress bloggers face. Usually users end up with following error when they try to use Auto upgrader to upgrade blog to next version.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2975573 bytes) in /home/nikoncam/public_html/canonsx30.info/blog/wp-includes/class-http.php on line 1408

Now its not hard to sort out this problem. If you are using a shard host for your blog then there are 2 methods. First try the easy method. Open your wp-config and do this change,

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

If this doesn’t work then there is another way.  You have to create a php.ini file and upload it to your root folder (inside public_html). before  upload add this line,

memory_limit=24m

And then you need to add another line to your .htaccess file in root folder. Make sure change ‘username’ with username of your hosting account,

suPHP_ConfigPath /home/username/public_html

If this didn’t work contact your hosting provider. Don’t keep your WordPress blogs without updating.

WordPress Tip – Saving FTP Information for Easy Upgrades

If you have are unable to save  FTP details in Your WordPress so you can upgrade the script and plugin without putting FTP details everytime then this small tip might be handy for you.

Goto your Config file and at bottom before you close php tag ” ?> ” Add These lines and put your FTP details in correct places.

define(“FTP_HOST”, “ftp.mywebsite.com”);
define(“FTP_USER”, “username”);
define(“FTP_PASS”, “mypassword”);

I hope that will solve your problem.

Blank page after upgranding wordpress 2.x to 3.0

Yesterday I had this problem. I manually did upgrade this wordpress blog to version 3.0 and got a blank page. Fortunately WP-Admin was working. The problem was there wasn’t a ‘ Default ‘ theme in Themes folder ! I only had to upload a new theme and activate it and it has been working fine since then.

Google Analyticator Plugin for WordPress

After check several WordPress plugins for Google Analytic I picked Google Analyticator plugin. Most of other Google Analytic plugins are not tested for current WordPress version. Also This plugin has 130 ratings comparing other plugins 10-70.  Also it has bunch of nice features too,

  • Supports standard Google Analytics tracking via the latest async tracking methods (faster and more reliable than the older ga.js tracking method).
  • Includes an admin dashboard widget that displays a graph of the last 30 days of visitors, a summary of site usage, the top pages, the top referrers, and the top searches.
  • Provides a widget that can be used to display visitor stat information on the front-end.
  • Supports external link tracking of all links on the page, including links not managed by WordPress
  • Supports download link tracking
  • Supports event tracking with outbound links / downloads instead of the old pageview tracking method.
  • Supports hiding Administrator visits without affecting Google Analytics’ site overlay feature.
  • Supports any advanced tracking code Google provides.
  • Installs easily, only requiring the user know their UID.
  • Provides complete control over options; disable any feature if needed.
  • Supports localization – get the settings page in your language of choice.

Few facts you should check when you choose a plugin are how many ratings the plugin has, how often they update the plugin, If plugin is tested for your WordPress version / current WordPress  version.

Web Development Blogs - Blog Catalog Blog Directory