Pre Built Website > The package could not be unziped.

I tried to install the Pre-Built Website (Smart) and its demo content, but the following error message always appears: The package could not be unziped.

I can see that a file named smart.zip is uploaded in the folder: /public_html/wp-content/uploads/be-demo-tmp/ and the folder seems to have all necessary privileges, but can’t understand the error message.

In the logs I can’t find anything.

I installed all the recommended plugins as they say in the video tutorial, but it doesn’t work.

All recommended settings have been applied.
Uploads folder writable: Ok
WP File System: Ok
ZipArchive: Ok
MySQL Version: 5.7.27
PHP Version: 7.0.33-0ubuntu0.16.04.6
PHP Memory Limit: 256 MB
PHP Time Limit: 180 PHP
Max Input Vars: 5000
WP Max Upload Size: 20 MB
cURL: Ok
DOMDocument: Ok
WP Version: 5.2.4

I also performed a test manually using the ZipArchive class. The file "smart.zip" was read correctly and did not present any errors. 
Confirming that the Zip extension prerequisite is installed.

Do you have any suggestion?

Thanks!

--
Below is the result of my test and how it was performed.

$zip = zip_open("smart.zip");

if ($zip) {
echo "<pre>";
    while ($zip_entry = zip_read($zip)) {
        echo "Name:               " . zip_entry_name($zip_entry) . "\n";
        echo "Actual Filesize:    " . zip_entry_filesize($zip_entry) . "\n";
        echo "Compressed Size:    " . zip_entry_compressedsize($zip_entry) . "\n";
        echo "Compression Method: " . zip_entry_compressionmethod($zip_entry) . "\n";
        echo "\n";
    }
    zip_close($zip);
}

The result is:

Name: smart/
Name: smart/content.xml.gz
Name: __MACOSX/
Name: __MACOSX/smart/
Name: __MACOSX/smart/._content.xml.gz
Name: smart/menu.txt
Name: __MACOSX/smart/._menu.txt
Name: smart/options.txt
Name: __MACOSX/smart/._options.txt
Name: smart/smart.zip
Name: __MACOSX/smart/._smart.zip
Name: smart/widget_data.json
Name: __MACOSX/smart/._widget_data.json
Name: __MACOSX/._smart

Comments

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.