Bug #56823
closed
Extensionmanager does not show error messages on update failure
Added by Gautam K. about 10 years ago.
Updated over 5 years ago.
Category:
Extension Manager
Description
When updating extensions through the new extension manager (which is, in general, very slow), I get a page with an opaque overlay.
Trigger the bug:
Try to update an extension that does not fulfill a dependency, e.g. that depends on a lower TYPO3 CMS version.
The EM will return an exception, but this exception is now caught and does not show up in the EM.
Therefore the spinning icon keeps running.
Steps to reproduce:
1. Go to extension manager, 'Manage Extensions' page.
2. Click the update icon next to an extension (e.g. direct_mail, tt_news, div2007, ...).
3. Click 'Yes' on the confirmation prompt.
4. Now you may wait forever: nothing happens. No error, nothing. When refreshing the ext. manager, the extension was not updated.
Files
This does, however, not occur with all extensions. For example, realurl, tt_address, nagios, powermail, etc. can be updated without this occurring.
Can you check if one of the AJAX requests returns an error?
I looked into it. Apparently, the ajax request to /typo3/mod.php?M=tools_ExtensionmanagerExtensionmanager&tx_extensionmanager_tools_extensionmanagerextensionmanager[extension]=div2007&tx_extensionmanager_tools_extensionmanagerextensionmanager[format]=json&tx_extensionmanager_tools_extensionmanagerextensionmanager[action]=updateExtension&tx_extensionmanager_tools_extensionmanagerextensionmanager[controller]=Download throws a 500 Internal Server Error and returns an exception about my PHP version being too high (I'm using PHP 5.5.3).
PHP 5.5.x is supported by TYPO3 6.1.x, as I read from the downloads page.
Uncaught TYPO3 Exception
Your PHP version is higher than allowed. You can use PHP versions 5.2.0 - 5.4.99
TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException thrown in file
/path/to/typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php in line 222.
- Status changed from New to Needs Feedback
Ok I guess it shouldn't be a 500 error.
This failure is caused by some extension. check the extensions and their requirements in the ext_emconf.php file.
As a test, I've updated div2007 from 0.11.0 to 1.1.4. The former has a PHP dependency 5.2.0-5.3.99. The latter to 5.4.99 (matches the error). I can, however, update extensions by uploading a t3x file, without any errors occurring (no dependency warnings either).
Shouldn't I get a message stating that my environment doesn't match the dependencies (with an ignore button), in stead of an exception?
- Status changed from Needs Feedback to Accepted
- Subject changed from Extensionmanager randomly hangs when updating extension to Extensionmanager does not show error messages on update failure
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF