Fwd: RE: Errors launching MIMP - Latest CVS
Jan Schneider <[email protected]> Sun, 15 Feb 2004 18:09:27 +0100
| Newsgroups | gmane.comp.horde.mimp |
|---|---|
| Message-ID | <[email protected]> |
----- Weitergeleitete Nachricht von [email protected] ----- Datum: Sun, 15 Feb 2004 10:56:02 -0600 Von: "Michael W. Jones" <[email protected]> Antwort an: "Michael W. Jones" <[email protected]> Betreff: RE: [mimp] Errors launching MIMP - Latest CVS An: 'Jan Schneider' <[email protected]> I dug through the archives (GMANE didn't go far enough back) and grabbed this code and deposited it in my horde/config/conf.php file: $conf['auth']['driver'] = 'composite'; $conf['auth']['params'] = array( 'drivers' => array('imp' => array('driver' => 'application', 'params' => array('app' => 'imp')), 'mimp' => array('driver' => 'application', 'params' => array('app' => 'mimp')), 'loginscreen_switch' => '_horde_select_loginscreen', ); if (!function_exists('_horde_select_loginscreen')) { function _horde_select_loginscreen() { require_once HORDE_BASE . '/lib/Browser.php'; $browser = &new Browser(); if ($browser->isMobile()) { return 'mimp'; } return 'imp'; } } If I comment it out and set the driver to application and point it to IMP, the standard web browser works fine. If I uncomment it, I get "A fatal error has occurred You must configure a DataTree backend to use Horde." error message on both my WAP phone and web browser. Datatree is configured correctly, since it works fine without the browser detection code. I have logging set to DEBUG, and this is the error I was able to capture: Feb 15 10:46:32 HORDE [debug] [imp] SQL Query by DataTree_sql::_load(): SELECT category_id, category_parents FROM horde_categories WHERE category_name = 'problem' AND group_uid = 'horde.perms' ORDER BY category_id [on line 112 of "/usr/share/pear/Horde/DataTree/sql.php"] Framework was just re-installed prior to this test, along with a CVS update. It appears that this reference to /lib/Browser.php may be part of the problem, since I see in CVS that Browser.php is now in Framework. Any assistance would be appreciated. Mike Jones -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jan Schneider Sent: Sunday, February 15, 2004 5:28 AM To: [email protected] Subject: Re: [mimp] Errors launching MIMP - Latest CVS Zitat von "Michael W. Jones" <[email protected]>: > I just got a new wireless phone, and installed the latest CVS of MIMP into > my test enviornment to see if I can make it work. So, far, I cannot. > > If I try to connect to http://www.example.com/horde-devel/mimp/ from my > desktop browser, I am getting this URL in my title bar: > > http://www.example.com/horde-devel/mimp/login.php?url=%2Fhorde-devel%2Fmimp% > 2Flogin.php%3Furl%3D%252Fhorde-devel%252Fmimp%252Flogin.php%253Furl%253D%252 > Likewise, it responds with a 404 Not Found message. Try fixing your other problems first. > If I try the connection from my WAP capible phone, I get: > > Warning: Failed opening 'Horde.php' for inclusion > (include_path='.:/usr/share/pear') in /usr/share/horde-devel/lib/core.php on > line 35 > Warning: Failed opening 'Horde/Registry.php' for inclusion > (include_path='.:/usr/share/pear') in /usr/share/horde-devel/lib/core.php on > line 36 > Fatal error: Undefined class name 'registry' in > /usr/share/horde-devel/mimp/lib/base.php on line 26 > > I have made sure Horde/Framework are also updated with the latest versions. But you didn't install the framework packages. > One comment, it would be nice if MIMP disregarded the login application > setting of Horde, otherwise if I move this to a production environment, I > would have to install 2 separate copies of Horde for my authentication; one > for normal web browsers with IMP, the other for MIMP on WAP devices. See the mimp mailing list archives for the correct solution to this problem. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - Neue Wege des Lernens http://www.tip4all.de - Deine private Tippgemeinschaft -- mimp mailing list - Join the hunt: http://horde.org/bounties/#mimp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected] ----- Ende der weitergeleiteten Nachricht ----- Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - Neue Wege des Lernens http://www.tip4all.de - Deine private Tippgemeinschaft -- mimp mailing list - Join the hunt: http://horde.org/bounties/#mimp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]