Bug #52178
closed
.zip - Extension Upload failed
Added by Lukas Schnabel almost 11 years ago.
Updated almost 6 years ago.
Category:
Extension Manager
Description
First of all: I'm sorry if I'm posting this issue under the wrong project, however the form crashed whenever I tried to select Extension Manager from the dropdown-list as the project.
The issue:
Whenever I'm trying to upload an extension in a .zip-file using the extension manager, I get the following error message:
Extension Upload failed
PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Extensionmanager\Utility\InstallUtility::processDatabaseUpdates()
must be of the type array, null given, called in
C:\Program Files\XAMPP\htdocs\fluid_templating\typo3\sysext\extensionmanager\Classes\Utility\InstallUtility.php on line 133 and
defined in C:\Program Files\XAMPP\htdocs\fluid_templating\typo3\sysext\extensionmanager\Classes\Utility\InstallUtility.php line 244
However, there is no problem uploading an extension as a .t3x-file. The issue seems to be related to .zip-files only!
Files
- Status changed from New to Needs Feedback
Uploading extensions as zip file works for me. Most likely, your extension is somehow corrupt.
Can you attach the extension that fails for you?
The weird thing about it is that it worked fine for me a week ago or so, too. Then, I installed TYPO3 6.1.5 (blank package) on my local server (XAMPP 1.8.3) this weekend. Since then, I keep getting this error. I already re-installed XAMPP and tried other versions of TYPO3 (6.0.10 and 6.1.0) - however, this didn't fix the problem.
At first, I thought my extension was the reason as well. But then I tried other extensions which I previously was able to install successfully in the .t3x file format (e.g. flux, fluidpages_bootstrap, ft3_empty) and kept getting the same error.
Did you cleaned your TYPO3 Cache after updating? (typo3temp/Cache)
What do you mean by "after updating"? I did an entirely new installation of TYPO3 and not an update.
However, I just tried what you suggested and cleaned the cache directory - which unfortunately didn't fix the problem for me. I still get the same error message.
What I'd like to add: every time I try to install an extension in the .zip file format, the extension manager creates a .zip folder in typo3conf/ext - e.g. when I try to install "flux-master.zip", the extension manager creates a folder called "flux-master.zip" in typo3conf/ext. This folder is always empty though.
I can confirm this bug. I took one of my extensions from another website, zipped it as <extension-name>.zip
with a 1st-level folder <extension-name>
and tried to upload it in TYPO3-master. It fails with the aforementioned flash message.
- Status changed from Needs Feedback to Accepted
- Assignee set to Xavier Perseguers
Note: the zip should only contain the files, not an additional 1st level directory. Problem has been fixed locally, uploading a patch.
- Status changed from Accepted to Under Review
Xavier Perseguers wrote:
Note: the zip should only contain the files, not an additional 1st level directory. Problem has been fixed locally, uploading a patch.
I tested the patch today (following the advice of removing the additional 1st level directory) - it solved the error that the extension upload failed.
However, the extension manager still doesn't create any subfolders (like Classes, Configuration, Resources, ...) in the directory of the extension (typo3conf/ext/my_ext). Only the 1st level files (like ext_emconf.php, ext_tables.php, ...) were created.
Strange. But please then put your comment right into Gerrit, where the patch is. You have to authenticate to do so, using the exact same credentials as here. Thanks
I have no issue. Just tried to upload comments.zip, it created a subdir in typo3conf/ext with correct extkey name and all subdirs inside it.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF