Author Topic: Server Error! (Not Found)  (Read 23848 times)

Offline oldschool

  • Sr. Member
  • ****
  • Posts: 406
Server Error! (Not Found)
« Reply #15 on: August 13, 2009, 11:41:02 AM »
Linux x64 Server, Win Pcs and Apple Macs are here in use.
IE, Firefox, Safari.

Cleared cookies.
Still lost server...
« Last Edit: August 13, 2009, 12:34:27 PM by oldschool »

Offline Terminal Addict

  • Newbie
  • *
  • Posts: 5
Server Error! (Not Found)
« Reply #16 on: August 13, 2009, 01:33:13 PM »
I think it may be a similar issue as I experienced.

The function search() in program/include/rcube_imap.php gets results from _search_index(), which gets results from iil_C_Sort or iil_C_Search, which return an array.

All functions involved have the potential of also simply returning false.

If it's the same issue as I had with rcube_ldap.php, then whatever is calling search() is expecting an array to be returned, so false causes an error.

I could be wrong. :)
« Last Edit: August 13, 2009, 01:34:18 PM by Terminal Addict »

Offline fuerst

  • Newbie
  • *
  • Posts: 2
Server Error! (Not Found)
« Reply #17 on: August 18, 2009, 06:10:20 AM »
Quote from: csterzi;20501
Use the installer to find problems in your php.ini
On my server the date.timezone and suhosin.session.encrypt were not set in my php.ini
So I set date.timezone to "EUROPE/BERLIN" an suhosin.session.encrypt to 0
This have done it to me! All works fine!
That tip helped me, thanks!

One extension: You must use Europe/Berlin instead of EUROPE/BERLIN to get Roundcube use this setting. See PHP: date_default_timezone_set - Manual for the possible values.

Offline oldschool

  • Sr. Member
  • ****
  • Posts: 406
Server Error! (Not Found)
« Reply #18 on: August 20, 2009, 03:05:45 PM »
Quote from: csterzi;20501
Use the installer to find problems in your php.ini
On my server the date.timezone and suhosin.session.encrypt were not set in my php.ini
So I set date.timezone to "EUROPE/BERLIN" an suhosin.session.encrypt to 0
This have done it to me! All works fine!


"date" and "encrypt" tested, but the error is still there...

I donĀ“t really get it.
The 0.2.2 worx great.
Why the 0.3 not?


Rgds.

Offline rafalm

  • Newbie
  • *
  • Posts: 2
Server Error! (Not Found)
« Reply #19 on: September 09, 2009, 05:12:10 AM »
I have this error in installer, when test imap connection

Connecting to localhost...
IMAP connect:  NOT OK(Wrong startup greeting (localhost:143): FTP
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot ready.
)

I use Dovecot
In prev version 0.3-beta i all good ;)

in apache error.log

[Wed Sep 09 10:21:53 2009] [warn] mod_fcgid: stderr: PHP Notice:  Wrong startup greeting (localhost:143): FTP
[Wed Sep 09 10:21:53 2009] [warn] mod_fcgid: stderr: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot ready.
[Wed Sep 09 10:21:53 2009] [warn] mod_fcgid: stderr:  in /var/www/test/http/roundcubemail-0.3-stable/program/include/bugs.inc on line 86



What is wrong ?
webmail is connect to imap, db connection is good too

Offline rafalm

  • Newbie
  • *
  • Posts: 2
Server Error! (Not Found)
« Reply #20 on: September 10, 2009, 03:45:54 AM »
OK I resolve this problem

DoveCot Server, send longer header (with FTP )
Code: [Select]

FTP
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot ready.

and roundcube check only first chars

in program/lib/imap.inc

if (!preg_match('/^\* (OK|PREAUTH)/i'$line)) {

must by

if (!preg_match('/\* (OK|PREAUTH)/i'$line)) {

Offline ValeMax

  • Newbie
  • *
  • Posts: 2
Server Error! (Not Found)
« Reply #21 on: September 10, 2009, 04:16:54 AM »
Quote from: rafalm;21128
OK I resolve this problem

DoveCot Server, send longer header (with FTP )
Code: [Select]

FTP
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot ready.

and roundcube check only first chars

in program/lib/imap.inc

if (!preg_match('/^\* (OK|PREAUTH)/i'$line)) {

must by

if (!preg_match('/\* (OK|PREAUTH)/i'$line)) {


Sorry, but in my case, this not solve problem.
Also I, from time to time, cannot see any message listed in right pane, while in left pane, message not read are not counted

Offline eNTi

  • Newbie
  • *
  • Posts: 5
Server Error! (Not Found)
« Reply #22 on: September 13, 2009, 04:40:00 PM »
i do have similar issues, any news on this?

Offline madmas

  • Newbie
  • *
  • Posts: 1
Server Error! (Not Found)
« Reply #23 on: September 15, 2009, 03:50:53 AM »
Hi,
I'm getting those wierd messages, too. any new here?

I'm running 0.3 stable on Ubuntu x64 with Cyrus IMAP

cheers,
 madmas

Offline bouba

  • Jr. Member
  • **
  • Posts: 11
Server Error! (Not Found)
« Reply #24 on: September 17, 2009, 03:20:34 PM »
Hi all!

I've same problem here. Login works well, butt as soon as appear the inbox, appear the problem, if i change folder appear only the error, but if i click in "preferences" for example, appear the login page.

The system doesn't works anymore only after a dist-upgrade of my debian testing system (done yesterday). I've cleaned the cache and message in the RC db.

This is the console:
[17-Sep-2009 21:08:24 +0200]: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready.Tried PLAIN: Resource id #45

[17-Sep-2009 21:08:26 +0200]: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready.Tried PLAIN: Resource id #49

This is the "error" log:
no errors

I've tried to remove php5-suhosin, but nothing. Only if i return before the dist-upgrade all works well.

thanks bye


--------------------------------
edit:

ops... sorry. I fixed the problem following the great instruction of csterzi ( http://www.roundcubeforum.net/issues-bugs/5007-server-error-not-found-2.html#post20501 )

Thanks :)
« Last Edit: September 17, 2009, 03:28:44 PM by bouba »

Offline The_Invisible

  • Newbie
  • *
  • Posts: 1
Server Error! (Not Found)
« Reply #25 on: September 22, 2009, 09:28:41 AM »
The problem is related to suhosin, more precisely the suhosin.session.encrypt option since version 0.3. Just set it to 0 and the error is gone.

Would be nice if it would be mentioned in the install / upgrade procedure.

Offline bouba

  • Jr. Member
  • **
  • Posts: 11
Server Error! (Not Found)
« Reply #26 on: September 22, 2009, 04:40:26 PM »
ummm.... i think it's "date.timezone" the problem, because i've re-enabled suhosin (i would like to meet who assigned the name....) but RC 3 works well.

bye :)

Offline tofinoguy

  • Jr. Member
  • **
  • Posts: 30
Server Error! (Not Found)
« Reply #27 on: September 29, 2009, 04:15:56 PM »
I noticed that I only receive this error if message caching is turned off.
Unfortunately turning message caching on seems to break a number of other things so I do need to leave it off.
I have updated the php.ini file as suggested and am still receiving the error.

Offline Chebe

  • Newbie
  • *
  • Posts: 5
Server Error! (Not Found)
« Reply #28 on: October 12, 2009, 01:04:40 AM »
Just to continue the thread :
apache 2.2.11 php 5.2.11+suhosin
suhosin encrypt is at '0' in .htaccess
date.time is set in php.ini plugin markasjunk is active.
I do get the Server Error ! mesage if I log in using https
It's working like a charm if I do not use SSL ...

Hope this helps solve the issue

Offline ValeMax

  • Newbie
  • *
  • Posts: 2
Server Error! (Not Found)
« Reply #29 on: October 13, 2009, 09:32:48 AM »
Quote from: Chebe;22075
Just to continue the thread :
apache 2.2.11 php 5.2.11+suhosin
suhosin encrypt is at '0' in .htaccess
date.time is set in php.ini plugin markasjunk is active.
I do get the Server Error ! mesage if I log in using https
It's working like a charm if I do not use SSL ...

Hope this helps solve the issue


Me too get this problem with https