Hello,
I get at login a blank screen and after calling Roundcube again, everything runs fine.
Found following entry in the error logPHP Fatal error fot the login time:
Call to a member function get_compressed() on a non-object in /srv/www/intern/tools/roundcube/program/lib/Roundcube/rcube_imap.php on line 1294.
Any idea how to fix this issue?
Roundcube fersion is 1.0.2.
Regards
https://github.com/roundcube/roundcubemail/commit/c489cc14797942fa8940e6451a964db875eb00a2
Unfortunately i get the same error message than before.....
code in program/lib/Roundcube/rcube_imap.php is now:
public function index_direct($folder, $sort_field = null, $sort_order = null, $search = null)
{
if (!empty($search)) {
// $search = $this->search_set->get_compressed();
$search = $search->get_compressed();
}
Regards
Strange. Add console($search); on the beginning of this method and check logs/console to see what actually $search is. You could also enable imap_debug and provide the log.
Get the following results after "console($search);" :
after providing userid and password (the result is a blank screen in the browser)
.../logs/console
[11-Sep-2014 12:47:47 +0200]: true
.../logs/errors
[11-Sep-2014 10:47:47 UTC] PHP Fatal error: Call to a member function get_compressed() on a non-object in /srv/www/intern/tools/roundcube/program/lib/Roundcube/rcube_imap.php on line 1296
.../logs/userlogin
[11-Sep-2014 12:47:47 +0200]: Successful login for ???????? (ID: 2) from xxx.xxx.xxx.xxx in session ??????????????????????
after closing the browser tab and recall Roundcube (i do not need to enter userid and password again)
..../logs/debug
[11-Sep-2014 12:47:47 +0200]: true
[11-Sep-2014 12:57:37 +0200]: NULL
.../logs/errors
[11-Sep-2014 10:47:47 UTC] PHP Fatal error: Call to a member function get_compressed() on a non-object in /srv/www/intern/tools/roundcube/program/lib/Roundcube/rcube_imap.php on line 1296
.../logs/userlogin
[11-Sep-2014 12:47:47 +0200]: Successful login for ???????? (ID: 2) from xxx.xxx.xxx.xxx in session ??????????????????????
Regards
This is strange. index_direct() method is called only once in the code with 4th argument. I don't see how it's possible it is boolean true. Do you test with disabled all plugins?
That was a good idea...
Found one self written plugin, which works well up to 1.0 is the creator of this problem. Need to research now, what is going wrong there...
Many thanks.
Regards