Roundcube Community Forum

Release Support => Pending Issues => Topic started by: snowweb on May 13, 2011, 10:10:00 PM

Title: Add attachment not working
Post by: snowweb on May 13, 2011, 10:10:00 PM
I've just upgraded to RoundCube 0.5.2 and all seems good, except that when I browse for an attachment and click the upload button, there seems to be some kind of http request sent, but within a second or two it says 'Done' and the attachment is not uploaded.

I checked the error log, which has not received any new entries since I upgraded at around 7am 05/14/11 (server time), although before that, it did seem to be getting regular errors (I just noticed).

I've posted the last few lines of the error log below:

[12-May-2011 20:46:45 +0800]: PHP Error: Error loading template for  in /var/www/html/roundcubemail-0.4/program/include/rcube_template.php on line 375 (POST /roundcube/?_task=mail&_action=autocomplete?_task=&_action=)
[13-May-2011 11:00:57 +0800]: IMAP Error: Authentication for [email protected] failed (LOGIN): a001 NO Authentication failed. in /var/www/html/roundcubemail-0.4/program/include/rcube_imap.php on line 142 (POST /roundcube/?_task=&_action=login)
[13-May-2011 11:51:18 +0800]: PHP Error: Could not convert string from X-EUROPA to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in /var/www/html/roundcubemail-0.4/program/include/main.inc on line 308 (GET /rc/?_task=mail&_action=list&_mbox=INBOX.Trash&_page=1&_refresh=1&_remote=1&_=1305259050055&_unlock=1)
[13-May-2011 14:06:57 +0800]: IMAP Error: Authentication for [email protected] failed (LOGIN): a001 NO Authentication failed. in /var/www/html/roundcubemail-0.4/program/include/rcube_imap.php on line 142 (POST /roundcube/?_task=&_action=login)
[13-May-2011 15:56:11 +0800]: IMAP Error: Authentication for [email protected] failed (LOGIN): a001 NO Authentication failed. in /var/www/html/roundcubemail-0.4/program/include/rcube_imap.php on line 142 (POST /roundcube/?_task=&_action=login)
[13-May-2011 15:56:37] PHP Warning:  opendir(/var/www/html/roundcubemail-0.4/temp) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: Permission denied in /var/www/html/roundcubemail-0.4/program/include/main.inc on line 135

I have tried chmod -R 777 on all files in my roundcube directory (now roundcubemail-0.5.2), but it appeared to make no difference.

Please note that although I had no option but to select [0.5.1] prefix for the subject, it should be [0.5.2] but this did not exist (I'm off to double check that I didn't install a beta :-(

Regards,

Peter
Title: Add attachment not working
Post by: SKaero on May 14, 2011, 03:31:29 AM
Try logging in to an account with the wrong password, it should add an entry to the error log if it doesn't there is insufficient privileges.
Title: Add attachment not working
Post by: snowweb on May 14, 2011, 03:56:46 AM
Quote from: skaero;34834Try logging in to an account with the wrong password, it should add an entry to the error log if it doesn't there is insufficient privileges.

Hi skaero,

I just tried that, but the error was logged as follows:

Quote[14-May-2011 15:47:58 +0800]: IMAP Error: Login failed for [email protected] from 112.201.142.163. AUTHENTICATE PLAIN: Authentication failed. in /var/www/html/roundcubemail-0.5.2/program/include/rcube_imap.php on line 192 (POST /rc/?_task=login&_action=login)

It's nice to know that the log's still working though :-)

Pete
Title: Add attachment not working
Post by: snowweb on May 14, 2011, 07:04:18 AM
I've just realized that sending is not working either! When I press either of the send buttons, absolutely nothing happens.

Nothing in the log. :-(
Title: Add attachment not working
Post by: SKaero on May 14, 2011, 07:38:13 AM
Sounds like you have a bigger problem, make sure you updated the skin files and try again without any plugins enabled.
Title: Diagnosed & continued under 3rd Party
Post by: snowweb on May 14, 2011, 08:37:10 AM
Thanks for your help. I did as you suggested and was able to conclusively narrow the culprit down to the Calendar plugin. I have therefore created a post regarding the issue in the 3rd party section, HERE (http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/8450-messages-cant-sent-when-calendar-enabled.html#post34856).

Thanks again for you help.

Peter