[pmwiki-users-de] cookbook/webadmin - wer kann helfen, bitte?

Peter Waldhaeuser peter at waldhaeuser.de
Mon Sep 18 14:02:03 CDT 2006


Hallo liebe pmwiki Gemeinde, 

ich möchte das cookbook Rezept Webadmin testen und erhalte auch unter
PHP 5 mit pmwiki version 2.1.24 die von IanMacGregor beschriebene
Meldung mit dem Lösungsansatz (array) vor dem 2. Argument einzufügen,
jedoch meldet dann mein Browser nur noch Fehler in webadmin php. 

Weiß von Euch jemand, was zu tun ist?

Danke im voraus und viele Grüße
Peter


ps: hier die Fehlermeldung von IanMacGregor: 

I am using pmwiki-2.1.0 and this cookbook recipe does not work. When I
use the URL of my wiki, I get the following errors:

Warning: array_key_exists() [function.array-key-exists]: The second
argument should
be either an array or an object in /var/www/pmwiki/cookbook/webadmin.php
on line 1306

Warning: array_key_exists() [function.array-key-exists]: The second
argument should
be either an array or an object in /var/www/pmwiki/cookbook/webadmin.php
on line 1312

Warning: Cannot modify header information - headers already sent by
(output started at\\ /var/www/pmwiki/cookbook/webadmin.php:1306)
in /var/www/pmwiki/pmwiki.php on line 857

And when I use $WebAdminHomeDir = './'; in config.php, I get a blank
page.

Anyone know how to fix this?


      * Try going to those lines and putting (array) before the second
        argument complained of. That should cast the problematic
        variable as an array. BenWilson April 29, 2006, at 12:46 PM




More information about the pmwiki-users-de mailing list