Import Assets from XML Tool

Hi,

I create a site in my Squiz matrix and export it using "Export Assets to XML Tool" for move this site to another computer's Squiz matrix.  Is this correct way?.  I import the .tgz file using "Import Assets from XML Tool", but after import the site, when I try to load that site from my browser, then it display an error like this

 

-------------------------------------------------------------------------------------------------------------------------------------

 

MySource Warning                        

			            Cannot find the design file to print the asset, "871" [CORE0259]                        
	<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
			<br>
			&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;PHP Warning&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
	
			<br>
			&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br>
			require([SYSTEM_ROOT]/data/private/assets/design_customisation/0017/854/design_file.php):<br>
			failed to open stream: No such file or directory&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
	<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br>

Fatal error: require(): Failed opening required

‘/home/websites/squiz_matrix/data/private/assets/design_customisation/0017/854/design_file.php’


(include_path=’.:/home/websites/squiz_matrix/php_includes:/usr/share/php:/usr/share/pear’)

in /home/websites/squiz_matrix/core/assets/designs/design/design.inc on

line 1036

 

-------------------------------------------------------------------------------------------------------------------------

 

I did not understand this problem.  When I import the file, then Squix matrix display some warning, but no errors.  How can I solve this issue?

 

When you exported to XML, what did you make sure to include your design asset in the export?

Hi,

 

Thank you Nic Hubbard for your reply.

I try to export my site like this,

Tools -> Export Assets to XML Tool->Select my site ( the root node of my site ) and press "Commit" button.

And download the .tgz file and copy it to another system and import this file to its Squiz server using "Import Assets from XML Tool".  Then the above issues are displayed.  Please advice how to solve this issue.



 

 Please advice how to solve this issue.

 

Did you see my question? Just make sure on the Export to XML tool to click the "More" button which adds another root node selector. Then you can choose the root node where your design is at.

Hi,

I create one one root node in my Squiz matrix and under this root node I add all other files, which one I used for design my web page.  So I select only the root node.  Is this correct?

Is the design asset #871 correctly imported?

If so, can you re-commit the design parse file, so it will regenerate that missing design_file.php.  Will that fix your problem?

 

I think what you experienced might be a known bug:

http://bugs.matrix.squiz.net/view_bug.php?bug_id=6048

 

Upgrading to 4.12.3 should have this problem fixed. Otherwise, you can also try use the script version, which doesn't have this problem and run much faster.