Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wiki Broke
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Crimson Rider
Guru
Guru


Joined: 23 Jun 2003
Posts: 462
Location: Delft, the Netherlands

PostPosted: Thu Dec 01, 2005 11:28 am    Post subject: Wiki Broke Reply with quote

Hey guys,

I've been using a wiki for some time now, but suddenly, after a reboot it stopped working properly, it now dot's every page with these:

Code:

Warning: array_map(): The first argument, 'utf8_encode', should be either NULL or a valid callback in /var/www/wiki.bluepelt.net/htdocs/includes/GlobalFunctions.php on line 115

Warning: Invalid argument supplied for foreach() in /var/www/wiki.bluepelt.net/htdocs/includes/GlobalFunctions.php on line 130

Warning: implode(): Bad arguments. in /var/www/wiki.bluepelt.net/htdocs/includes/GlobalFunctions.php on line 133


Any idea what might be the problem here? I've tried google, but it refers to users of PHP5 mostly, I use PHP4 and MySQL 4.1, MySQL has been upgraded a couple of days ago, but it hasn't posed any problems so far. Any one got a clue?
_________________
Code, justify, code - Pitr Dubovich
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Mon May 15, 2006 6:15 pm    Post subject: Reply with quote

Did you ever find a solution?
Back to top
View user's profile Send private message
Sekuhara
n00b
n00b


Joined: 21 May 2004
Posts: 19

PostPosted: Mon May 15, 2006 8:23 pm    Post subject: Reply with quote

Same problem here, appeared after PHP upgrade and then Apache restart.

Wiki works, I just get a few screenfuls of exactly these messages on top of every page.

EDIT: this thread https://forums.gentoo.org/viewtopic-t-391256-highlight-utf8encode.html says dev-lang/php must be emerged with xml use flag, trying it now

EDIT: did help, but I think I had to restart both Apache and MySQL first
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Mon May 15, 2006 9:36 pm    Post subject: Reply with quote

I found a similar thread about enabling xml (and mysql) when reemerging php. Then, to make it all work, I had to recreate the LocalSettings.php file by first deleting it and basically starting over.

The upside, by using the same mysql database, I brought back the original wiki and now everythings is cruising along just fine.

Thanks,
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum