"Add to cart" code produces an error
Posted: Wed Oct 03, 2012 4:29 am
Hello forum,
I am on CMSMS 1.11.2 and when I add this code to my Summary template in the Products manager template it produces an error:
the error is as reads:
I am on CMSMS 1.11.2 and when I add this code to my Summary template in the Products manager template it produces an error:
Code: Select all
{cge_have_module m='CGEcommerceBase' assign='tmp'}
{if $tmp}
<div>
{cgecomm_form_addtocart product=$entry->id}
</div>
{/if}My installed modules:OMG! You broke this page.
ERROR: at line 806 in file /var/www/html/lib/smarty/sysplugins/smarty_internal_templatebase.php:
Message:
Call of unknown method 'capture_error'.
please help this is very frustrating as another site I have with the same code works fine but on a older version of cmsmsInstalled Modules
CMSMailer 5.2.1
CMSPrinting 1.0.3
FileManager 1.4.1
MenuManager 1.8.4
MicroTiny 1.2.3
ModuleManager 1.5.5
News 2.12.9
Search 1.7.7
ThemeManager 1.1.7
TinyMCE 2.9.11
CGSimpleSmarty 1.5.2
CGExtensions 1.31
JQueryTools 1.1.1
Products 2.18.4
CGSmartImage 1.9.4
CGEcommerceBase 1.3.11
Cart 1.8.4