From: Stethers, L. <lst...@we...> - 2014-10-22 14:42:44
|
Ere, That was it! Thank you very much. Lori -----Original Message----- From: Ere Maijala [mailto:ere...@he...] Sent: Wednesday, October 22, 2014 2:26 AM To: vuf...@li... Subject: Re: [VuFind-General] multibackend + multiils: Call to a member function patronLogin() on a non-object The MultiBackend driver has been greatly modified since the release of VuFind 2.3, and I have more experience only with the later version, but it looks to me like your MultiBackend.ini is not quite right. I believe you should have something like this in [Login]: [Login] default_driver = wu drivers[] = wu --Ere 21.10.2014 22.38, Stethers, Lori kirjoitti: > I'm Setting up VuFind 2 for our consortium. In my initial setup it was > it working for a single institution when using with the VoyagerRestful > driver. But now I'm taking the next step to set up MultiBackend with > MultiILS as the Authentication method. > > After attempting login to VuFind, the apache error log shows: > > PHP Fatal error: Call to a member function patronLogin() on a > non-object in > /usr/local/vufind2/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php > on line 573, referer: http://ctwfind0.wesleyan.edu/wesleyan/MyResearch/Home > > For reference, here is line 573 and the few before it from MultiBackend.php: > > if ($pos > 0) { > > $key = $this->getSource($username, $this->delimiters['login']); > > $user = $this->getLocalID($username, > $this->delimiters['login']); > > $login = $this->getDriver($key)->patronLogin($user, $password); > > I'm not completely sure that I set up the [Login] section correctly in > MultiBackend.ini, so I fear that may be the cause (even though that > doesn't quite make sense given the error message). Relevant excerpts > from MultiBackend.ini : > > [Drivers] > > wu = VoyagerRestful > > [Delimiters] > > login = "." > > [Login] > > default_driver = wu > > drivers[wu] = Wesleyan University > > Thanks for any help! > > Lori Stethers > > Wesleyan University, Middletown, CT > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > > > > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general > -- Ere Maijala Kansalliskirjasto / The National Library of Finland ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ VuFind-General mailing list VuF...@li... https://lists.sourceforge.net/lists/listinfo/vufind-general |