Some of you that use WordPress may have upgraded to or are thinking of updating to WordPress 3.0. It is worth bearing in mind that some of you who run large sites or those that have big installations, such as BuddyPress will need to increase the memory size. (Unfortuantely your previous settings do not carry over). In WordPress 2.9.2 you will have done this by accessing the wp-config.php file via ftp and chaning line 13 to 64M rather than 32M.

In WordPress 3.0 it is slightly different as you have to change the “default-constants.php” file which is located in the wp-includes directory. There are two lines and these need to both be set to 64M (the top file may be 64M and the bottom 32M, in this instance change the 32M to 64M).

For those of you who haven’t come across this before when you install WordPress 3.0 or another installation on WordPress you will get a white background with an error message something like this:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /site/database/public_html/wp-includes/wp-config.php(900) :

You then need to login via htp and find the “default-constants.php” file and change as above.

If you have any other fixes or this doesn’t work for you just drop a comment at the bottom of this post.

Really simple steps to follow but if you have any problems just let me know. 🙂

Why not take a tour of WordPress 3.0?