Have delved a bit further, this line here was stopping the page rendering:
Code:
<li><a href="logout.php?logout=true" target="_top"><font color="#DD0000"><b> {php} echo gettext("LOGOUT");{/php}</b></font></a></li>
i removed:
Code:
{php} echo gettext("LOGOUT");{/php}
And it starts rendering, i have re-included the JS files again, but i can still not expand menu's etc. i get the random error of:
Code:
Warning: Error in parsing value for property 'cursor'. Declaration dropped.
Source File: http://voip/a2billing/Public/PP_intro.php
Line: 0
but all i can see is that changes the mouse pointer to a hand when hovering over. I still get the jQuery errors if i include the JS, andi cant get menu's expanding with or without them included.
Any other thoughts?
Added after 53 minutes: Looking at it a LOT further, it seems to have problems looking up Variables inside the TPL file, like {$SKIN_NAME} and {$PAGE_SELF}
Some of them it can find, and others it cant, it happens fairly randomly, but because of this it skips it and pushes on generally missing a " now because of it, causing basically all syntax after that to be incorrect.
Still looking into it but further thoughts would be appreciated.
Added after 12 minutes: More findings, its also crapping out at the very last {/if} of the main.tpl file. This causes it to stop the script before displaying the templtes. This really has me baffled, looks like something wrong in the 'Smarty Template' engine? Never used it before so i have even less of an idea on this haha.
This is getting frustrating >_<