Miva Merchant 4 Module FAQs » Category Page Templates (BROK_CTGYTEMPLATES)


%subcats% Token Error

When using the %subcats% token in the main template I encounter the error:

/Merchant2/4.13/modules/system/BROK_CTGYTEMPLATES.mv: Line
944: Runtime Error: The maximum number of nested function
calls (23) has been exceeded (2003/07/07)

The module is encountering a limitation of the Miva engine (or more specifically, a configuration setting). The module uses a recursive algorithm to display the listing of subcategories. If your store has more than 23 ranks of categories (i.e. more than 23 parent-child relationships deep), then you will encounter this Miva limitation. The permitted number of nested functions is a setting in the global configuration file and you may be able to get your host to increase this to a number which works for your store. The setting is maxfunctiondepth. For Miva Mia, the limit is fixed at 23.

Last update: 2003-07-29 00:00
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category