This is an old revision of the document!


Problem: live chat widget does not show up.

Reason: Live chat widget was added to footer template, but not through regular layout.xml, but widget.xml

Exception log shows:

#0 /home/user1/public_html/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /home/user1/public_html/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout-
>_getBlockInstance('chatbox/chatbox', Array)
#2 /home/user1/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout-
>createBlock('chatbox/chatbox', '48958d0b714472a...')

Solution: The footer block cannot load widget block properly, hence hole punch for public footer block needs to be disabled.

How to disable hole punch for footer plock? You will need to modify config.xml file and remove(comment out) footer section.

cd app/code/community/Litespeed/Litemage/etc/
vi config.xml

Simply remove the following

              <footer>
                  <access>public</access>
                  <blocks>footer</blocks>
              </footer>

or use <!-- --> to comment it out.

            <!--  <footer>
                  <access>public</access>
                  <blocks>footer</blocks>
              </footer> -->

Please be aware that config.xml will be overridden by LiteMage upgrade. You will need to do the above change again after the upgrade. You can not keep the old config file and copy over after the upgrade, as new fields will be added for each upgrade.

  • Admin
  • Last modified: 2017/05/02 16:00
  • by Jackson Zhang