About
Lonely Boy
Friends
-
Loading…funkie-junkie 7 days ago -
Loading…cygenb0ck about 5 hours ago -
Loading…peterpur about 1 month ago -
Loading…zombiekrasko about 18 hours ago -
Loading…acid about 5 hours ago -
Loading…foosel about 1 month ago -
Loading…leyrer about 10 hours ago -
Loading…gifluv about 21 hours ago -
Loading…melkor 10 months ago -
Loading…phaedrus 3 days ago -
Loading…phreak20 5 months ago -
Loading…baxx about 1 year ago -
Loading…karolariegler about 1 year ago -
Loading…monochrom 14 days ago -
Loading…tosha 15 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. :-(
