Archive for December, 2009
Shell script to create directory that doesn’t exist
Dec 27th
Writing a bash shell script called “ test.sh ” that will creates directory using MENU DRIVEN, considering the following:
- Making a new directory using (mkdir.sh)
- Read In directory name (may enter a path)
- Check If it exists.
- If it does, warn user.
- Otherwise create it.
Fixing Fatal error: Allowed memory size of 33554432 bytes exhausted
Dec 20th
Wordpress
If you installed a fresh copy of WordPress or you just upgraded to the latest version of WordPress 2.9 you may encounter the memory limitation problem with a massage like:
Fatal error: Allowed memory size of 33536532 bytes exhausted (tried to allocate 2587395 bytes) in /home/xxx/public_html/wp-includes/http.php on line 1331
This problem arise due to maximum memory specification amount that can be consumed by PHP, In order to fix such an issue you may apply one the following:
(1)
- Back up and download the file: wp-settings.php then open it using appropriate php editor (wordpad/notepad will do the job)
- Search within the file for
define('WP_MEMORY_LIMIT', '32M');
- Change 32M to 64M or 96M:
define('WP_MEMORY_LIMIT', '64M');
- Upload the newly configured file and replace it with the existing one
Welcome to my blog ..
Dec 17th
David Isenberg described "The Stupid Network" more than ten years ago.. "Possibly" he was right!!.
Greetings from Perth, Western Australia.. A quick introduction: My name is Nathan (with a big N in there) I’ll be your host on this blog… I am computer geek and a self contractor network architecture who’s in love with Cricket and Orange juice, recently I added “Photography” to the list but am not quite sure if I do like it or not since I’m such a moody guy sometimes, we’ll see how I go later on : ) …
This blog related mostly to networking issues and stuffs, you may find posts distributed, but not limit to, over the following categories:






