Simi Posted November 11, 2020 Share Posted November 11, 2020 (edited) Since I updated to the version ProcessWire 3.0.165 installing modules from URL, directory and Upload won't work anymore. I have already added $config->moduleInstall('download', true); to my /site/config.php file, but it still doesnt work. Has anyone a solution for this? Edited November 12, 2020 by kongondo merged similar threads. 1 Link to comment Share on other sites More sharing options...
benbyf Posted November 12, 2020 Share Posted November 12, 2020 Running PW 3.0.165 and have added to config.php: $config->moduleInstall('directory', true); $config->moduleInstall('download', true); $config->moduleInstall('upload', true); but with no change in the admin... stil unable to update modules, or grab them via urls ? whats the deal here? 1 1 Link to comment Share on other sites More sharing options...
kongondo Posted November 12, 2020 Share Posted November 12, 2020 @benbyf, moderator note A near identical topic was created yesterday. I have combined your threads. @Simi I have modified the thread title slightly to better reflect the issue you are facing. 1 2 Link to comment Share on other sites More sharing options...
johnnydoe Posted April 9, 2021 Share Posted April 9, 2021 Hi! Had this problem today too. In my case this was a problem with file permissions. After setting permissions to 777 for the folder site/modules/ it worked. 1 Link to comment Share on other sites More sharing options...
Simi Posted April 10, 2021 Author Share Posted April 10, 2021 (edited) - Edited December 14, 2021 by Simi Duplicate 1 Link to comment Share on other sites More sharing options...
Simi Posted April 10, 2021 Author Share Posted April 10, 2021 On 4/9/2021 at 12:11 PM, johnnydoe said: Hi! Had this problem today too. In my case this was a problem with file permissions. After setting permissions to 777 for the folder site/modules/ it worked. Hi johnnydoe! I adjusted my file permissions, but it still shows the same message! Link to comment Share on other sites More sharing options...
Andy Posted June 7, 2021 Share Posted June 7, 2021 @Simi On 4/10/2021 at 4:25 PM, Simi said: Hi johnnydoe! I adjusted my file permissions, but it still shows the same message! I have the same situation when using PHP 7.4. And no configurations and folder permissions fix this. When using PHP 7.3 (and earlier) modules are loaded normally. 1 Link to comment Share on other sites More sharing options...
Andy Posted June 9, 2021 Share Posted June 9, 2021 @Simi On 6/7/2021 at 2:08 PM, Andy said: @Simi I have the same situation when using PHP 7.4. And no configurations and folder permissions fix this. When using PHP 7.3 (and earlier) modules are loaded normally. Problem solved. PHP 7.4 ZIP extension option --enable-zip was removed. You need to manually install Zip and ZipLib in PHP. The rest of the access rights must also be set. But, I still do not understand why errors are not displayed in the log file? Make sure /site/assets/cache/ directory is writeable for PHP. Make sure your site modules directory (/site/modules/) is writeable for PHP. ZipArchive class is required and your PHP does not appear to have it. 3 Link to comment Share on other sites More sharing options...
Simi Posted February 9, 2022 Author Share Posted February 9, 2022 Hello everyone! A update to the new ProcessWire version 3.0.184 and the new PHP version solved the issue for me. Thanks again! ? 2 Link to comment Share on other sites More sharing options...
Joachim Posted June 17, 2022 Share Posted June 17, 2022 On 6/9/2021 at 11:18 AM, Andy said: @Simi Problem solved. PHP 7.4 ZIP extension option --enable-zip was removed. You need to manually install Zip and ZipLib in PHP. Hi Simi, Can you explain how to do this? Thank you in advance! 1 Link to comment Share on other sites More sharing options...
Simi Posted June 19, 2022 Author Share Posted June 19, 2022 On 6/17/2022 at 2:45 PM, Joachim said: Hi Simi, Can you explain how to do this? Thank you in advance! There are already good guides on the internet on how to update ProcessWire! Look here: How to upgrade ProcessWire to the latest version or here ProcessWire Upgrade (ProcessWireUpgrade) - ProcessWire Module 2 Link to comment Share on other sites More sharing options...
Andy Posted June 20, 2022 Share Posted June 20, 2022 On 6/17/2022 at 3:45 PM, Joachim said: Hi Simi, Can you explain how to do this? Thank you in advance! How to enable archive support in PHP. Your web hosting provider must have these options enabled when running PHP. If you control this yourself, add these keys on the PHP command line: --with-bz2=/usr --with-zip --with-zlib Detailed instructions are here: https://bobcares.com/blog/enable-php-zip-extension-cpanel/ 1 Link to comment Share on other sites More sharing options...
Joachim Posted July 20, 2022 Share Posted July 20, 2022 On 6/20/2022 at 1:07 AM, Simi said: There are already good guides on the internet on how to update ProcessWire! Look here: How to upgrade ProcessWire to the latest version or here ProcessWire Upgrade (ProcessWireUpgrade) - ProcessWire Module Thank you, Simi, but it was explicitly about manually installing "Zip and ZipLib in PHP". Link to comment Share on other sites More sharing options...
Joachim Posted July 20, 2022 Share Posted July 20, 2022 On 6/20/2022 at 1:16 PM, Andy said: How to enable archive support in PHP. Your web hosting provider must have these options enabled when running PHP. If you control this yourself, add these keys on the PHP command line: --with-bz2=/usr --with-zip --with-zlib Detailed instructions are here: https://bobcares.com/blog/enable-php-zip-extension-cpanel/ Thank you, Andy. The steps were slightly different through my provider, but it seems ZIP was enabled anyway. I tried again to enable debugging in config.php, and for some reason it worked now. Could it be a caching problem somewhere, maybe, as I had just updated ProcessWire before posting my initial message here? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now