PHP 5.2 + QSoapService.class.php (QCubed 1.1.2)
Thu, 07/08/2010 - 10:34
I had some problems with the QSoapServer class (QCubed 1.1.2)
This is my php version:
PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan 6 2010 22:41:56)
To get rid of some "Internal Server Error HTTP" I had to modify the lines 356-360 in QSoapService.class.php from
<?php
$strParameterDefinition = sprintf('%s %s$%s',
($objParameter->Type == QType::DateTime) ? $objParameter->Type : '',
($objParameter->Reference) ? '&' : '',
$objParameter->Name
);
?>to
<?php
$strParameterDefinition = sprintf('%s$%s',
($objParameter->Reference) ? '&' : '',
$objParameter->Name
);
?>Maybe this is some compatibility issue with PHP 5.2, but at least with this change my code is working again. I also had this problem in QCubed 1.1.0. I did not create ticket for this problem now, but maybe this is related to http://trac.qcu.be/projects/qcubed/changeset/841
Brynjar.
