Roundcube Community Forum

 

Server Error! (Not Found)

Started by sesardelaisla, July 10, 2009, 11:37:09 AM

Previous topic - Next topic

oldschool

#15
Linux x64 Server, Win Pcs and Apple Macs are here in use.
IE, Firefox, Safari.

Cleared cookies.
Still lost server...

Terminal Addict

#16
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. :)

fuerst

Quote from: csterzi;20501Use 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.

oldschool

Quote from: csterzi;20501Use 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.

rafalm

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

rafalm

OK I resolve this problem

DoveCot Server, send longer header (with FTP )

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)) {

ValeMax

Quote from: rafalm;21128OK I resolve this problem

DoveCot Server, send longer header (with FTP )

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

eNTi

i do have similar issues, any news on this?

madmas

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

bouba

#24
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 :)

The_Invisible

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.

bouba

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 :)

tofinoguy

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.

Chebe

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

ValeMax

Quote from: Chebe;22075Just 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