Martin
|
| Posted: 06/15/2003, 8:48 AM |
|
Hi CCS-User!
Please help me:
Sometimes when I write/edit a Database Row, I get following error message:
<<CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:>>
I read much topics about this error, but my problem is:
The error is irregularly.
Somtimes this error is shown but the datarow is correctly edited, sometimes all works fine.
I use W2K Server with SP3, IIS 5, MS SQL 2000 and PHP 4.3.2
Thank you
Martin
|
|
|
 |
Eric
|
| Posted: 06/15/2003, 9:19 AM |
|
Too short a string somewhere?
|
|
|
 |
Martin
|
| Posted: 06/15/2003, 10:34 AM |
|
What string do you need?
//Update Method @2-35C9F47D
function Update()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildUpdate");
$this->Where = "ProdId=" . $this->ToSQL($this->CachedColumns["ProdId"], ccsFloat);
$this->SQL = "UPDATE tblProdKat SET "
. "ProdBez=" . $this->ToSQL($this->ProdBez->GetDBValue(), $this->ProdBez->DataType) . ", "
. "BUnitId=" . $this->ToSQL($this->BUnitId->GetDBValue(), $this->BUnitId->DataType) . ", "
. "ProdTypId=" . $this->ToSQL($this->ProdTypId->GetDBValue(), $this->ProdTypId->DataType) . ", "
. "Leihtyp=" . $this->ToSQL($this->Leihtyp->GetDBValue(), $this->Leihtyp->DataType) . ", "
. "MBasisID=" . $this->ToSQL($this->MBasisID->GetDBValue(), $this->MBasisID->DataType) . ", "
. "BezAlt=" . $this->ToSQL($this->BezAlt->GetDBValue(), $this->BezAlt->DataType) . ", "
. "ProdBem=" . $this->ToSQL($this->ProdBem->GetDBValue(), $this->ProdBem->DataType);
$this->SQL = CCBuildSQL($this->SQL, $this->Where, "");
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteUpdate");
$this->query($this->SQL);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteUpdate");
if($this->Errors->Count() > 0)
$this->Errors->AddError($this->Errors->ToString());
$this->close();
}
//End Update Method
|
|
|
 |
|