On my new MSM installation I have errors like this in error.log:
thrown in /usr/local/strony/midgard/core/lib/asset_map/asset_map.inc on line 1438
[31-Aug-2011 07:46:41] PHP Fatal error: Uncaught exception 'Exception' with message 'Failed to get the assets due to an empty XML' in /usr/local/strony/midgard/core/lib/asset_map/asset_map.inc:1438
Stack trace:
#0 /usr/local/strony/midgard/core/lib/asset_map/asset_map.inc(591): Asset_Map->_getAssets(Object(SimpleXMLElement))
#1 /usr/local/strony/midgard/core/include/mysource.inc(1664): Asset_Map->process(NULL)
#2 /usr/local/strony/midgard/core/include/mysource.inc(422): MySource->_processGlobalActions()
#3 /usr/local/strony/midgard/core/include/init.inc(255): MySource->init()
#4 /usr/local/strony/midgard/core/web/index.php(28): require_once('/usr/local/stro...')
#5 {main}
thrown in /usr/local/strony/midgard/core/lib/asset_map/asset_map.inc on line 1438
This is MSM 4.2.2 on debian 6.
At this moment in msm I have only ~4k assets.
On my new MSM installation I have errors like this in error.log:
thrown in /usr/local/strony/midgard/core/lib/asset_map/asset_map.inc on line 1438
[31-Aug-2011 07:46:41] PHP Fatal error: Uncaught exception 'Exception' with message 'Failed to get the assets due to an empty XML' in /usr/local/strony/midgard/core/lib/asset_map/asset_map.inc:1438
Stack trace:
#0 /usr/local/strony/midgard/core/lib/asset_map/asset_map.inc(591): Asset_Map->_getAssets(Object(SimpleXMLElement))
#1 /usr/local/strony/midgard/core/include/mysource.inc(1664): Asset_Map->process(NULL)
#2 /usr/local/strony/midgard/core/include/mysource.inc(422): MySource->_processGlobalActions()
#3 /usr/local/strony/midgard/core/include/init.inc(255): MySource->init()
#4 /usr/local/strony/midgard/core/web/index.php(28): require_once('/usr/local/stro...')
#5 {main}
thrown in /usr/local/strony/midgard/core/lib/asset_map/asset_map.inc on line 1438
This is MSM 4.2.2 on debian 6.
At this moment in msm I have only ~4k assets.
I think it ships with PHP 5.3.X which is where the issue arises from. I was randomly able to see it when I was testing other things but couldnt find a proper way to replicate it. Can you tell us what are you trying to do here when this error comes up? might help me in establishing some consistency.
I think it ships with PHP 5.3.X which is where the issue arises from. I was randomly able to see it when I was testing other things but couldnt find a proper way to replicate it. Can you tell us what are you trying to do here when this error comes up? might help me in establishing some consistency.
Regards,
Ash
[/quote]
Hi Ash,
Yes, it is PHP 5.3.
5.3.3-7+squeeze3
I have this error while I login as backend user.
Now I made some test and error was when I did:
site > Details > Special Page Links > Index > Show in Asset Map
I click on "Show in Asset Map" ico.
I'm confused - for some assets/sites I have this error for another not.
All tested assets are exist.
I checked also pgsql and apache logs but there are none info.
site > Details > Special Page Links > Index > Show in Asset Map
I click on "Show in Asset Map" ico.
I'm confused - for some assets/sites I have this error for another not.
All tested assets are exist.
I checked also pgsql and apache logs but there are none info.
Regards
Arek
[/quote]
Yep, see this is where the issue is. I wasn't able to get a particular path to replicate the issue so after some time i gave up thinking it is just system particular. But will surely look into this issue again as you can see it happening too.
[quote]
Yep, see this is where the issue is. I wasn’t able to get a particular path to replicate the issue so after some time i gave up thinking it is just system particular. But will surely look into this issue again as you can see it happening too.
Will keep the thread posted with same.
Cheers Arek
Ash
[/quote]
Okie so this was indeed a bug which has now been fixed. Check it here.