2 users online. Create an account or sign in to join them.Users
Can't Install Export Ensemble
This is an open discussion with 14 replies, filed under Troubleshooting.
Search
I would suggest contacting MediaTemple support and ask them if their version of Apache has ZipArchive or try this
Yeah I have contacted them, and I have also searched Overture for Ensemble.
Does nobody here use Media Temple then? I would have thought a thriving application like Symphony would be compatible with Media Temple.
Its not so much Symphony being the issue as it is your host's set up. I use Symphony and have the same issue as you. I would have thought that exporting ensembles was best done in your localhost environment. Having said that, the best way around the solution is to use something like SVN to store your work and then push live and vice versa.
Well it's only a one off situation really. Client of mine has only just got hosting, so the site has been developed on my server. Now we need to put it on their server.
You can get the site a different way if an ensemble won't work:
- Connect to the database using a MySQL client (such as Sequel Pro) and take an SQL dump.
- Import this dump into your database on the new server.
- Download the entire site via FTP and upload to your new server.
- Modify the manifest/config.php to match the new server settings.
Well I was searching for that method on here. I believe Dru wrote about it. Couldn't find it, and I am now 75% done on copying the site over.
I have instructions for enabling zip on (mt) gs. Will post shortly.
1) SSH into your (gs).
2) Find out exactly what version of PHP you want to compile it for.
ls -ltrd /usr/local/php-5*
3) Set the path of whatever version of PHP you're compiling for (e.g. mine was 5.4.6-1).
export PATH="/usr/local/php-5.2.6-1/bin:$PATH"
4) Set your site id. You'll find this 5-digit number in your site's server path, or in the Account Center.
export SITEID=00000
5) Download and install PHP Extension:
mkdir /home/$SITEID/data/lib/php; mkdir 1; cd 1; wget http://pecl.php.net/get/zip && tar zxvf zip && cd zip-* && phpize5 && ./configure && make && cp modules/*.so /home/$SITEID/data/lib/php
6) Add these lines to your php.ini (located in /etc). Be sure to replace SITEID with your actual site id.
extension_dir=/home/SITEID/data/lib/php extension=zip.so
Voila! Zip enabled.
Cheers mate, works fine.
cp: cannot create regular file `/home/*****/data/lib/php’: No such file or directory
Does that mean it won’t work?
Try creating that directory manually, then re-run.
Thanks.
I get it to work with the instructions from czheng. But in one of my installations of Symphony I got an error when tryto export:
Fatal error: Allowed memory size of 103809024 bytes exhausted (tried to allocate 35726869 bytes) in /[...]/html/extensions/export_ensemble/extension.driver.php on line 135
On (mt)gs default memory_limit is 99M. But after I increased it to 150M it worked to export the zip-file.
Insert a line with memory_limit = 150M in php.ini located in /home/[SITEID]/etc/
Xampp produces an error as I can’t open any .zip exported ensemble. It’s fine on a linux server. Does anybody know if Nick’s approach above would work with extensions? I take it these can be can installed first?
edited: FIXED. I tried it out and it worked just by copying though colorbox stopped working…. Silly mistake, I had to do a find/replace as I had a different root folder name! All working fine.
You can get the site a different way if an ensemble won’t work:
* Connect to the database using a MySQL client (such as Sequel Pro) and take an SQL dump. * Import this dump into your database on the new server. * Download the entire site via FTP and upload to your new server. * Modify the manifest/config.php to match the new server settings.
Create an account or sign in to comment.
I am on Media Temple,
I am trying to install the Export Ensemble feature but it is saying this:
Export Ensemble cannot be installed, since the "ZipArchive" class is not available. Ensure that PHP was compiled with the --enable-zip flag.
What do I need to do?