You get that error when you add this below i don't know why because i get it too.
(if ($ubb eq 'chat') {
&RequireCode("$vars_config{CGIPath}/ubb_chat.cgi");
&chat;
exit(0);
}
if ($vars_chat{Invite}) {
if ($ubb eq 'newinvite') {
&RequireCode("$vars_config{CGIPath}/ubb_chat.cgi");
&invite_form("$vars_wordlets_mods{invite_message}");
exit(0);
}
if ($ubb eq 'invite') {
&GetOrPost("POST");
&RequireCode("$vars_config{CGIPath}/ubb_chat.cgi");
&invite;
exit(0);
}
})
Something here causes the compilation error everything else works when i take this out. But ofcourse the hack doesn't if i take this out!