> Isn't this the a more general fix? > > + $addr = explode(':',$_SERVER['SERVER_NAME']); No this doesn't change anything. The problem occurs when running a command line script - in that case neither SERVER_NAME nor HTTP_HOST are set because there is no HTTP environment, in that case the DOKU_URL is set to ./ which isn't parsable with parse_url(). -- splitbrain.org -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist