-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
New install gives a Zip error #249
Comments
Update with further info: I'm on GoDaddy, I've verified the Zip PHP module is installed, and I get the error on PHP 8.0 and 8.1. Could this be a permissions issue? |
Hmmm. Is this shared hosting, or do you have Can I also have the name and version of your operating system please? On Linux, run these commands and paste the output: cat /etc/os-release
ls_release -a
uname -a I can't reproduce this error, so I'm going to need more information. Additionally, what version of Pepperminty Wiki are you using and where did you get it from? |
It may be a permissions issue, but I'm not sure. Either way, it's clearly not something I anticipated :P If you do have admin access over your host, please check the user that your PHP server (or, httpd if you are using Apache) and ensure that you For example, on my server PHP runs as sudo chown -R www-data:www-data path/to/directory If this doesn't help and I can't track down the error from the additional info you provide above, I will produce a debug version of |
Thanks, @daveschroeter For #249, but does NOT fix it
To summarise a Discord chat, the Pepperminty Wiki from commit 7698290 and later will now generate a more useful error message. If you get the following text:
Therefore, Pepperminty Wiki is unable to unpack the extra data resources it needs to run. Further inspection revealed that the Libzip version was 1.3.2..... and the latest version on Ubuntu 23.04 is 1.7.3, and on libzip.org it's 1.10! Also, 1.3.2 was released on 20th November 2017! As a workaround, please:
|
PHP Fatal error: Uncaught ValueError: Invalid or uninitialized Zip object in /my_server/index.php:1825
Stack trace:
#0 /myserver/index.php(1825): ZipArchive->extractTo()
#1 {main}
thrown in /myserver/index.php on line 1825
I am on PHP 8.0 and verified that the zip module is installed. Any ideas?
The text was updated successfully, but these errors were encountered: