Jump to content

Problem with module install after update ($config->moduleInstall, ProcessWire 3.0.165).


Recommended Posts

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?Capture.thumb.PNG.7244be4f9744fe855e030c1c5775f5cd.PNG

Edited by kongondo
merged similar threads.
  • Like 1
Link to post
Share on other sites

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?

  • Like 1
Link to post
Share on other sites
  • 4 months later...

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.

Link to post
Share on other sites
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 post
Share on other sites
  • 1 month later...

@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.

Link to post
Share on other sites

@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.
Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...