Author Topic: Messages not cacheing in the db - using SVN 541  (Read 2311 times)

Offline paritycheck

  • Jr. Member
  • **
  • Posts: 36
Messages not cacheing in the db - using SVN 541
« on: April 24, 2007, 09:38:30 AM »
Hi guys a mega thumbs up to teh roundcube mail team. I was using the release and all of a sudden switched over to the SVN 541. For some reason its not cacheing the messages even though I've set up the config main.inc.php to do so. My main.inc.php file settings look like this:

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'] = 'mail.eim.ae';

$rcmail_config['default_port'] = 143;

$rcmail_config['username_domain'] = 'ramjetops@eim.ae';

$rcmail_config['mail_domain'] = '';

$rcmail_config['virtuser_file'] = '';

$rcmail_config['virtuser_query'] = '';

$rcmail_config['smtp_server'] = 'mailv.emirates.net.ae';

$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'] = TRUE;

$rcmail_config['des_key'] = 'rcmail-!24ByteDESkey*Str';

$rcmail_config['locale_string'] = 'en';

$rcmail_config['date_short'] = 'D H:i';

$rcmail_config['date_long'] = 'd.m.Y H:i';

$rcmail_config['date_today'] = 'H:i';

$rcmail_config['useragent'] = 'RoundCube Webmail/0.1b';

$rcmail_config['product_name'] = 'RoundCube Webmail';

$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'] = 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;
$rcmail_config['pagesize'] = 40;
$rcmail_config['timezone'] = 1;
$rcmail_config['dst_active'] = TRUE;
$rcmail_config['prefer_html'] = TRUE;
$rcmail_config['htmleditor'] = TRUE;
$rcmail_config['prettydate'] = TRUE;
$rcmail_config['message_sort_col'] = 'date';
$rcmail_config['message_sort_order'] = 'DESC';
$rcmail_config['draft_autosave'] = 300;
$rcmail_config['preview_pane'] = TRUE;


This was working fine in the release I dunno why it isn't working here in the SVN - I really need this facility to work. Plus what do I have to do to make sure that the cached messages do not get deleted ever...

 :)

Offline paritycheck

  • Jr. Member
  • **
  • Posts: 36
Re: Messages not cacheing in the db - using SVN 541
« Reply #1 on: April 24, 2007, 10:08:57 AM »
uh never mind I think I found the problem.. just dropepd my db and created a new one from teh mysql.initial.sql file working great now :D false alarm

Thanks anyway