icmsOnDemandPreload - what is it and how does it work?

Posted by skenow on 1266161103
<p>I was troubleshooting a blank page in imBlogging admin and ImpressCMS 1.2 and found a class being redeclared because of this in imblogging/admin/post.php</p> <p>PC9wPg0KDQo8cD4kaWNtc09uRGVtYW5kUHJlbG9hZFtdID0gYXJyYXkoICYjMzk7bW9kdWxlJiMzOTs9Jmd0OyYjMzk7aW10YWdnaW5nJiMzOTssICYjMzk7ZmlsZW5hbWUmIzM5Oz0mZ3Q7JiMzOTtqcXVlcnkucGhwJiMzOTsgKTsgJGljbXNPbkRlbWFuZFByZWxvYWRbXSA9IGFycmF5KCAmIzM5O21vZHVsZSYjMzk7PSZndDsmIzM5O2ltdGFnZ2luZyYjMzk7LCAmIzM5O2ZpbGVuYW1lJiMzOTs9Jmd0OyYjMzk7aW10YWdnaW5nYWRtaW5jc3MucGhwJiMzOTsgKTsg By commenting out that section, the blank page went away and everything seems to be working just fine. Just below the above section of code is the following IC8qKiBJY21zT25kZW1hbmRQcmVsb2FkIGlzIG5vdCBzdXBwb3J0ZWQgcHJpb3IgdG8gMS4yIEFscGhhLiBUaGlzIGlzIGEgd29ya2Fyb3VuZCAqLyBpZiAoSUNNU19WRVJTSU9OX0JVSUxEICZsdDsgMjUpIHsgJGljbXNBZG1pblRwbC0mZ3Q7YXNzaWduKCYjMzk7aW1ibG9nZ2luZ19qcXVlcnlfaW5jJiMzOTssICYjMzk7PHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiIHNyYz0iJyAuIElDTVNfTElCUkFSSUVTX1VSTCAuICcvanF1ZXJ5L2pxdWVyeS5qcyI+PC9zY3JpcHQ+PC9wPg0KDQo8cD4mIzM5Oyk7IH08L3A+DQoNCjxwPg==</p> <p>I think 2 different approaches were made for preloads and they now conflict with each other. Who can explain and improve this?</p><!-- input filtered -->

This Post was from: https://beta.impresscms.org/iforum/viewtopic.php?topic_id=4080&post_id=36748