Summary | Fatal error: Call to a member function sessionSetup() on a non-object |
Queue | MIMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | vilius (at) lnk (dot) lt |
Created | 04/21/2007 (6661 days ago) |
Due | |
Updated | 06/12/2007 (6609 days ago) |
Assigned | 04/23/2007 (6659 days ago) |
Resolved | 06/12/2007 (6609 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Notification_Listener_status_imp::setMobileObject() in
/var/www/html/horde/mimp/templates/mailbox/mailbox.inc on line 6,
http://lists.horde.org/archives/cvs/Week-of-Mon-20070611/068560.html
PHP Fatal error: Call to undefined method
Notification_Listener_status_imp::setMobileObject() in
/var/www/html/horde/mimp/templates/mailbox/mailbox.inc on line 6,
referer:
https://mail.lnk.lt/horde/index.php?url=https%3A%2F%2Fmail.lnk.lt%2Fhorde%2Findex.php
However, if I login at first and then link my browser to
https://mydomain.com/horde/dimp/ everything is working as expected.
http://lists.horde.org/archives/cvs/Week-of-Mon-20070604/068392.html
However, if I login at first and then link my browser to
https://mydomain.com/horde/dimp/ everything is working as expected.
IMP_Session::createSession($imapuser, $pass, $ptr['server'], $ptr) on
http://cvs.horde.org/co.php?r=1.46&f=imp%2Flib%2FAuth%2Fimp.php#l68 IS
executed in mimp context. I checked it with Horde::logMessage().
Moreover /imp/lib/base.php is never loaded because function:
IMP::checkAuthentication(true) on
http://cvs.horde.org/co.php?r=1.45&f=mimp%2Flib%2Fbase.php#l28 is
never successfully executed for the same reason above.
I don't know why it works for you or why it works for me when I hit
"refresh page" but from the code I'm seeing it should not work at all.
Maybe I'm missing something? This is where you should step-in and
enlight my poor Horde authentification skills.
something interesting.
-- horde/config/conf.php --
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = true;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['auth']['checkip'] = false;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['driver'] = 'composite';
$conf['auth']['params']['admin_driver'] = 'cyrsql';
$conf['auth']['params']['loginscreen_switch'] = '_horde_select_loginscreen';
$conf['auth']['params']['drivers']['ipmap']['params']['blocks'] =
array('10.1.1.0/24');
$conf['auth']['params']['drivers']['ipmap']['driver'] = 'ipmap';
$conf['auth']['params']['drivers']['cyrsql']['driver'] = 'cyrsql';
$conf['auth']['params']['drivers']['cyrsql']['params'] =
array('cyradmin' => 'removed',
'cyrpass' => 'removed',
'imap_dsn' => '{localhost:993/imap/ssl/novalidate-cert}',
'phptype' => 'mysql',
'socket' => '/var/lib/mysql/mysql.sock',
'protocol' => 'unix',
'hostspec' => 'localhost',
'username' => 'removed',
'password' => 'removed',
'database' => 'mail',
'table' => 'accountuser',
'username_field' => 'username',
'password_field' => 'password',
'domain_field' => 'domain_name',
'encryption' => 'crypt-md5',
'quota' => 512000,
'unixhier' => false,
'folder' => array('Spam')
);
if (!function_exists('_horde_select_loginscreen')) {
function _horde_select_loginscreen()
{
return 'cyrsql';
}
}
As you can see I'm using composite authentication driver. Could this
be the problem?
State ⇒ Feedback
hordeauth on or off, and imp and horde-based auth. This doesn't make
any sense because we always call imp/base.php before we attempt to
create a session, and we always initialize imp_search there. You will
have to track this down on your own to let us know why you are getting
this error.
State ⇒ Assigned
is created and I am finally able to view inbox.
"Welcome, Vilius
Mobile Mail" <- a link
I'm using built-in mobile browser in Sony Ericsson Z610. Also this
happens with Opera Mini.
Does MIMP supposed to intialize imp_search session? I don't remember
that MIMP had search functionality in the past.
State ⇒ Feedback
browser or a desktop browser?
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Queue ⇒ MIMP
Summary ⇒ Fatal error: Call to a member function sessionSetup() on a non-object
Type ⇒ Bug
Fatal error: Call to a member function sessionSetup() on a non-object
in /var/www/horde/imp/lib/Session.php on line 293