Forums | Mahara Community
Support
/
Problem exporting from Mahara
04 July 2014, 11:10
Hello,
I'm new to Mahara but I want to implement it in my school since Mahara is a GREAT tool for education.
Everything is working just fine, except EXPORT and IMPORT.
When exporting the portfolio, I keep receiving the followind message:
Your system does not have the zip command. Please install zip to enable this feature.
When importing the portfolio, I keep receiving the followind message:
Your system does not have the unzip command, or $cfg->pathtounzip is misconfigured. Please install unzip to enable importing a zipped export file or fix the $cfg->pathtounzip setting.
HOW CAN I SOLVE THIS PROBLEM?
ANY HELP, PLEASE!
Best regards,
jlima
04 July 2014, 11:13
I forgot to ask:
- in which file or directory do I config the zip/unzip problem?
- what do I have to write?
Thank you!
jlima
04 July 2014, 12:38
Hello Jlima,
Great that you like working with Mahara.
The zip program needs to be installed on your server and not your computer. So depending on the operating system of your server, you will need to choose the appropriate software.
https://mahara.org/interaction/forum/topic.php?id=1928#post8748 might help if you are on Linux.
Cheers
Kristina
07 July 2014, 11:37
To expand on what Kristina said, you need to have the "zip" and "unzip" command-line programs installed on your web server. Once you know the executable path to each of these, you can set it up in your config.php like this:
$cfg->pathtozip = '/path/to/zip';
$cfg->pathtounzip = '/path/to/unzip';
But replace those with the actual paths to the executables.
Cheers,
Aaron