Need help with a sample Script that has mistakes =(

Hello community =)

I am at an internship and got as exercise a sample homepage scripted in PHP and with mistakes.
I never learnd PHP but to understand the problems/mistakes I begin to learn it a little bit :wink:
The first mistake was a undifined variable and now I only have a white screen =
I have to display/insert the templates I think but how? The guy who gives me this exercise said that a “Smarty function” is missing and it have to be added in the “SiteManager.php” found in “__SYSTEM__CLASSES\SiteManager.php” …

The sample:

Please help me >.<
Gimme pls some instructions to find out the mistake or tell me the name of the missing function or anything… <3

Have you installed smarty correctly? Check their website for instructions

Sponsor our Newsletter | Privacy Policy | Terms of Service