Hi,
I am trying to get Roundcube to work with SQL Server 2008. Is this currently supported, or planned to be soon?
Lee
I haved tried a lot.
- MSSQL is enabled in PHP, see below:
mssql
MSSQL Support enabled
Active Persistent Links 0
Active Links 0
Library version 7.0
- I have tried several things in the connection string
- Localhost
- IP Address
- Machine name
Just tried with (local), still the same result.
Is it possible to connect via TCP/IP instead ?
let me know if I have to try anything else
/ Bonx
Last edited by Bonx; 11-27-2008 at 07:20 AM.
Hi,
I am trying to get Roundcube to work with SQL Server 2008. Is this currently supported, or planned to be soon?
Lee
Hi there,
I tried to run the query mssql_initial.sql on SQL2008Express and got this error.
I followed all your steps but no luck.
When I went to the website, it just gave me blank screen
Hmail is running fine.
O/S: Windows Server 2003 Std R2
SQL2008Express
mssql://roundcube:mypass@hmailserver\sqlexpress/roundcube
or
mssql://roundcube:mypass@hmailserver\\sqlexpress/roundcube
or
mssql://sa:sa_pass@hmailserver\sqlexpress/roundcube
Please help !
Thank you.
I forgot to attach the error when I ran the mssql.initial.sql query on SQL2008Express
Msg 102, Level 15, State 1, Line 6
Incorrect syntax near ','.
Hope somebody can point me the right direction.
Thanks.
I have followed these instructions and I know I am really close to having this working!!
I am running 2K3 Enterprise with IIS6.
PHP 5.2.9-1 using fastcgi, mssql enabled in the config files
MSSQL Express 2005
Roundcube 0.2.1
I created the database 'roundcube' in SQL Express, opened and ran the 'mssql.initial.sql' file. It generated the following error, although it looks like it created all the tables.
I created a user rcmail with a password of rcwebmail. Edited the db.inc.php to look like this:Code:Msg 102, Level 15, State 1, Line 6 Incorrect syntax near ','.
I placed the extra code in the mssql.php file as shown below:Code:$rcmail_config['db_dsnw'] = 'mssql://rcmail:rcwebmail@HMAIL\\SQLEXPRESS/roundcube';
PHP Code:class MDB2_Driver_mssql extends MDB2_Driver_Common
{
// {{{ properties
var $string_quoting = array('start' => "'", 'end' => "'", 'escape' => "'", 'escape_pattern' => false);
var $identifier_quoting = array('start' => '[', 'end' => ']', 'escape' => ']');
function setCharset($charset, $connection = null)
{
return true;
}
// }}}
// {{{ constructor
I enable trace debugging and when I attempt to load the webmail page, this is what I get.
Any ideas?Code:MDB2 Error: connect failed (-24): _doConnect: [Error message: unable to establish a connection]
Hi,
If there's anyone out there still trying to get this working... like me...
In addition to the following:
1) Do NOT install the Microsoft PHP SQL Driver SQLSrv, make sure there are no references to it anywhere!
2) Ensure you have the extension=php_mssql.dll in php.ini
3) Verify that mssql is working properly by using the phpinfo() function in a php file in your mail root
4) Ensure you put the setCharSet blank function in the right place.
5) You will need to add the html_signature field and change some of the fields to allow NULLs.
I think all of the above is detailed in this post somewhere, or only a google away...
If you have the problem with SERVER\SQLEXPRESS then use the Sql Server Configuration Manager to set an Alias for the server e.g. SERVER01
This will mean instead of:
(which I could not get to work)PHP Code:mssql://user:pass@SERVER\\SQLEXPRESS/roundcube
You can use:
(which is now working)PHP Code:mssql://user:pass@SERVER01/roundcube
..If only I could get the plugins working properly...
Last edited by funklet; 08-02-2009 at 07:07 PM.
By any chance do you know how to set up the "outgoing server" on a Palm Pre so that I can reply to my company e-mail. I have been able to get my mail pushed to the Palm, but I do not know the server that Round Cube uses so that I can reply directly to those e-mails. Any help is greatly appreciated.
Joel
Hey Guys,
I installed and configured RoundCube as you wrote and it's possible to open the login-page.
My problem now is that I cannot login with my email-adresses, set up in hmailserver. I tried the internal and the external adresses but I allways get a message that the login failed.
Any idea how to log in?
Ok, got it myself.
Autocreate was set to TRUE but the mssql.initial.sql script sets the table users to NULL for most of the fields. Changed this values and now it works.
Last edited by Jass; 08-12-2009 at 01:52 PM.
wel I've managed to get the login screen following these directions. What a PAIN PHP is on IIS 6.0
Some notes on what I've discovered.
DO NOT use the thread safe php implementation. It only makes you go bald. Appears to work but fast requests will shut down FastCGI in a heartbeat.
Now to my problem ...
The login page comes up and then, after entering credentials I get this noise:
The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
--------------------------------------------------------------------------------
Please try the following:
•Contact the Web site administrator if you believe this directory should allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)
SAY WHAT? Why would the login page work but subsequent pages NOT work?
Anyone else seen this?
Installation details:
Windows Server 2003 Enterprise Build 3790
FastCGI 6.1.36.1
PHP 5.2.11
Last edited by cmillens; 10-11-2009 at 05:10 AM. Reason: added install details
There are currently 1 users browsing this thread. (0 members and 1 guests)