Bug #37154
closedExtension Upload shows the invalid alert box
0%
Description
When I upload an extension to TER, then an alert box pops up: "Invalid!"
No more info is given. The upload fails. It should give a clear description what went wrong and why it does not upload the extension.
The last SQL query comes from:
------------------------
t3lib_div::callUserFunction#73 // call_user_func_array#4659 // t3lib_extjs_ExtDirectRouter->route# // t3lib_extjs_ExtDirectRouter->processRpc#106 // call_user_func_array#183 // tx_em_Connection_ExtDirectServer->uploadExtToTer# // tx_em_Connection_ExtDirectServer->getSelectedRepository#654 // tx_em_Database::getRepositories#1578
Updated by Steffen Gebert over 12 years ago
- Category set to Extension Manager
- Status changed from New to Needs Feedback
Franz, could you please
- try to debug
tx_em_connection_extdirectserver::uploadExtToTer()
and see what the call to$terConnection->uploadToTER()
does - try again and tell me your IP and the time of the day, when you tried it. I will then lookup on typo3.org, whether a server error occurred there
Thank
Steffen
Updated by Franz Holzinger over 12 years ago
Hello Steffen, I have put this debug info into the php file 'typo3/sysext/em/classes/connection/class.tx_em_connection_ter.php':
--------
debug ($accountData, 'uploadToTER $accountData');
$response = $soap->call(
'uploadExtension',
array(
'accountData' => $accountData,
'extensionData' => $extensionData,
'filesData' => $filesData
)
);
debug ($response, 'uploadToTER Pos 1 $response');
if ($response === FALSE) {
debug ($response, 'uploadToTER $response === FALSE');
switch (TRUE) {
case is_string($soap->error):
debug ($soap->error, 'uploadToTER $soap->error');
return $soap->error;
break;
default:
debug ($soap->error->faultstring, 'uploadToTER $soap->error->faultstring');
return $soap->error->faultstring;
}
}
debug ($response, 'uploadToTER ENDE $response');
return $response;
---------
Then the result is:
------------------
debug $variable = Array
(
[username] => franzholz
[password] => *****
)
debug $name = uploadToTER $accountData
debug $variable =
debug $name = uploadToTER Pos 1 $response
debug $variable =
debug $name = uploadToTER ENDE $response
debug $variable =
debug $name = uploadExtToTer $response
So the $response is not FALSE, but it is empty.
The client IP is 87.78.237.28.
typo3/sysext/em/classes/connection/class.tx_em_connection_soap.php:
debug $variable = http://typo3.org/wsdl/tx_ter_wsdl.php
debug $name = tx_em_Connection_Soap::init $options['wsdl']
Updated by Sven Wappler over 12 years ago
Only one addition: In my case this error is thrown when trying to upload a extension, which are larger than 1 MB with a slow DSL connection. May be it is related with a timeout.
Updated by Alexander Opitz over 11 years ago
Hi Franz,
this issue is very old and there are changes in this code.
So my question, does this issue persist in newer versions of TYPO3 (6.1)? As 4.7 will only get security fixes.
Greetings Alex//
Updated by Alexander Opitz almost 11 years ago
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback within the last 90 days => closing this ticket.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.