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.