You may or may not have noticed the blog went a bit wonky (in tech speak). This was due to a few issues with regards upgrading the wordpress installation, and then the K2 templates that I am using. So, just in case anyone comes across any of my issues, hopefully this will help you:
First off I installed an auto update plugin from Keith Dsouza which I hoped would make the upgrade process easier, and less scary. Plugin installation went without a hitch, but on activation I received:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in /var/www/html/wordpress/wp-admin/admin- functions.php on line 864
When trying to access the admin panel. Eeek! The site carried on serving ok, which was a good thing, but I could not access the admin to write new content etc, what to do??? I dropped Keith a line, Keith got straight back (thanks Keith) with a suggestion:
This is probably because their host has allocated less memory for php to run and has to be rectified by your host.
Here is a solution to overcome this from one of my commentators
I had the same error with other plug-ins, until I changed the .htaccess file and gave WordPress more memory to work with. I put this code in the start of the file:
<FilesMatch “\.(php|html?)$”>
php_value memory_limit 32M
</FilesMatch>
I tried this, no joy, scratched head, checked error again and realized that there must be some setting in the php installation that I could update to sort the lack of memory that php was reporting.
A quick google and I found that I could edit the php.ini file in /etc/ to adjust how much memory php has to play with, amended:
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
To:
memory_limit = 16M ; Maximum amount of memory a script may consume (16MB)
Saved the file and tried to access the blog admin panel – Huzzah!
So that was nice, thank you Google and the peeps that post help on forums :O)
Now I had me site back, it all looked a bit cack though, another quick Google to find that there is a new release of the K2 templates HERE. Grabbed that and an accompanying plugin to disable WP now standard sidebar widgets HERE to make sure the K2 doodads all work nicey.
Now we I am back to where I want to be. With the added bonus that I have a great autoupdate plugin that takes all the stress out of the Word Press update process, although why WP don’t include this by default is beyond me? Maybe they should speak to Keith Dsouza.
Hope that helps anyone else that may have similar issues.