Thursday, 28 May 2009

Kiwee - Fatal error: Call to a member function getChunk()

Installed Kiwee v1.0.7b onto the beginning of a new website (using MODx cms) and soon found that when I clicked on the tabs of some of the management sections under KiweeCommerce that I was getting the following error:

Fatal error: Call to a member function getChunk() on a non-object in C:\wamp\www\countryvintage\assets\
snippets\shoppingCart\eCart\include\eValues.inc.php

on line 240


I found that the line was trying to get a Chunk called 'gDiscountTplx' which was not installed under the HTMLSnippets section. Hunting through the 'installconfig.inc' file in the installation folder for HTMLSnippets I soon found that the problem was that although the entry existed the following (and last) Tpl file 'gCouponTplx' was incorrectly using the same index number for the $html array thus it was overwriting the details for 'gDiscountTplx' and therefore it was never to be installed.

This has been fixed for the any new release (which should be called v1.0.8)


Richard
Visionscape

No comments:

Post a Comment