Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: aED on July 30, 2020, 02:02:40 AM

Title: Error when installing mods
Post by: aED on July 30, 2020, 02:02:40 AM
I am getting these errors when installing mods. The mods do get installed so I wonder why I am getting those errors.

There is No file permission error shown before clicking the "Proceed" button when installing the mod.


Quote2: gzclose() expects parameter 1 to be resource, boolean givenApply
File: /var/www/dir/Sources/Subs-Package.php
Line: 2836


2: gzwrite() expects parameter 1 to be resource, boolean givenApply
File: /var/www/dir/Sources/Subs-Package.php
Line: 2835

2: gzwrite() expects parameter 1 to be resource, boolean givenApply
File: /var/www/dir/Sources/Subs-Package.php
Line: 2832

2: gzwrite() expects parameter 1 to be resource, boolean givenApply
File: /var/www/dir/Sources/Subs-Package.php
Line: 2829
Title: Re: Error when installing mods
Post by: Dzonny on July 30, 2020, 02:47:50 AM
Sounds like a host related or configuration problem to me.
It's related to gzopen which failed to open the file in the first place, and that's why it's showing errors like that.
Title: Re: Error when installing mods
Post by: vicram10 on July 30, 2020, 09:09:07 AM
Just like @Dzonny says, you should ask your hosting, it is a php configuration, which uses the package manager to be able to unzip the files and then install the mod
Title: Re: Error when installing mods
Post by: aED on July 30, 2020, 12:53:13 PM
It is a dedi server I manage.  What I was wondering is if it cannot open the file then how come the mod was installed?