English

Written in English.

Happy New Year, The foolab way.

Body

Happy new year all.
Alaa woke me up today saying that foolab is down. It was obvious that the codefilter.module "Which the drupal module used to highlight the php code." is not playing nice with drupal,I don't know why.
But Seeing an error about undefined functions is not a sign of good.
I don't know what happened, The site has been working for long time,
I tried to logout to find the error. It seems that it's happening to non logged in users, I searched drupal.org to find that this is a reported bug!
I don't know how many of you were affected by this error.
Anyway, I've disabled the following code in the module and everything is fine now.
function codefilter_init() {
drupal_set_html_head('

@import url('. $GLOBALS[base_url] .'/modules/codefilte\r/codefilter.css);

');
?>
I moved the code to the theme file.
// Codefilter block.
if (function_exists("codefilter_help"))
{
$output .= '

@import url('. $GLOBALS[base_url] .'/modules/codefilte\r/codefilte\r.css);

';
}
?>

Another thing just to fuck my mind, the codefilter module prevents drupal from generating the node teaser, I wonder why ?