1
Hello all,
I'm trying to build my first module, and when I run my index.php I'm getting
"Call to a member function on a non-object in {root directory}/footer.php on line 35"
where {root directory} is the root html directory for xoops. Normally this means the object wasn't defined or configured properly, however I checked out the line and it seems to be trying to run the method
$xoopsTpl->xoops_setCaching(0);
on the XOOPS template object.
what's weird is I have lots of code on top of this (Well in the index.php) which uses $xoopsTpl->assign, and these seem to work fine. it's just this setcaching thing which seems to be the problem.
Are there files other than mainfile.php which I need to include in order for this to work? I tried checking out other modules but can't see other differences between those and mine.
thanks,
Pete