Hi
I am completely new to roundcube and I have tried searching the forum and I can't find anything that can help me.
I have finally got to the installer web page and at the bottom of it the only thing that is NOT OK is the date.timzone, under the "Checking php.ini/.htaccess settings".
I have accessed the php.ini file and made the relevant changes; I have removed the commas from Europe/London and the semi colon that appears at the beginning of the line.
I have put the roundcube webmail on a mac mini server running 10.8. All of the contents from the roundcube folder have been put in the htdocs folder of MAMP as there is an intranet using a mysql database.
I hope I have given enough info for some one to help. If any more is needed just ask.
Thanks
did you restart the webserver after making the change to php.ini?
Hi
Sorry for the delay in replying.
Yes I have restarted the web server after making the changes.
hmm then unless you changed the wrong file i dont know what it could be but PHP is apparently reporting that you have not set that config value. Maybe try printing out phpinfo() that says where it read its config from.
JohnDoh's comment is a good one; ascertain that you have actually modified the correct file. Personally, this took me a while to figure out, since I had some very old configuration file lingering around from an old installation that I assumed was the "real" php.ini while ... well, it was not :-\
I edited the php.ini file in /private/etc/
I will do a search with the terminal to see if there are any other php files sitting around.
Ok I figured out which php.ini file it is reading from. I edited the file and I am still receiving the NOT OK for date.timezone (empty value detected)
This is how I have it in the php file:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/London
Try:
date.timezone = "Europe/London"
Ha I realised what I have (or haven't) done. I forgot to restart the server after editing the correct php.ini file. ::)
Now I am stuck on the test IMAP config; Login failed for user@domain from 217.138.40.98 AUTHENTICATION PLAIN: Authentication failed.
Have I missed something in one of the files?
Your mail server doesn't seem to have authentication PLAIN, try changing it to something else like LOGIN.
I have tried changing the server authentication but I am still getting Authentication failed.
Some one mentioned to me that it might be that "Roundcube has issues with strong authentication methods, so you have to either enable cleartext (bad idea) or reconfigure postfix and dovecot so that it does accept cleartext only on an ssl protected port."
Is this what is getting in my way?
Thanks for the help so far.
Quote from: El Vergatario on December 18, 2012, 11:33:59 AM
enable cleartext (bad idea)...
Hi!
This is bullsh*t.
If the connection is secured/encrypted [tls/ssl] (and this is established before any typing) it's save...
Rgds.
Ok, so why is the authentication failing on the last part of the installer?
Your response has not helped me at all.
If the authentication is failing at the last part of the installer ignore it, the imap check doesn't seem to read the authentication type form the config file. Just go directly to the login screen and see if it works there.
Thanks. I took your advice and tried logging in directly, I get "Connection to the storage server failed"
Checked the log and it says:
Could not connect to mail.server.co.uk:143: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in /Applications/MAMP/htdocs/webmail/program/include/rcube_imap.php on line 191 (POST /webmail/?_task=login&_action=login)
I gather that I have not entered the server name in the correct place. I tried looking at line 191in the rcube_imap.php file but I was unsure what to edit.
Is allow_url_fopen enabled?
Yes it is on:
allow_url_fopen = on
Does it work if you switch the server name to the ip address? (ie: mail.example.com > 192.0.43.10)
No, but now I get login failed rather than connection failure.
Forget that, I had the address encased in ' '
Tried the IP without the apostrophe and I just get a blank screen. Do not even get the login screen.
What does you main.inc.php look like?
Here you go. I bet it is something simple that I have overlook. That would be typical of me ::)
http://pastebin.com/eG0xpEKc
You need to have quotes around the default_host,
$rcmail_config['default_host'] = 'example.com';
Try setting imap_auth_type to null,
$rcmail_config['imap_auth_type'] = null;
I have done as you said but it still says login failed.
I have tried the default host as the server ip, and the server name with & without mail at the beginning. When I put mail it say Connection to the storage server failed.
Is there any way you could send me a test email account and ftp access so I could take a look?
Hope you had a great time over the festive period.
I can give you access via TeamViewer?
I HAVE DONE IT!!!!!!! :) :) :) :) :)
I change the default_host to:
$rcmail_config['default_host'] = 'ssl://localhost';
Originally I had the domain name without ssl. I tried it with ssl and got nothing, then tried ssl with localhost and I managed to log in.
I also changed the login to PLAIN.
Thanks for the help along the way SKaero.
Good to hear. Sorry I missed your last message, I might have been able to help.