How to Fix the WordPress "Fatal Error: Allowed memory size" Error

This frightening message can happen after a fresh installation or update of your WordPress blog. Although understanding the issue itself may be a bit advanced for the scope of this article, the fix is easy, even for those not well versed in MySQL, php or even just the stuff going on under the hood of a WordPress installation.

The message will look like this

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 143 bytes) in /home/your-directory-path…

In order to fix this, you will need to access your WordPress files by way of an ftp client. I like Filezilla , a free download, but any ftp client will do.

Once you are in your public_html directory, navigate to the folder that contains your WordPress installation and look for a file called wp-settings.php. Download that file to your desktop and open it in Notepad. Scanning down a few lines you will see something that reads:

if ( !defined('WP_MEMORY_LIMIT') )
define('WP_MEMORY_LIMIT', '32M');

You simply change the 32 to 64M which will give tell your server to allot more headroom for doing what it has to do. Save the file (do not rename it, and make sure you did this in Notepad or a proper code editor like Morphon or Dreamweaver; Wordpad might append a .txt extension which you don’t want.)

Now drag and drop the saved version of your updated file back into the directory on the server where you found it. You will be asked whether you want to overwrite the file. Say yes.

Presto, So long as you followed the above instructions carefully, your problem is solved.Godsend ipod

The Acid House

Making a Bilingual Site with WordPress

I’ve been meaning to talk about the Language Switcher

WordPress plugin for a while. It’s a plugin that could be very useful to those of you wanting to make a bilingual blog. My wife is using it at a bilingual (spanish-english) site she runs, and it works great. However, I do have to warn you that there’s some work involved in installing this plugin, but if you have decided to make a bilingual blog, then you have already decided to do the extra work. And as I said, once you set it up, it does the job nicely.

This plugin allows you to translate a post, and then have the option to select that translation from within the same post. This means that you don’t have to create two separate posts and you are in control of what your translations are going to look like, and this is what I was looking for.

“The Language Switcher WordPress plugin allows you to create a bilingual or multi-lingual blog, using WordPress. The way it works is that you write the content for your blog in multiple languages, using special tags to tell the plugin which text goes with which language…The Language Switcher plugin will then let your blog viewers choose a language for viewing your blog, and put all the text on the screen into the right language.”

Adding a forum to your WordPress blog

It is not my intention to give a detailed explanation of every option available. This is just a road map of what’s out there. You can use it to investigate further depending on what you are looking for.

To add a forum to your WordPress blog you can either:

  1. Use a WordPress forum plugin
  2. Use a stand alone forum software

Going with plugins is probably your fastest and easiest option. You want to use a stand alone forum software if you are looking for more features and a more advanced board. Forum software is relatively easy to install, but you usually need to have access to your hosting account to create a database and change permissions to do it. So, choose an option depending on what you want to do with your forum. If you want it to be one of the main features of your site, then you’ll probably want to go with a forum software; if you just want to have it as a nice little option to communicate with a small audience, then you’ll do fine with a plugin.

WordPress Forum Plugins
These are three of the best looking WordPress forum plugins out there:

Check out the WordPress Plugins Forums section for more options.

Free Forum Software
There are plenty of options to choose from. These are some of the most popular ones:

But don’t take my word for it. See a complete list of forum softwares and test them yourself at Forum-Software.org , or at OpenSourceCMS. Some of these softwares are integrateable with WordPress, which means that your users may use just one registration account for both your blog and your forum. Of the list, the two top ones, phpBB and SMF (Simple Machines) seem to be the most popular ones, and bbPress was made by the same guys that created WordPress.

Buying Forum Software

If your goals are more ambitious and you’re willing to pay, you can buy a forum software like VBulletin or Invision Board

.

Paying for your software means that you will probably get more support and you are likely to have less “issues” (I’ve never bought one but that’s what you would think).

Free Support

Now that you have an idea of what’s out there. You are going to need some guidance. If you need extra help SiteGround.com provides some practical tutorials for installing, administering and managing phpBB, Simple Machines, vBulletin and Invision Board.

Other Things/Plugins Worth Mentioning

  • WP-United is a phpBB mod (not a wordpress plugin) that integrates phpBB and WordPress. You can see in action on their site.

  • I will try to keep this list updated, so please feel free to comment on it. I have listed what I have seen out there, so I’m sure I’m missing stuff.