Het werkt!

Eindelijk het theme dat doet wat het moet doen. Heerlijk overzichtelijk, ik heb nog geen 2% van wat het theme in zich had moeten wijzigen en ook op allerlei browsers ziet het er nu ook fatsoenlijk uit. De tijd om de pagina te laden is ook acceptabel en allerlei overbodige meuk heb ik nu niet meer in gebruik ..

Ik ben weer een happy user

Message to Self: WordPress 2.2.2 array fix

WordPress 2.2.2 has a very strange bug on some servers. After installing the 2.2.x branch successfully you try to configure in the wp-admin menu some settings and all settings show ‘array’ . Archhhh ..

after very long waiting finally found a working solution in the wordpress forum:
Try edit /wp-includes/plugin.php [Line : 102], inside remove_filter function.
Change :

unset($GLOBALS['wp_filter'][$tag][$priority][serialize($function_to_remove)]);
To : $wp_filter[$tag][$priority][serialize($function_to_remove)] = array();
unset( $wp_filter[$tag][$priority][serialize($function_to_remove)] );

this fix in the plugin.php file will fix all the ‘array’ appearances and you can work with the new WordPress 2.2.x version.
So message to self: try to upgrade this weekend to 2.2.2 where plugins and theme keeps unaltered ;-)

Zombies, httpd, WordPress, Archives & exec-php

httpd is showing me a lot of zombies the last 2 or 3 days
when checking with ps -aux I see apache …….. “[host] <defunct>”
checking pstree -lp I see that httpd is creating them

httpd is |-httpd(9773)-+-host(10896)
       |              |             |-host(10966)
       |              |             |-host(11015)
       |              |             |-host(11117)
       |              |             |-host(11518)
       |              |             |-host(11591)
       |              |             |-host(11709)
       |              |             |-host(11873)

etc…

top shows me:
382 zombie processes at this time.

Of course I can restart the httpd process (which is does itself every night)

but I want to know; what are zombies, what are they doing and does it hurt?

if it’s not something okay how to get rid of it ?

It’s probably due to ‘WordPress Weblog’ software as I see the live – hits an checking the zombie counting with TOP
Some hours later: I found the issue. Zombies were created due to an incorrect configured plugin (smartarchives) together with the exec-php plugin. the directive to the archive folder was incorrect. The mod_rewrite did show a page.. but .. not the correct one I just discovered (duhhh*) ..

fixing path, restart httpd .. tadaaaaaaahhhh (still some zombies there but not that much).  Seems that more people have this issue. In certain situations, which are unclear, the zombies appear. with following crontab you can remove them:

*/10 * * * * ps auxw|grep apache| awk ‘$10 !~ /0:00/ {print $2}’|xargs kill -9 2> /dev/null

so to make long story short … I think I have to live with it, or someone must have an alternative solution

 

AroundMyRoom’s Playground WordPress theme

Available to the public: my modified WordPress 2.0 theme based on the great Leia theme/

download here Version 1.0 of my Modified theme.

I am using the following plugins:

  • SiFR for the flashy Topic Title (CG FlashyTitles)
  • Lightbox 2.0 for the nice image popup
  • Smart Archives to have an archive page

There are some issues with the black box (comments/categories etc.) going through an image when it’s floating right. When the image is a the left, no problem. So help is appreciated. Download this theme. Kuddos to Leia.

Note: the CSS still contains portugese names, but the main info is translated into English.