[Solved] After upgrade 3.26.3 to 3.26.4, error in Asset map - Could not load children: error while parsing


(Graham Crocker) #1

I am in the process of upgrading the CMS from version 3-26-3 to 4-8-2.


I have upgraded the system from version 3-26-3 to 3-26-4, in order to upgrade to version 3-28-0.

Everything seems to work, except for this one thing.



On opening the System Management asset in the Asset map, Java throws the error: "Could not load children: error while parsing: the Markup in the document following the root element must be well-formed"



I tried seeing if the major update from 3-26-4 to 3-28-0 would correct it, but it has not.



Can anyone help?



Thank you


(Nic Hubbard) #2

Have you tested it in multiple browsers and multiple computers to make sure it isn't just a local java version issue?


(Dan Simmons) #3

No, it sounds like there is a PHP error in the asset map request. It's expecting a valid XML response but it just gets half of one, and this often happens when there is an error in the request half way through.


Check your Matrix error log in data/private/logs. There should be some relevant errors in there. If you can paste them here we can take a look for you.


(Graham Crocker) #4

[quote]
No, it sounds like there is a PHP error in the asset map request. It's expecting a valid XML response but it just gets half of one, and this often happens when there is an error in the request half way through.



Check your Matrix error log in data/private/logs. There should be some relevant errors in there. If you can paste them here we can take a look for you.

[/quote]

From error.log

[08-May-2012 14:56:19] PHP Fatal error: Uncaught exception 'Exception' with message 'Assertion failed: Asset "funnelback_manager" is not installed on the system, unable to include its source file' in /CMS/WEB/mysource_matrix/core/include/assertions.inc:507

Stack trace:

#0 /CMS/WEB/mysource_matrix/core/include/assertions.inc(344): trigger_exception('Asset "funnelba…', false, true)

#1 /CMS/WEB/mysource_matrix/core/include/asset_manager.inc(621): assert_isset_array_index(Array, 'funnelback_mana…', 'Asset "funnelba…')

#2 /CMS/WEB/mysource_matrix/core/lib/asset_map/asset_map.inc(1299): Asset_Manager->includeAsset('funnelback_mana…')

#3 /CMS/WEB/mysource_matrix/core/lib/asset_map/asset_map.inc(1480): Asset_Map->_getChildAssets(Object(SimpleXMLElement), '2', false, '0', '50')

#4 /CMS/WEB/mysource_matrix/core/lib/asset_map/asset_map.inc(590): Asset_Map->_getAssets(Object(SimpleXMLElement))

#5 /CMS/WEB/mysource_matrix/core/include/mysource.inc(1601): Asset_Map->process(NULL)

#6 /CMS/WEB/mysource_matrix/core/include/mysource.inc(369): MySource->_proc in /CMS/WEB/mysource_matrix/core/include/assertions.inc on line 507


(Benjamin Pearson) #5

[quote]
From error.log

[08-May-2012 14:56:19] PHP Fatal error: Uncaught exception 'Exception' with message 'Assertion failed: Asset "funnelback_manager" is not installed on the system, unable to include its source file' in /CMS/WEB/mysource_matrix/core/include/assertions.inc:507

Stack trace:

#0 /CMS/WEB/mysource_matrix/core/include/assertions.inc(344): trigger_exception('Asset "funnelba…', false, true)

#1 /CMS/WEB/mysource_matrix/core/include/asset_manager.inc(621): assert_isset_array_index(Array, 'funnelback_mana…', 'Asset "funnelba…')

#2 /CMS/WEB/mysource_matrix/core/lib/asset_map/asset_map.inc(1299): Asset_Manager->includeAsset('funnelback_mana…')

#3 /CMS/WEB/mysource_matrix/core/lib/asset_map/asset_map.inc(1480): Asset_Map->_getChildAssets(Object(SimpleXMLElement), '2', false, '0', '50')

#4 /CMS/WEB/mysource_matrix/core/lib/asset_map/asset_map.inc(590): Asset_Map->_getAssets(Object(SimpleXMLElement))

#5 /CMS/WEB/mysource_matrix/core/include/mysource.inc(1601): Asset_Map->process(NULL)

#6 /CMS/WEB/mysource_matrix/core/include/mysource.inc(369): MySource->_proc in /CMS/WEB/mysource_matrix/core/include/assertions.inc on line 507

[/quote]



Sounds like the upgrade failed, more specifically somewhere along the line packages/funnelback got removed. If you can add this back in, it should work again.


(Graham Crocker) #6

[quote]
Sounds like the upgrade failed, more specifically somewhere along the line packages/funnelback got removed. If you can add this back in, it should work again.

[/quote]



I copied the old packages over the updated ones and it worked.

Cheers