2
In index.php you need to delete line 48
$xoopsTpl->register_postfilter('add_header');
and also delete lines 38-41
function add_header($tpl_source, &$xoopsTpl)
{
return "echo $xoops_module_header; ?>n".$tpl_source;
}
If you're using PHP5 then in ./class/coupon.php you'll want to change line 124 from:
if (get_class($coupon) != 'coupon') {
to:
if (get_class($coupon) != 'Coupon') {
Notice the capital 'C' in the right hand side of the equation.