[pmwiki-users] UserAdmin

j.vampouille at worldonline.fr j.vampouille at worldonline.fr
Sat Aug 20 17:30:29 CDT 2016


I tried your useradmincore:

http://testpmjv.free.fr/index.php5?n=Main.HomePage?action=user
 Parse error: syntax error, unexpected '[' in /mnt/100/sda/1/8/testpmjv/cookbook/useradmin-core.php on line 1206

http://testpmjv.free.fr/index.php?n=Main.HomePage?action=user
  I have the page User account management with nothing else in this page



Other pages are correct with an url in php5 like http://testpmjv.free.fr/index.php5?n=GE.GE
But still generate warnings a the top of the pages in with an url in php http://testpmjv.free.fr/index.php?n=GE.GE due to $UserAdmin->SuperuserFunc = 'Superuser';

  Warning: Creating default object from empty value in /var/www/sda/1/8/testpmjv/local/config.php on line 31

  Warning: Cannot modify header information - headers already sent by (output started at /var/www/sda/1/8/testpmjv/local/config.php:31) in /var/www/sda/1/8/testpmjv/pmwiki.php on line 1240

If I comment #$UserAdmin->SuperuserFunc = 'Superuser';
Each pages are correct.


 

Is this part of code of config.php in the right order? 

#######UserAdmin avec authuser ###############
include_once("$FarmD/cookbook/useradmin-authuser.php");
$UserAdmin->SuperuserFunc = 'Superuser';


#######Authuser tout seul (mais nécessaire pour UserAdmin) ###############
include_once("$FarmD/scripts/authuser.php");            # inclus la méthode authuser pour gérer les mots de passe ?n=SiteAdmin.AuthUser


Does it help?

-Joël









More information about the pmwiki-users mailing list