[dokuwiki] Re: MySQL authentication config produces blank screen

Michael Klier wrote:
On Sat, Sep 20, 2008 at 01:31:40AM -0500, Whil Hentzen wrote:
- added require_once('mysql.conf.php') to local.protected.php

That wont work (the path is missing) - use the following instead:

require_once(DOKU_CONF.'mysql.conf.php');

AH, that works much better. :) I now see the login screen plain as day.

However, when I try to log in, credentials don't work. "Username/password not found." I have tried two cases:

1. username and password both set to 'al' directly in MySQL
2. username set to 'al' and password left blank, both directly in MySQL

Neither work. I have forwardClearPass set to 1, just for proof of concept.

It would be helpful for some tips on how to investigate this, instead of just getting the answer... That way I can try to figure out the answer to the next question myself! :)

For example, once the login screen appears, how to tell if it's authenticating against MySQL or against the plain DW users.auth.php file?

Whil
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: