Cactiveform Textarea Not Saving When Value Entered Is More Than 255 Characters

Hi, I did not notice this for long. The site is still in localhost in XAmpp.

Using CActiveform, textArea works fine when I enter a value less than 255 characters, but when I enter more than 255 characters, The browser is unable to forward the post. The message from the browser is :

The Connection was reset. The site could be temporarily unavailable or too busy.

I cannot understand the problem.

In my model rules,

array(‘description’, ‘required’, ‘on’=>‘reg, edit’),

array(‘description’, ‘length’, ‘max’=>2000),

In my view,

<?php echo $form->textArea($model, ‘description’, array(‘rows’=>6, ‘cols’=>50, ‘maxlength’=>2000));

In my database,

description is of type ‘text’.

Method is ‘post’.

I checked my php.ini, but cannot identify anything with name to solve this.

Request your help and suggestion.

try to make your database field as "longtext"… it might work… and turn off your firewall temp

thanks for suggestion, I changed the data type to ‘longtext’, turned the firewall settings to off for my windows 8 system with norton, but still the browser message when I click the submit button is:

The connection was reset

The connection to the server was reset while the page was loading.

I tried an update in phpmyadmin directly with ‘text’ datatype. It works without any problem.

Am I missing any basics, because this is my first site.

nair