Giter VIP home page Giter VIP logo

Comments (4)

daveschroeter avatar daveschroeter commented on August 27, 2024

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?

from pepperminty-wiki.

sbrl avatar sbrl commented on August 27, 2024

Hmmm. Is this shared hosting, or do you have root / sudo / admin / whatever you want to call it permissions over your hosting platform?

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?

from pepperminty-wiki.

sbrl avatar sbrl commented on August 27, 2024

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 chown index.php and the entire directory it sits in to this user account.

For example, on my server PHP runs as www-data, so I do this:

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 index.php for you that I'll ask you to test for me to gather more information.

from pepperminty-wiki.

sbrl avatar sbrl commented on August 27, 2024

To summarise a Discord chat, the ZipArchive implementation on GoDaddy shared hosting does not work correctly.

Pepperminty Wiki from commit 7698290 and later will now generate a more useful error message. If you get the following text:

Oops! Unfortunately, Pepperminty Wiki wasn't able to unpack itself properly. This is likely either a server misconfiguration or a bug. ZipArchive, the extractor class used by Pepperminty Wiki says: The zip archive was inconsistent.

Please check that the zip extension is installed properly by inspecting the output of php -m, or running the phpinfo() command in a .php file on your webserver.

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:

  1. Report the issue to your hosting provider and tell them to update their stuff, 'cause it's very very out of date
  2. Download and extract the following .zip and upload the ._extra_data directory contained within to sit alongside your index.php: extra_data.zip

from pepperminty-wiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.