Hey all,
New to the list and Round Cube. Great job btw!
With the latest download I saw some strange chars to the left of the Round Cube logo so I went looking. The chars are : ''
In the following 2 files there are extra chars befor <?php
program/js/app.js program/localization/index.inc
You can't see them unless you do a 'vi -b program/localization/index.inc'.
I think the Date parser needs a bit of work....I have an old message that is causing errors to be displayed on the main page. None of the other mailers I've used ever showed this. See below for the header.
-- snip -- Message-Id: 200503242333.j2ONXLdL009524@ylpvm25.prodigy.net From: abuse@sbcglobal.net To: mike@ftl.com Date: Date: Tue, 29 Mar 2005 17:32:48 GMT Subject: Port 25 Granted - Please recycle modem for new feed. -- snip --
Round Cube displays the following (With debug set to 5) :
Warning :mktime() expects parameter 5 to be long, string given in roundcubemail/program/lib/imap.inc on line 599
As a stop gap I added the following to iil_StrToTime....
if ( preg_match("/(date: [\w{3}, ]?.*)/i", $str, $matches) ) {
$str = preg_replace("/Date: /", "", $matches[1]);
}
On another note...I'm seeing the following ... Why in another language?
<b>Warning</b>: fopen(./logs/errors) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Datei oder Verzeichnis nicht gefunden in <b>/80gig/webmail/squirrelmail.cvs/roundcubemail/program/include/bugs.inc</b> on line <b>67</b><br /> <b>DB Error in /80gig/webmail/squirrelmail.cvs/roundcubemail/program/include/rcube_db.inc (129):</b> DB Error: unknown error<br /><br />
<b>Warning</b>: fopen(./logs/errors) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Datei oder Verzeichnis nicht gefunden in <b>/80gig/webmail/squirrelmail.cvs/roundcubemail/program/include/bugs.inc</b> on line <b>67</b><br />
<b>DB Error in /80gig/webmail/squirrelmail.cvs/roundcubemail/program/include/rcube_db.inc (204):</b> DB Error: unknown error Query: UPDATE cache SET created=NOW(), data='a:1324:{i:64474;O:14:"iilBasicHeader":24:{s:2:"id";s:4:"1335";s:3:"uid";s:5:"64474";s:7:"subject";s:37:"Re: [ircd-ratbox] random ircd crashes";s:4:"from";s:35:"Aaron Sethman androsyn@ratbox.org";s:2:"to";s:42:"Extroppy AT Yahoo Com extroppy@yahoo.com";s:2:"cc";s:28:"ircd-ratbox@lists.ratbox.org";s:7:"replyto";s:0:"";s:11:"in_reply_to";s:54:"20051023235402.15346.qmail@web33103.mail.mud.yahoo.com";s:4:"date";s:37:"Sun, 23 Oct 2005 23:03:17 -0400 (EDT)";s:9:"messageID";s:52:"Pine.LNX.4.63.0510232301190.5910@squeaker.ratbox.org";s:4:"size";s:5:"24842";s:8:"encoding";s:0:"";s:5:"ctype";s:10:"TEXT/PLAIN";s:5:"flags";s:7:"NonJunk";s:9:"timestamp";d:1130147996;s:1:"f";N;s:4:"seen";b:0;s:7:"deleted";b:0;s:6:"recent";b:0;s:8:"answered";b:0;s:4:"junk";N;s:12:"internaldate";s:20:"23-Oct-2005 19:59:56";s:8:"is_reply";N;s:7:"charset";s:8:"US-ASCII";}i:64473;O:14:"iilBasicHeader":23:{s:2:"id";s:<br />
These must be UTF-8 BOMs. Some systems can't handle them and just print those bytes as part of the file content. I have removed these and committed the changes to the CVS.
Thomas
Mike Smith wrote:
Hey all,
New to the list and Round Cube. Great job btw!
With the latest download I saw some strange chars to the left of the Round Cube logo so I went looking. The chars are : ''
In the following 2 files there are extra chars befor <?php
program/js/app.js program/localization/index.inc
You can't see them unless you do a 'vi -b program/localization/index.inc'.
- Mike