Closed (fixed)
Project:
roundcube webmail integration
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2007 at 20:12 UTC
Updated:
10 Apr 2007 at 15:17 UTC
The 5.x version of this module does not seem to be working, at least not with the current documentation.
One question is that the rcmail.install indicates that roundcube's databases should be dropped. If this is the case, where do you direct roundcube mail to look for a database?
Better documentation is needed, currently rcmail 5.x is NON-FUNCTIONING
Comments
Comment #1
four99 commentedAlright, the rcmail.module.install i see is the script to uninstall the module...fine, understood.
However, the issue still remains that the rcmail module is not properly passing on the login information.
Comment #2
spooky69 commentedThis was working fine in 5, but I seem to be having the same problem of it not automatically logging in now that I am on 5.1 - any ideas?
Comment #3
spooky69 commentedIs the developer active on this module?
Comment #4
polyformal_sp commentedhello spooky69,
a read the issues but at this time i has less time to handle them, because i am very busy.
You stay tuned a bit, i'll a look on the things again.
best regards
Comment #5
spooky69 commentedThanks polyformal. This would hopefully be a small issue because it was working fine in 5.0 and the move to 5.1 seems small. If it helps to narrow things down, I only applied the security updates and did not completely update to 5.1, so I have 5.0 with the 5.1 security update patches, which only applied to comment.module and node.module, which I am guessing might be the problem?
Comment #6
spooky69 commentedHi polyformal,
Any news on this issue yet?
Comment #7
polyformal_sp commentedHi spooky69,
i had a look on this. First, it looks that the parameters to login roundcubemail will pass correctly to rcoundcube, but the the login fails.
I think it is an issue in roundcubemail; it looks like this can help
http://roundcubeforum.net/forum/index.php?topic=729.0
But actually i am busy on doing daily business, and have to wait for a 'time gap' to a have a detailed look an it.
Comment #8
spooky69 commentedHi Polyformal,
I'm not convinced that it has anything to do with roundcube, on the basis that it was all working fine with Drupal 5 and only stopped working when I updated to Drupal 5.1 - my roundcube installation has not changed. I suspect that it must therefore be something to do with a change between 5 and 5.1 - seems like fairly limited changes, but perhaps this is where the problem is?
Comment #9
spooky69 commentedHi Polyformal,
I'm not convinced that it has anything to do with roundcube, on the basis that it was all working fine with Drupal 5 and only stopped working when I updated to Drupal 5.1 - my roundcube installation has not changed.
Comment #10
spooky69 commentedHi Polyformal,
I'm not convinced that it has anything to do with roundcube, on the basis that it was all working fine with Drupal 5 and only stopped working when I updated to Drupal 5.1 - my roundcube installation has not changed.
Comment #11
polyformal_sp commentedI commited an fixed version of rcmail and updated the doc's.
I started an plain installation and followed the instructions (updated some hints) myself. It works fine here.
Sorry for waiting, but i was a bit busy. I hope you can enjoy now ;)
best regards
Stefan
Comment #12
spooky69 commentedHi Stefan - I will give this a try a little later and report back. Thanks for the response!
Comment #13
spooky69 commentedHi Stefan,
Tried but no difference. Also noted that I needed to change the path in rcmail.module to roundcubemail - it was still looking in the wrong place even though another thread here stated that you had updated this. Are you sure that the module has been updated, as it seems no different and is still failing to log in the user.
Comment #14
spooky69 commentedTried complete uninstall of rcmail and then installed again - now I have the above issue but also cannot even log in manually - just leaves me with a blank iframe...
Comment #15
polyformal_sp commentedarghh. The battle with CVS tag, branches .... Drupal's CVS drive me mad and ist time consuming :(
please look here until a got the tags working. hinst were wellcome.
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/rcmail/?only_...
best regards
stefan
Comment #16
spooky69 commentedThanks for the quick response Stefan - install has nothing on creating tables and page not found when looking for the documentation... having fun? ;-) I will update using the cvs link you provided, but do you also have something to create the tables in mysql?
Comment #17
polyformal_sp commentedHi spooky,
please colsult the documentation[1] as mentioned.
It says:
"The automatic installation of tables needed by roundcubemail could not be done by a procedure of hook_install. Because drupal strips all protection characters like ' or ` . Because roundcubemail uses fieldnames like ‘from’ or ‘reply-to’ in the identities table f.e. Without protecting characters this breakes the MySQL syntax."
So so have to run the roundcube SQL table creation script manualy via mysql client or phpmyadmin or whatever.
BTW: you find me at irc #drupal-support
stefan
[1] http://wiki.polyformal.de/drupal/modules/rcmail
Comment #18
spooky69 commentedHi Stefan,
Thanks for all the help. I will look up the irc bit later when I have time to figure out what it is... ;-)
So, I had forgotten about where the sql table creation file was - ran it as per the previous setup and tables created. I go to the user account and add the log in details and password - when I go to roundcubemail it does not log in still - worse than that, I cannot log in manually. I checked the database tables and no user has been created...
Oh, and the rcmail.module file in cvs still has the wrong path for roundcubemail.
Any ideas as to why no user is created and I am furthermore unable to log in? Oh, and I did check that the email account still exists and that the password is correct!
Comment #19
spooky69 commentedHi again Stefan - I tried to find you on irc but no luck :-(
Main problem at the moment appears to be that I cannot log in to webmail using roundcube - checked the db inc file and it appears to have the correct information.
As an aside, there is some white space at the end of the rcmail.module that causes problems - needs to be removed.
Comment #20
spooky69 commentedFigured it out Stefan :
1. Removed all white space from end of rcmail.module
2. Thanks to the chat with yourself, set auto create user to TRUE
3. This was the key - index.php in the roundcube folder had decrypt commented out and was checking the password using $_POST['_pass'] = $sdb[rcmail_password]; - commented this out and uncommented $_POST['_pass'] = _decrypt($sdb[rcmail_password]); and all is now working fine!
Thanks for the help and the chat on irc Stefan - all I need now is for the cpanel module to be udpated...
Comment #21
(not verified) commented