View previous topic :: View next topic |
Author |
Message |
Crimson Rider Guru


Joined: 23 Jun 2003 Posts: 462 Location: Delft, the Netherlands
|
Posted: Thu Dec 01, 2005 11:28 am Post subject: Wiki Broke |
|
|
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 |
|
 |
gustafson Guru


Joined: 12 Aug 2004 Posts: 430
|
Posted: Mon May 15, 2006 6:15 pm Post subject: |
|
|
Did you ever find a solution? |
|
Back to top |
|
 |
Sekuhara n00b

Joined: 21 May 2004 Posts: 19
|
Posted: Mon May 15, 2006 8:23 pm Post subject: |
|
|
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 |
|
 |
gustafson Guru


Joined: 12 Aug 2004 Posts: 430
|
Posted: Mon May 15, 2006 9:36 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|