"add functionality" not downloading blocks

Permalink 1 user found helpful
Dont know if people have found this out yet but i thought i would share this, as it took me a while to figure it out.

I have a reseller account and on each of the client installs of concrete5 the download blocks (add functionality) throws back an error.

i tracked it down to the base.php script in the congif of the concrete folder. you just need to change the zip un-zip locations.
cjange these two lines...
define('DIR_FILES_BIN_UNZIP', '/usr/bin/unzip');


define('DIR_FILES_BIN_ZIP', '/usr/bin/zip');


by adding /local to the user/bin/zip address

define('DIR_FILES_BIN_UNZIP', '/usr/local/bin/unzip');


define('DIR_FILES_BIN_ZIP', '/usr/local/bin/zip');


hope that helps.
slightly annoying when you upgrade and forget to change it again...

i think it must be something to do with how clients on a reseller accounts don't have root access so the zip unzip function (location) must be in local

ecomatt
 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.