Author Topic: Roundcube Freezes  (Read 2639 times)

Offline abisconti3

  • Newbie
  • *
  • Posts: 2
Roundcube Freezes
« on: July 04, 2007, 04:45:31 PM »
Hello,
I have been running rc1 and am having a persistent problem with the entire webmail interface freezing up to the point that I have to close my browser to reset it. It seems like every time this happens, my error log shows the following error:

PHP Warning: mb_convert_encoding() [function.mb-convert-encoding]: Illegal character encoding specified in /.../public_html/rc/program/include/main.inc on line 924

As far as I can tell line 924 is this, but I have never modified it:

$DB->query("DELETE FROM ".get_table_name('messages')."

Please let me know how I can solve this problem. Thanks.

Offline nil

  • Newbie
  • *
  • Posts: 1
Re: Roundcube Freezes
« Reply #1 on: July 12, 2007, 08:52:48 AM »
Hi!

  Not exactly...

.../program/include/main.inc:
Code: [Select]
923  // return if convert succeeded
924  if (($out = mb_convert_encoding($str, $to, $from)) != '')
925   return $out;
926  }

  My Roundcube works well, but I also have this error message in .../logs/error:
[09-Jul-2007 21:28:02] PHP Warning: mb_convert_encoding(): Illegal character encoding specified in /.../roundcubemail/program/include/main.inc on line 924

  No error experienced during usage. It is just appended to the log silently.

Thanks!
Nil.

.../config/db.inc.php:
Code: [Select]
$rcmail_config = array();
$rcmail_config['db_dsnw'] = 'mysql://roundcubemail:********@localhost/roundcubemail';
$rcmail_config['db_dsnr'] = '';
$rcmail_config['db_backend'] = 'db';
$rcmail_config['db_max_length'] = 512000; // 500K
$rcmail_config['db_persistent'] = TRUE;
$rcmail_config['db_table_users'] = 'users';
$rcmail_config['db_table_identities'] = 'identities';
$rcmail_config['db_table_contacts'] = 'contacts';
$rcmail_config['db_table_session'] = 'session';
$rcmail_config['db_table_cache'] = 'cache';
$rcmail_config['db_table_messages'] = 'messages';
$rcmail_config['db_sequence_users'] = 'user_ids';
$rcmail_config['db_sequence_identities'] = 'identity_ids';
$rcmail_config['db_sequence_contacts'] = 'contact_ids';
$rcmail_config['db_sequence_cache'] = 'cache_ids';
$rcmail_config['db_sequence_messages'] = 'message_ids';

.../config/main.inc.php:
Code: [Select]
$rcmail_config = array();
$rcmail_config['debug_level'] = 1;
$rcmail_config['enable_caching'] = TRUE;
$rcmail_config['message_cache_lifetime'] = '10d';
$rcmail_config['auto_create_user'] = TRUE;
$rcmail_config['default_host'] = 'ssl://localhost:993';
$rcmail_config['default_port'] = 993; // 143;
$rcmail_config['username_domain'] = '';
$rcmail_config['mail_domain'] = '[url]www.example.com';[/url]
$rcmail_config['virtuser_file'] = '';
$rcmail_config['virtuser_query'] = '';
$rcmail_config['smtp_server'] = '';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '';
$rcmail_config['smtp_pass'] = '';
$rcmail_config['smtp_auth_type'] = '';
$rcmail_config['smtp_log'] = TRUE;
$rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size');
$rcmail_config['skin_path'] = 'skins/default/';
$rcmail_config['temp_dir'] = 'temp/';
$rcmail_config['log_dir'] = 'logs/';
$rcmail_config['session_lifetime'] = 10;
$rcmail_config['ip_check'] = false;
$rcmail_config['double_auth'] = false;
$rcmail_config['des_key'] = '89176324;\[]=18712____12';
$rcmail_config['locale_string'] = 'hu';
$rcmail_config['date_short'] = 'D H:i';
$rcmail_config['date_long'] = 'Y-m-d H:i:s';
$rcmail_config['date_today'] = 'H:i';
$rcmail_config['useragent'] = 'RoundCube Webmail/0.1-rc1';
$rcmail_config['product_name'] = 'RoundCube Webmail @example.com';
$rcmail_config['imap_root'] = '';
$rcmail_config['drafts_mbox'] = 'Drafts';
$rcmail_config['junk_mbox'] = 'Junk';
$rcmail_config['sent_mbox'] = 'Sent';
$rcmail_config['trash_mbox'] = 'Trash';
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
$rcmail_config['protect_default_folders'] = TRUE;
$rcmail_config['skip_deleted'] = true; // FALSE;
$rcmail_config['read_when_deleted'] = TRUE;
$rcmail_config['flag_for_deletion'] = TRUE;
$rcmail_config['enable_spellcheck'] = TRUE;
$rcmail_config['spellcheck_uri'] = '';
$rcmail_config['spellcheck_languages'] = NULL;
$rcmail_config['generic_message_footer'] = '';
$rcmail_config['mail_header_delimiter'] = NULL;
$rcmail_config['dont_override'] = array();
$rcmail_config['javascript_config'] = array('read_when_deleted', 'flag_for_deletion');
$rcmail_config['include_host_config'] = FALSE;
/***** these settings can be overwritten by user's preferences *****/
$rcmail_config['pagesize'] = 40;
$rcmail_config['timezone'] = 1;
$rcmail_config['dst_active'] = TRUE;
$rcmail_config['prefer_html'] = TRUE;
$rcmail_config['prettydate'] = TRUE;
$rcmail_config['message_sort_col'] = 'date';
$rcmail_config['message_sort_order'] = 'DESC';
$rcmail_config['draft_autosave'] = 300;

-- System Information:
Code: [Select]
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8

Package: libapache2-mod-php4
Version: 4:4.3.10-22

Versions of packages libapache2-mod-php4 depends on:
ii apache2-mpm-prefork  2.0.54-5sarge1   traditional model for Apache2
ii libbz2-1.0      1.0.2-7      high-quality block-sorting file co
ii libc6         2.3.2.ds1-22sarge6 GNU C Library: Shared libraries an
ii libcomerr2      1.37-2sarge1    common error description library
ii libdb4.2       4.2.52-18     Berkeley v4.2 Database Libraries [
ii libexpat1       1.95.8-3      XML parsing C library - runtime li
ii libkrb53       1.3.6-2sarge5   MIT Kerberos runtime libraries
ii libmagic1       4.12-1sarge1    File type determination library us
ii libpcre3       4.5-1.2sarge1   Perl 5 Compatible Regular Expressi
ii libssl0.9.7      0.9.7e-3sarge4   SSL shared libraries
ii libzzip-0-12     0.12.83-4     library providing read access on Z
ii mime-support     3.28-1       MIME files 'mime.types' & 'mailcap
ii php4-common      4:4.3.10-22    Common files for packages built fr
ii zlib1g        1:1.2.2-4.sarge.2 compression library - runtime

Offline Jesko

  • Newbie
  • *
  • Posts: 1
Re: Roundcube Freezes
« Reply #2 on: August 02, 2007, 10:28:40 AM »
I have an other freeze-problem. After downloading a attached file the whole rc freezes. Only thing I can do at this time is to reload the whole site.

Any suggestions?

Greeting, Jesko

Offline abisconti3

  • Newbie
  • *
  • Posts: 2
Re: Roundcube Freezes
« Reply #3 on: August 06, 2007, 06:01:06 PM »
Jesko,
That is exactly what happens to me and I can't figure out how to fix it.