Call to undefined method dmbc_in_stock_Definition::WA_eCartDefinition() in C:\xampp\htdocs\dmbc\WA_eCart\dmbc_in_stock_PHP.php on line 5
Hi Ray,
Just amended a rule on my eCart and then when I run the site it is showing the following error:
Call to undefined method dmbc_in_stock_Definition::WA_eCartDefinition() in C:\xampp\htdocs\dmbc\WA_eCart\dmbc_in_stock_PHP.php on line 5
Looking at the first few lines
1 <?php
2 require_once("WA_eCart_Definition_PHP.php");
3 class dmbc_in_stock_Definition extends WA_eCartDefinition {
4 function dmbc_in_stock_Definition($CartName, $PersistanceType, $CurrencyPrefix, $CurrencyCode, $ForceDecimalsC, $DecimalPlacesC, $CurrencyAlign, $WeightSuffix, $ForceDecimalsW, $DecimalPlacesW, $WeightAlign, $NumberDisplay, $ColumnsArray) {
5 $this->WA_eCartDefinition($CartName, $PersistanceType, $CurrencyPrefix, $CurrencyCode, $ForceDecimalsC, $DecimalPlacesC, $CurrencyAlign, $WeightSuffix, $ForceDecimalsW, $DecimalPlacesW, $WeightAlign, $NumberDisplay, $ColumnsArray);
6 }
7 //start node
Now if I remove lines 4 -6 the site runs fine.
First time I have come across this error and it happens when the eCart php file gets rewritten.
Any ideas.