Skip Navigation

[Resolved] Demo Design reference site installation problem

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.

This thread is resolved. Here is a description of the problem and solution.

Problem: I am trying to install the Demo Design reference site using the Framework Installer, but the installation process just hangs and never finishes. I see an error in my server logs:

PHP Fatal error: Class 'ZipArchive' not found in /path/to/wp-content/themes/toolset-starter/library/toolset-site-installer/installer/application/model/helper/zip.php on line 3

Solution:
The required zip extension for PHP is not installed on your server. Please contact your hosting provider and ask to have this module installed and activated on your server environment.

Relevant Documentation:
https://toolset.com/toolset-requirements/

This support ticket is created 7 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by Gina Hunt 7 years, 1 month ago.

Assisted by: Christian Cox.

Author
Posts
#581274
Toolset Screenshot.png

I am trying to: use the Installer from Toolset Starter Theme to set up default templates

Link to a page where the issue can be seen:

I expected to see: visible progress for each download step

Instead, I got: stalled on the Demo Design download; I left it running for 3 hours and it never moved past "loading, please wait..."

#581736

Hi, sorry you're having trouble here. It's possible that there was a brief server hiccup on our end that caused a problem during the download process, or there may have been an error on your host environment. Please try the following steps:
Go in your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

Then add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

Retry the installation process. If any server errors are thrown, this will create an error_log.txt file in your site's root directory. Please send me its contents. Once that is done, you can revert the updates you made to wp-config.php.

If no log file is generated and the files never download, then I may need to take a closer look.

#584547

This is the content of error_log.txt:

[31-Oct-2017 14:04:33 UTC] PHP Fatal error: Class 'ZipArchive' not found in /var/www/stlad-ng/wp-content/themes/toolset-starter/library/toolset-site-installer/installer/application/model/helper/zip.php on line 3

#584840

Okay thanks, it appears that your server does not have the zip extension installed for PHP, or has it configured incorrectly. This is a requirement for the demo sites, so you may need to speak to your hosting provider about installing and configuring the zip extension for you, so that WordPress can utilize it as needed.

#586017

Thanks, it works now!

The forum ‘Types Community Support’ is closed to new topics and replies.