Bug #61919 [Com]: PDO DBLIB Driver is not working

2012-07-13 Thread snowcorenet at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=61919&edit=1

 ID: 61919
 Comment by: snowcorenet at gmail dot com
 Reported by:shahitha at digitalmesh dot com
 Summary:PDO DBLIB Driver is not working
 Status: Open
 Type:   Bug
 Package:MSSQL related
 Operating System:   Linux Ubuntu
 PHP Version:5.3.11
 Block user comment: N
 Private report: N

 New Comment:

Seems like it is not fixed yet in php 5.3 - 
https://bugs.php.net/bug.php?id=48539


Previous Comments:

[2012-05-03 04:23:13] shahitha at digitalmesh dot com

Description:

Hi,
As I tired to connect with MSSQL with my Linux system using PDO DBLIB Driver I 
am 
getting following error 
SQLSTATE[] (null) (severity 0)








-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61919&edit=1


Bug #48539 [Com]: pdo_dblib fails to connect, throws empty PDOException "SQLSTATE[] (null)"

2012-07-13 Thread snowcorenet at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=48539&edit=1

 ID: 48539
 Comment by: snowcorenet at gmail dot com
 Reported by:frase at cs dot wisc dot edu
 Summary:pdo_dblib fails to connect, throws empty
 PDOException "SQLSTATE[] (null)"
 Status: Closed
 Type:   Bug
 Package:PDO related
 Operating System:   *
 PHP Version:5.2.10, 5.3.0RC4
 Assigned To:felipe
 Block user comment: N
 Private report: N

 New Comment:

Could anyone tell me, please, if this is fixed in php 5.3?


Previous Comments:

[2011-04-11 18:37:18] tom at punkave dot com

Did this fix ever get put in PHP 5.3? I am getting this error exactly as 
originally described with all PHP 5.3.x versions tried.


[2009-06-28 02:10:33] fel...@php.net

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed in 5.2 and HEAD.
5.3 in soon.

Thanks.


[2009-06-27 21:43:08] tilo at levante dot de

The following patch solved the issue in version 5.2.10
These three lines were added from version 5.2.9 to 5.2.10.

I use a ms sql 7 server, maybe this server is not able th set the TEXTLIMIT to 
the given value.

Greetings

tilo


--- ext/pdo_dblib/dblib_driver.c.orig   2009-03-20 23:14:17.0 +0100
+++ ext/pdo_dblib/dblib_driver.c2009-06-28 01:50:50.0 +0200
@@ -230,9 +230,9 @@
goto cleanup;
}
 
-   if (DBSETOPT(H->link, DBTEXTLIMIT, "2147483647") == FAIL) {
-   goto cleanup;
-   }
+// if (DBSETOPT(H->link, DBTEXTLIMIT, "2147483647") == FAIL) {
+// goto cleanup;
+// }
 
if (vars[3].optval && FAIL == dbuse(H->link, vars[3].optval)) {
goto cleanup;


[2009-06-25 16:57:52] nicholas dot j dot miller at gmail dot com

Our development team is seeing this problem in 5.2.10 as well.


[2009-06-19 16:58:52] thomas dot parrott at jellyfish dot co dot uk

This issue appears to be in 5.2.10 as well.




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

https://bugs.php.net/bug.php?id=48539


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=48539&edit=1