Bug #22188
closedUpload to TER uses deprecated function set_magic_quotes_runtime
0%
Description
Trying to upload to TER using PHP 5.3.0 and Typo3 4.3.2 i run into the following error :
Use of deprecated function set_magic_quotes_runtime in file typo3/mod/tools/em/class.nusoap.php on line 2382.
(issue imported from #M13663)
Updated by Marcus Krause over 14 years ago
Why severity "block"? Does this "bug" prevents uploads? I'd say, no.
Code of NuSOAP is most probably not in use at all. Normally, the EM uses PHP's ext/soap. Only if that's not available, it tries to use PEAR's soap or NuSOAP.
So, I doubt that you run into this problem. NuSOAP code is old and no longer maintained.
By the way, in TYPO3 4.4+, any third party SOAP library is removed from EM and PHP's ext/soap is always used.
Updated by Nathan L over 14 years ago
I receive this error when attempting to upload an extension to the repository using the latest version of the Typo3 trunk (4.5.x).
It prevents me from uploading.
Updated by Chris topher over 14 years ago
Hi Nathan,
can you make a small patch?
An (untested) workaround could be to wrap the line in an if statement checking the PHP version:
if (version_compare(PHP_VERSION, '5.3.0') < 0) {
set_magic_quotes_runtime(0);
}
Updated by Nathan L over 14 years ago
Christopher, Both version you suggested prevent the exception from disrupting the upload. Thanks!
Updated by Chris topher over 14 years ago
Hi, just for the record: I deleted the first idea, which just used @ini_set('magic_quotes_runtime', 0). This has also been deprecated and will be removed with PHP 6, so that I don't think that this would help.
Updated by Xavier Perseguers over 14 years ago
I can confirm this issue. Unable to upload an extension with PHP >= 5.3.0
Updated by Franz Holzinger almost 14 years ago
I confirm this bug for TYPO3 4.4.6
Updated by Olaf Sell almost 14 years ago
I had the same problem using the winstaller version of 4.4.6. There is a type mismatch in the php.ini by default.
I've changed ";xtension=php_soap.dll" to "extension=php_soap.dll" and everything is working fine.
Updated by Steffen Kamper over 13 years ago
usage of nusoap is deprecated and shouldn't be used. PHP comes with own soap extension, and this one is the required one, and this one cause no problems.
Updated by Dmitry Dulepov over 13 years ago
- Status changed from Needs Feedback to Closed
- Target version deleted (
0)
No feedback provided within 90 days. Closing the issue.