[pmwiki-users] pmwiki and Active Directory

Tom info at aurlund.no
Fri May 15 04:33:21 CDT 2009


Peter & Melodye Bowers skrev:
>> I have tried to do it without using the chr(39)-things, but
>> unfortunately it didn't work.
>> - With the chr(39)-stuff the Main.HomePage was displayed.
>> - Without the chr(39)-stuff all I got was a blank page, obviously some
>> sort of syntax error or something in the script.
>>     
>
> So before you had lines that looked like this:
>
>   
>>>            $idName = chr(39) . "id:" . $idinfo[1] . chr(39);
>>>            $idCode = chr(39) . $idinfo[3] . chr(39);
>>>       
>
> And after you had lines that look like this:
>
>   
>>>            $idName = "id:" . $idinfo[1];
>>>            $idCode = $idinfo[3];
>>>       
>
> Is that right?  And it's still not displaying?  
>
> You'll need to go to your PHP logs and see what error is coming up or else
> turn on error reporting so it will display on the page...
>
> error_reporting(E_ALL); // place this toward the top of your config.php
>
> Or, alternatively, you comment out lines 1-by-1 until it starts working and
> then carefully examine that line to figure out what caused the problem.
>
> -Peter
>
>
>   
("bottom" posting:. :-) )

I have done the following changes in my config.php-file:

On the top:

error_reporting(E_ALL);
And:

## $idName = chr(39) . "id:" . $idinfo[1] . chr(39);
## $idCode = chr(39) . $idinfo[3] . chr(39);

## --------------------------------------------
## -- print "idName = " . $idName . "<br>";  --
## -- print "idCode = " . $idCode . "<br>";  --
## --------------------------------------------

## $DefaultPasswords[$idCode] = $idName;

$DefaultPasswords[$idinfo[3] = "id:" . $idinfo[1];

## print " Access Code: " . $idCode . "<br>";
print " Access Code: " . $idinfo[3] . "<br>";

When I'm trying to access the Main.HomePage I get a blank page
(no contents at all). No source code either..

Since I'm a totaly newbie at pmwiki (and php as well):
Where the *??!?!?* is my php logfile ????!?!?!

Regards,
Tom A.













More information about the pmwiki-users mailing list