Running v0.2 stable and get a message popup that it could not move the message between folders. It will actually move the message successfully so what is going on.
I have the automatic folder creating switched on. Also tried it an older version 0.1-RC1 and in squirrelmail and both work just fine.
Any help will be appreciated.
_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_022…
_______________________________________________
List info: http://lists.roundcube.net/users/
On Feb 20, 2009, at 9:19 AM, Yochai Meir wrote:
> But when the executable bit is set I get white pages.
That sounds like you have "display_errors = Off" in your php.ini
file, and some kind of PHP error is being generated.
Either turn on the display of errors ( only during troubleshooting,
turn them off after ) or find the errors in the log file.
The log file is likely /var/log/httpd/error_log, unless you have
changed it.
A common way for me to track errors is to
tail -f /var/log/error_log
in a terminal, which lets me see any errors as I access the PHP
application.
HTH.
--
Charles Dostale
System Admin - Silver Oaks Communications
http://www.silveroaks.com/
824 17th Street, Moline IL 61265
_______________________________________________
List info: http://lists.roundcube.net/users/
On Feb 20, 2009, at 12:55 AM, Yochai Meir wrote:
> The config folder is
> drw-rw-r-- 2 apache users 4096 Feb 20 03:19 config
That is your problem.
Directories need the executable bit set.
The config directory should be :
drwxr-xr-x
I would "sudo chmod 755 config" and try again.
--
Charles Dostale
System Admin - Silver Oaks Communications
http://www.silveroaks.com/
824 17th Street, Moline IL 61265
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi everybody,
I have the stable release of roundcube. I have a problem when I try to
search emails in a folder name with characters like à,á,ò,ó,...
The problem is that in the 'tàs' folder for example, the http-request
makes something like:
> (Request-Line) GET
> /?_task=mail&_action=search&_q=search_text&_mbox=t&_remote=1 HTTP/1.1
The mbox is 'tàs' and as you can see, the mbox field appears 't'. I
think that the problem is in the charset, but in the code of the
'search.inc' file I have changed the '$imap_charset' field. By default
the imap_charset is set to UTF-8 and I have changed to 'ISO-8859-11',
'ISO-8859-1', '8859-1', '8859-11' and nothing works.
Is possible that the problem goes with the navigator? I mean, I have
changed the charset for the navigator too. But probably this change it's
only for the text shown, and not for the http-request sent. Have this
any sense?
Thank's in advance.
-- Roger Castells
_______________________________________________
List info: http://lists.roundcube.net/users/
Hey,
I tried to install roundcube on CentOS server, it all works fine till step
3, then I get
"main.inc.php: NOT OK(Unable to read file. Did you create the config
files?)
db.inc.php: NOT OK(Unable to read file. Did you create the config files?)"
My config:
"ls -l config
total 48
-rw-rw-r-- 1 apache users 2217 Feb 20 01:44 db.inc.php
-rw-rw-r-- 1 apache users 2191 Feb 20 03:19 db.inc.php.dist
-rw-rw-r-- 1 apache users 16940 Feb 20 02:52 main.inc.php
-rw-rw-r-- 1 root root 16844 Feb 20 03:19 main.inc.php.dist"
Also tried without write.
What am I doing wrong ?
_______________________________________________
List info: http://lists.roundcube.net/users/
>
> Works for me. Some errors in the log?
Here is what I found in the error log:
PHP Fatal error: Call to a member function quoteIdentifier() on a non-object in program/include/rcube_contacts.php on line 192
Thanks.
_______________________________________________
List info: http://lists.roundcube.net/users/
I usually update my roundcube mail instance every day to the latest revision in SVN. I updated like normal this morning to revision 2301 and I was unable to read any email using roundcube. After clicking on a message I got the "Loading..." message at the top and roundcube just timed out after a while on every message. After reverting back to revision 2298 I was able to read email again like normal. I was not sure where to report this so I thought I should post here. If there are any more details you need please let me know.
Thanks!
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi all,
I want to add a vacation responder (i.e. the possibility to save a string
to my db representing the text to display when the user set the
auto-responder
on) to my Roundcube installation.
I find some examples of vacation plugins on the forum, but they are
not as I want it: I need a plugin that uses only Roundcube and read/write
the text message of the responder from/to a db. (while the other responders
use cPanel or COM or others...)
I tried to implement the plugin basing my code on the changepasswd plugin
(see
http://wheaties.us/blog/2008/12/21/change-password-roundcube/).
The problem is that using this code I cannot show the current value of the
vacation
responder text on the browser page, while I'm able to change it in the db.
Here is what I tried to write:
--- File program/steps/settings/vacationresp.inc --- (new)
<?php
$OUTPUT->set_pagetitle(rcube_label('vacationresp'));
$OUTPUT->add_handler('vacationresp', 'rcmail_vacationresp_form');
// $OUTPUT->include_script('vacationresp.js');
$OUTPUT->add_label('vacationfailed','vacationchanged');
$OUTPUT->send('vacationresp');
function rcmail_vacationresp_form($attrib) {
list($form_start, $form_end) = get_form_tags($attrib,
'save_vacationresp');
unset($attrib['form']);
// return the complete edit form as table
$out = $form_start;
$table = new html_table(array('cols' => 2));
if (!isset($no_override['curvacation']))
{
$field_id = 'rcmfd_curvac';
//$input_curvac = new html_textarea(array('name' => '_curvacation',
'id' => $field_id));
$input_curvac = new html_textarea(array('name' => '_curvacation',
'id' => $field_id, 'size' => 40));
$table->add('title', html::label($field_id,
Q(rcube_label('curvacation'))));
//$table->add(null, $input_curvac->show());
$table->add(null, $input_curvac->show('_vacation'));
// $table->add(null, $input_curvac->show($show_vacation));
}
$out .= $table->show($attrib);
$out .= $form_end;
return $out;
}
?>
--- File program/steps/settings/save_vacationresp.inc --- (new)
<?php
require_once('plugins/vacationresp/config.inc.php');
$old_vac = $_POST['_curvacation'];
$sql_select = str_replace(array('%u'),
array($_SESSION['username']),
$vacationresp_config['sql_select']);
$sql_update = str_replace(array('%u', '%o'),
array($_SESSION['username'], $old_vac),
$vacationresp_config['sql_update']);
$user_db = new rcube_mdb2($vacationresp_config['db_dsnw'],
$vacationresp_config['db_dsnr'], $vacationresp_config['db_persistent']);
$user_db->db_connect('w');
if ($err_str = $user_db->is_error()) {
raise_error(array(
'code' => 603,
'type' => 'db',
'message' => $err_str), FALSE, TRUE);
}
$user_db->query($sql_select);
if ($user_db->num_rows() == 1) {
$updated = false;
$updated = $user_db->query($sql_update);
if ($updated) {
$OUTPUT->show_message('vacationchanged', 'confirmation');
}
else {
$OUTPUT->show_message('vacationfailed', 'error');
}
}
else {
$OUTPUT->show_message('vacationfailed', 'error');
}
rcmail_overwrite_action('vacationresp');
?>
--- File program/js/app.js --- (modified)
case 'settings':
this.enable_command('preferences', 'identities', 'save', 'folders',
'changepasswd', 'vacationresp', true);
if (this.env_action='vacationresp')
this.enable_command('save_vacationresp', true);
case 'vacationresp':
this.goto_url('vacationresp');
break;
case 'save_vacationresp':
this.gui_objects.editform.submit();
break;
--- File program/plugins/vacationresp/config.inc.php --- (new)
<?php
$vacationresp_config = array();
$vacationresp_config['db_dsnw'] =
'mysql://roundcube:round@localhost/roundcubemail';
$vacationresp_config['db_dsnr'] = '';
$vacationresp_config['db_persistent'] = FALSE;
$vacationresp_config['sql_select'] = "SELECT username FROM users WHERE
username = '%u';";
$vacationresp_config['sql_update'] = "UPDATE users SET vacation = '%o'
WHERE username = '%u';";
?>
--- File program/plugins/vacationresp/vacationresp.php
<?php
class vacationresp extends rcube_plugin
{
function init()
{
// preperation for Plugin API
// not used yet
}
}
?>
--- File skins/default/templates/vacationresp.html --- (new)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><roundcube:object name="pagetitle" /></title>
<roundcube:include file="/includes/links.html" />
<link rel="stylesheet" type="text/css" href="/settings.css" />
<script type="text/javascript" src="/functions.js"></script>
</head>
<body onload="rcube_init_settings_tabs()">
<roundcube:include file="/includes/taskbar.html" />
<roundcube:include file="/includes/header.html" />
<roundcube:include file="/includes/settingstabs.html" />
<div id="userprefs-box">
<div id="userprefs-title"><roundcube:label name="vacation" /></div>
<div style="padding:15px 0 15px 15px">
<roundcube:object name="vacationresp" />
<div style="clear:left"></div>
</div>
</div>
<p id="listbuttons"><roundcube:button command="save_vacationresp"
type="input" class="button mainaction" label="save" /></p>
</body>
</html>
--- File skins/default/includes/settingstabs.html --- (modified)
<span id="settingstabvacationresp" class="tablink"><roundcube:button
command="vacationresp" type="link" label="vacation" title="vacationresp"
class="tablink" /></span>
Someone knows how to pass the current vacation text value to the showed
page?
Thanks in advance.
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi all,
I add the changepassword plugin from the link below to my Roundcube
installation:
http://wheaties.us/blog/2008/12/21/change-password-roundcube/
I need to logout after user change his password, so he can re-login with
the new one. I want to show an alert popup, and when the user clicks the
"OK" button, it will be redirected to the logout page.
I tried to add this line to the "app.js" file:
case 'save_changepasswd':
if (changepasswd_check_input())
{
this.gui_objects.editform.submit();
---> alert(this.get_label('passwdconfirm')); <---
---> this.switch_task("logout"); <---
}
break;
This actually works only when user inserts old and new password correctly.
But if the user
inserts a wrong old password, the alert popup fires anyway, because this
script is called
before testing submitted values with the db ones.
My questions is: where can I insert the above commands to get the right
behaviour?
Thanks in advance.
_______________________________________________
List info: http://lists.roundcube.net/users/
I've been using Round Cube for about three years to receive my business
faxes. Three days ago it stopped working. I can sign in and then I get a
message saying that the site cannot open. Do you know what is causing this
or how I can fix it?
Glenn Cressy CEO
www.RegisteredServiceDogs.com
_______________________________________________
List info: http://lists.roundcube.net/users/