Death to all…

..Who use

if ( $_POST['something'] )

its NOT cool!

Also, WTF?

if ( print_r( $options, 1 ) != print_r( $newoptions, 1 ) ) {

Also, As sure as i am that there was good reasoning behind it.. Who was the moron who decided to let the P2 theme look like ass under Internet Explorer? Seriously! As much as a lot of us hate coding for it, Its something we, As web developers, have to do. Just because you’re a firefox junkie doesn’t mean you should ignore those around you… like junkies……

Damn Buggy Software!

Well, Thats that, Over the last few weeks i’m sure some people have noticed nice large lovely 500 Error messages on my blog, And i’ve finally fixed it.

Well, Sort of.

It appears to have been caused by a conflict between the Buggy PHP 5.0.5 which my Host runs, and the new HTTP API in WordPress 2.7, The solution? Well, for the past few weeks its been to manually modify some of the source to remove statements which would blow up PHP (ie. replace SITEURL with  get_option(‘siteurl’), which actually just returns SITEURL…. – Note: Thats mearly an example, and not the actual changes i’ve made)’

..Until it happened again today. Finally had enough, I fired up SSH and took a look into it:

me@host:~/www/wordpress$ php index.php
FATAL: emalloc(): Unable to allocate 3768593271 bytes
me@host:~/www/wordpress$ php index.php
Segmentation fault
me@host:~/www/wordpress$ php index.php
Segmentation fault
me@host:~/www/wordpress$ php index.php
FATAL: emalloc(): Unable to allocate 3260808055 bytes
me@host:~/www/wordpress$ php index.php
Segmentation fault

(Oh yeah.. Trying to allocate 3.2GB? I’m not supprised its failing..)

Yep.. I’ve had enough, I have switched from PHP 5.0.5 to PHP 4.4.0 and it appears to now be working.. For now.

I guess the time has come to consider moving to a new Host, I’ve been thinking about a VPS solution, At least that way i can keep up with the version of the software i *want* to use.

Any suggestions from anyone? SliceHost has been mentioned to me, And their base package would probably do for me,  Heck, Find someone else to go halves would end up paying about the same as a el-cheapo shared hosting plan each!. But other host suggestions would be good (or hey, Even a hosting offer or 2 ;) heh)

Time to get naked

…Who’s with me? :)

I’ll be participating in CSS Naked Day on April 9th, So to those of you who think your browsers stuffed up, Its not :)

You can find more information over here: and Annual CSS Naked Day

PS. If you missed it: (Or it hasnt arrived yet :))

(Its a shame my theme has the sidemenu’s before the content… I need to design myself a new theme..)

dDeviantArt: 1.0

No, Sorry, This isnt a release :(

dDeviantart 1.0 is in the works and will be 2.5 compatible only, I’ve had to make the choice as i’m completely rewriting it, and would like to take advantage of some of the functionality offered by WordPress 2.5.

Much of the problems which have been reported with the previous version will hopefully be solved, The portfolio Pages issue will be gone for once and all(Possibly replaced by WP 2.5’s gallery functionality).
Caching issues will hopefully be gone with a rewrite of the caching  functions, Infact, Most of the code is getting a rewrite, A New options page will debut which will hopefully fit in with 2.5 better (And it’ll not require javascript which is a step forward)

Hopefully i’ll release it in a week or so, Time permitting.