[dokuwiki] Re: [BUG] Dokuwiki broken after 'darcs pull'

  • From: "Timo \"Silbär\" Falk" <Timo.Falk@xxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 8 Nov 2005 11:46:43 +0100

Am Tue, 8 Nov 2005 09:57:11 +0100 schrieb Timo "Silbär" Falk:

> Hi!
> 
> I have just done a 'darcs pull' an my wiki is broken :-(
> I think I've found the/one reason: 
> ---- init.php ----
> if ( defined($conf['lang']) ) {
>   require_once(DOKU_INC.'inc/lang/'.$conf['lang'].'/lang.php');
> }
> 
> ---- snip ----

It seems there is an other change that broke my wiki:

----- utf8.php -----
function unicode_to_utf8( &$str ) {

  // init_getID_test causes something to get
  // passed to this function that isn't a string

  if ( !is_string($str) ){
    return;
  }
---- snip ---

Not only /init_getID_test/, but /utf8_strtolower/ *always* pass an array
and /utf8_strtolower/ is called by /getID/ and so /getID/ always returned
an empty string....

If I comment the lines out, everything is like before.

Silbär
-- 
"Wie? Schwanger?!" - http://www.20six.de/silbaer

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: