Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-02-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20611: deprecated function in class.nusoap.php in TYPO3 v.4.3alpha3ClosedBenni Mack2009-06-12

Actions
Actions #1

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.

Actions #2

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.

Actions #3

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);
}

Actions #4

Updated by Nathan L over 14 years ago

Christopher, Both version you suggested prevent the exception from disrupting the upload. Thanks!

Actions #5

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.

Actions #6

Updated by Xavier Perseguers over 14 years ago

I can confirm this issue. Unable to upload an extension with PHP >= 5.3.0

Actions #7

Updated by Franz Holzinger almost 14 years ago

I confirm this bug for TYPO3 4.4.6

Actions #8

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.

Actions #9

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.

Actions #10

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.

Actions

Also available in: Atom PDF