New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing plugins from zip #2361

Closed
do2ih opened this Issue Apr 29, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@do2ih

do2ih commented Apr 29, 2018

When I try to install plugins using the extension manager I get an error: “Unable to identify extension directory, you need to download and install manually”. The error only occurs, when the plugin is a zip-file. No problem if you install a plugin from a tarball. It seems like the problem is located in vendor/splitbrain/php-archive. If I substitute this with the correspondending directory in old-stable everything seems to work fine.

@splitbrain

This comment has been minimized.

Owner

splitbrain commented Apr 30, 2018

I can not reproduce this. Which plugin did you try to install. What's your environment?

@do2ih

This comment has been minimized.

do2ih commented Apr 30, 2018

My environment is a VM from Bitnami. With oldstable (2017-02-19e) I had no problems. After a update to the new stable (2018-04-22) the reported problem occurs. One of the plugins with the error message is the "Todo"-Plugin. Others have the same Problem. Look here: https://community.bitnami.com/t/cannot-install-plugins-in-version-20180422-0/57187

I hope, this was helpful for you.

@splitbrain

This comment has been minimized.

Owner

splitbrain commented May 1, 2018

I was able to reproduce this in a bitnami image. The problem is related to this bug report: https://bugs.php.net/bug.php?id=44096

Which turns out to be a setup error of the underlying iconv system. The used codepage is missing. This should probably be fixed on the bitnami images as it makes the iconv library pretty useless.

I found a hint on how to fix this in this commit: phpmyadmin/phpmyadmin@985bdd1 and implemented it in splitbrain/php-archive@a46f3aa tagged as 1.0.10 on the php-archive library.

@splitbrain splitbrain closed this in ddb94cf May 1, 2018

splitbrain added a commit that referenced this issue May 7, 2018

Merge branch 'master' into psr2
* master:
  fixed tests for chunked encoding
  Update PHP logo URL to HTTPS
  Bump updateVersion
  fix draft recovering
  updated php-archive lib. fixes #2361
  translation update
  translation update
  Add simple catch-all to left install.php div
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment