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.'
A Widget is an object that is used when creating content for publishing to Adobe DPS. It is an HTML component with distinct functionality such as a 360-degree view of an object, a slide show, or a zoomable image. Widgets use the file extension '.htmlwidget' and are compressed as a ZIP file; they may require to be uncompressed first.
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.
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.