Bug #22188
closed
Upload to TER uses deprecated function set_magic_quotes_runtime
Added by Grégory Duchesnes over 14 years ago.
Updated over 13 years ago.
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)
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.
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.
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);
}
Christopher, Both version you suggested prevent the exception from disrupting the upload. Thanks!
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.
I can confirm this issue. Unable to upload an extension with PHP >= 5.3.0
I confirm this bug for TYPO3 4.4.6
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.
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.
- Status changed from Needs Feedback to Closed
- Target version deleted (
0)
No feedback provided within 90 days. Closing the issue.
Also available in: Atom
PDF