Help
Ask questions about how to do or fix things in Arrowchat
User avatar
wei80
Free
 
Posts: 1
Joined: 07 May 2012, 18:21

 

by wei80 08 May 2012, 09:50

I tried to install the trial version with php 5.3.10, and the lastest php sql server driver. But it didn't work. It reported the following error:

Oops! There is an error:
You do not have the mssql PHP extension. Please have your host install it.

That would be a problem if it doesn't work with the latest stuff.
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 08 May 2012, 14:37

The error message is telling you exactly what you need -- the mssql extension.
User avatar
olasole
Free
 
Posts: 1
Joined: 22 Jun 2012, 11:49

 

by olasole 23 Jun 2012, 06:31

arrowchat brings up an error (500) when trying to install with MSSQL
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 23 Jun 2012, 07:57

olasole wrote:arrowchat brings up an error (500) when trying to install with MSSQL

Do you have the MSSQL PHP extension?
User avatar
FarhanNew
Free
 
Posts: 1
Joined: 08 Jan 2013, 02:40

 

by FarhanNew 08 Jan 2013, 06:23

I am also getting the same error, i have php 5.3.19 and mssql extension is installed.

using phpinfo() i can see sqlserver extension.

but still it is saying that you have to install it, please suggest

Thanks
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 08 Jan 2013, 10:19

We've been working on updating the mssql installation as it doesn't seem to work for some people.
User avatar
GSridhar
Customer
 
Posts: 2
Joined: 14 Jun 2013, 08:12

 

by GSridhar 29 Jun 2013, 03:31

did anyone figure out what is the solution for this? please share, if any.
User avatar
GSridhar
Customer
 
Posts: 2
Joined: 14 Jun 2013, 08:12

 

by GSridhar 29 Jun 2013, 03:41

Hi Jason,

Did you guys nail it? even at my server the MS SQL PHP extension is installed, but i still get this error. Would be great if you can help. Thanks.
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 29 Jun 2013, 13:06

Yes, this issue was already fixed. Anyone seeing this error now does not have the extension installed properly.
User avatar
kamaldewal
Free
 
Posts: 1
Joined: 11 Jul 2013, 22:37

 

by kamaldewal 12 Jul 2013, 00:29

HI Jason,

After trying all solution to install mssql extention for php for version 5.3 it is still not running
what to do now
User avatar
didio
Free
 
Posts: 1
Joined: 31 Mar 2014, 02:49

 

by didio 03 Apr 2014, 00:50

Anyone got arrowchat working with the Microsoft MSSQL extention on PHP 5.3 or 5.4?
User avatar
BrianKondalski
Free
 
Posts: 4
Joined: 12 May 2014, 10:10

 

by BrianKondalski 12 May 2014, 11:03

I'm also having problems getting the MSSQL extension working on IIS7 in php 5.4

Any pointers would be helpful.
User avatar
BrianKondalski
Free
 
Posts: 4
Joined: 12 May 2014, 10:10

 

by BrianKondalski 12 May 2014, 11:16

My phpinfo() call shows the module sqlsrv is enabled. And I can see the reference to it in my php.ini file as well (extension=php_sqlsrv_54_nts.dll).
User avatar
BrianKondalski
Free
 
Posts: 4
Joined: 12 May 2014, 10:10

 

by BrianKondalski 12 May 2014, 12:08

I should note the following is also working fine from a .php page now running through the web server as well. Host and login info changed to something generic of course. But the arrowroot install is still telling me the mssql extension is not installed. I'm missing something somewhere I assume!

<?php

$serverName = “AA.BB.CC.DD";
$connectionInfo = array( "Database"=>”dbname", "UID"=>”uname", "PWD"=>”password");
$conn = sqlsrv_connect( $serverName, $connectionInfo );
if( $conn === false ) {
die( print_r( sqlsrv_errors(), true));
}

$sql = "SELECT top 10 EMAIL, HANDLE FROM USERS";
$stmt = sqlsrv_query( $conn, $sql );
if( $stmt === false) {
die( print_r( sqlsrv_errors(), true) );
}

while( $row = sqlsrv_fetch_array( $stmt, SQLSRV_FETCH_ASSOC) ) {
echo $row['EMAIL'].", ".$row['HANDLE']."<br />\n";
}

sqlsrv_free_stmt( $stmt);

?>
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 12 May 2014, 20:10

Hi Brian,

The MSSQL extension requires PHP 5.2.x I believe as it was deprecated after that. We are working on switching over to sqlsrv which is more up-to-date.
User avatar
BrianKondalski
Free
 
Posts: 4
Joined: 12 May 2014, 10:10

 

by BrianKondalski 13 May 2014, 06:20

Ok, then I am stuck for now. I am unable to change version of PHP. Hopefully I can get a new Trial once you make the switch. I can't do the integration with MySQL as all my user data is in SQL Server.

Is there any schedule on when this switch will be made?
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 16 Dec 2014, 00:26

[b]This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.[/b]