Author Topic: Problems at login  (Read 3714 times)

Offline Ruebezahl

  • Jr. Member
  • **
  • Posts: 11
Problems at login
« on: September 08, 2014, 09:30:51 AM »
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

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365

Offline Ruebezahl

  • Jr. Member
  • **
  • Posts: 11
Re: Problems at login
« Reply #2 on: September 10, 2014, 04:12:55 PM »
Unfortunately i get the same error message than before.....

code in program/lib/Roundcube/rcube_imap.php is now:

Code: [Select]
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

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Problems at login
« Reply #3 on: September 11, 2014, 02:19:16 AM »
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.

Offline Ruebezahl

  • Jr. Member
  • **
  • Posts: 11
Re: Problems at login
« Reply #4 on: September 11, 2014, 07:09:43 AM »
Get the following results after "console($search);" :
after providing userid and password (the result is a blank screen in the browser)

.../logs/console
Code: [Select]
[11-Sep-2014 12:47:47 +0200]: true
.../logs/errors
Code: [Select]
[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
Code: [Select]
[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
Code: [Select]
[11-Sep-2014 12:47:47 +0200]: true
[11-Sep-2014 12:57:37 +0200]: NULL

.../logs/errors
Code: [Select]
[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
Code: [Select]
[11-Sep-2014 12:47:47 +0200]: Successful login for ???????? (ID: 2) from xxx.xxx.xxx.xxx in session ??????????????????????

Regards



Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Problems at login
« Reply #5 on: September 11, 2014, 07:51:27 AM »
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?

Offline Ruebezahl

  • Jr. Member
  • **
  • Posts: 11
Re: Problems at login
« Reply #6 on: September 11, 2014, 08:11:45 AM »
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