PHP 4.0 Bug #8541 Updated: Fieldtype doesn't work with PHP
| From: | fmk@php.net | Date: | Thu, 04 Jan 2001 17:14:34 +0000 |
| Subject: | PHP 4.0 Bug #8541 Updated: Fieldtype doesn't work with PHP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42956@lists.php.net to get a copy of this message | ||
ID: 8541
Updated by: fmk
Reported By: daboheny@yahoo.com
Old-Status: Open
Status: Feedback
Bug Type: MSSQL related
Assigned To:
Comments:
This is not an error in the MS SQL extension, as you are using ODBC functions to fetch data.
Microsofts new datatypes ntext nad nvarchar is not suported in the MS SQL extension, as they are not
supported in Microsofts C-library. The will always be returned as a varchar with a max length of 255
bytes.
Previous Comments:
---------------------------------------------------------------------------
[2001-01-03 15:07:59] daboheny@yahoo.com
I use:
PHP 4.04 ISAPI-Mode
SQL Server 2000
and ODBC.
Here the message:
FATAL: emalloc(): Unable to allocate 1073741824 bytes
The problem seems (for me) to be the field NTEXT.
I changed the fields of type NTEXT to TEXT and it worked.
I first posted this problem on www.experts-exchange.com.
James Moore (PHP QA Team) asked me to post the problem here.
So, how I said: After I changed all the database-fields of type NTEXT to TEXT, it worked perfect for
me!
Hope I could help.
Bye.
Yasmeen
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8541