On Feb 12, 2010, at 7:42 AM, Till Kinstler wrote:
>> I need to use the DB account feature, but every time I try filling out the account creation form and hit the submit button, a blank form gets returned to me.
>
> Hmmm, strange. You don't get any error message? What URL does your
> browser show in the location bar when you get that empty page?
Correct. No error message. The page just comes back with a blank form. For example, try:
http://vufind.library.nd.edu/index.php?module=MyResearch&action=Account
>> Looking in the MyResearch/Account.php file, I see there is an empty function. Do I need to enter something into this function?
>
> No. The empty constructor just does nothing, that's fine in that case.
> MyResearch/Account.php hasn't changed since SVN r1816. That was before
> RC2. And for me account creation works in RC2 and later with DB
> authentication. So there may be some issue with your specific setup...
Okay. My specific set-up. I will look around some more.
>> Put another way, the processInput function found in Account.php never seems to get executed.
>
> Have you tried some kind of debug output in processInput()? If it really
> isn't called one of the following conditions must be true:
> - clicking "submit" on the account creation page doesn't take you to
> MyResearch/Account again
> - in config.ini in the [Authentication] method is not set to DB (or for
> whatever reason your VuFind installation doesn't know at line 41 in
> Account.php it is set to DB)
> - clicking "submit" on the account creation page doesn't POST a "submit"
> parameter back to MyResearch/Account
> These are the conditions checked before processInput() is executed in
> Account.php. So check by adding some brute force debugging output to
> Account.php if these conditions are met, eg. by adding
> print_r($_POST);
> print_r($configArray);
> at the beginning (but behind global $configArray) of function launch()
> in Account.php...
This is helpful. 'More later.
> Hmm: What user interface theme are you using?
The out-of-the-box default interface. I have done no user interface customization, yet.
--
Eric Morgan
|