About
Lonely Boy
Friends
-
Loading…cygenb0ck about 5 hours ago -
Loading…rainbowzombieskilledmyunicorn about 4 hours ago -
Loading…BarbiesWorld about 1 year ago -
Loading…Aluslaw 3 days ago -
Loading…chrstnklb 2 months ago -
Loading…funkie-junkie 7 days ago -
Loading…mrwulf 22 days ago -
Loading…andreame 7 days ago -
Loading…austriansoup about 22 hours ago -
Loading…egm about 2 hours ago -
Loading…annalist about 1 year ago -
Loading…xkcd 14 days ago -
Loading…updates about 1 month ago -
Loading…baxx about 1 year ago -
Loading…monochrom 14 days ago - +76
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
Click here to check if anything new just came in.
October 06 2008
Wordpress auth for DokuWiki broken
Broken again, to be precise. But this time it's DokuWiki's fault. Ok, actually it's PHP's fault. One of the recent commits to the DokuWiki code introduced the function is_ssl(). Unfortunately Wordpress also defines a function with that name and due to the fact that the Wordpress auth module for DokuWiki loads Wordpress, this results in the error:
PHP Fatal error: Cannot redeclare is_ssl() (previously declared in /.../wiki/inc/init.php:378) in /.../wp-includes/functions.php on line 2268
Name collisions. We should be beyond that in 2008. *sigh*
Anyway, I was reluctant to add
if ( !function_exists('is_ssl') ) :
...
endif;
around Wordpress' implementation of is_ssl(), but couldn't think of any better way. At least the two implementations do roughly the same thing, so it seems it will be one more core file that has to be looked into on every update. :-(
