WoodWing Help Center

Unable to upload a .htmlwidget file in Content Station

Unable to upload a .htmlwidget file in Content Station

When trying to upload a Widget (a file using the file format .htmlwidget) using Content Station, one of the following messages can appear:

'Could not read the given archive'

'Could not store the Widget because the manifest.xml file isn't conform the schema.'

Use one of the following solutions:

Solution 1: Unzip the file

In case the file is a compressed file ending with the extension '.zip', unzip the file. In case the resulting folder contains a .htmlwidget file you should be able to upload this file successfully.

Solution 2: Recreate the archive

Step 1. Change the file extension of the Widget from '.htmlwidget' to '.zip'.

Step 2. Double-click the file to unzip it.

Step 3. Open the resulting folder.

Step 4. Select all files and compress them into a '.zip' file.

Step 5. Change the name of the file to a more meaningful name.

Step 6. Change the file extension from '.zip' to 'htmlwidget'.

Step 7. Try uploading the file once more.

Solution 3: Update the PHP library

The 'Could not store the Widget because the manifest.xml file isn't conform the schema.' message has been related to an outdated version of the libxml PHP library. To check this, follow these steps:

Step 1. Open the phpinfo file on your server where Enterprise Server is installed.

Step 2. Look up libxml Version.

Step 3. If this version is 2.6.26 or lower, we recommend to update either this library (to version 2.6.30 or higher) or to update your PHP version altogether.

Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.