Prime, it doesnt work, neither the header or footer. the problem is somewhere else, read the error message.
It doesnt matter what I add, I get the same thing, I think fixind that routine should be the first step and then the footer and header.
right now I only kept this:
sub StartPage{
&LoadTemplate("public_common");
&InitImportantStuff;
$MainButtonsLine = &MainButtonOptions;
&init_public_common;
&set_page_elements;}
and I get the same message as above.
dont give up!
have a great weekend.