0

Hello,

I have a website that uses Smarty. When I try $oSmart->display("header.html"); I get a blank page without warnings and errors. I'v proven with var_dump() that the smarty object is succesfully created. I know to that the page is enterily rendered by using:

echo "start";

//Smarty Stuff

echo "end";

Also the template folder is specified. Does anyone know what might have caused this? I use a ubuntu server with ispconfig and it is configurated with this turtorial: http://www.howtoforge.com/perfect-server-ubuntu-11.10-ispconfig-3. Sorry for any grammer errors, I'm from Holland.

Thanl you for your time and help.

2
Contributors
3
Replies
5
Views
5 Years
Discussion Span
Last Post by steven447
0

Does the smarty compile the header.html?
Anything inside the directory themes_c?
Can you turn on the debug to true?

0

I already tried everything: Debugging, try catch, custom erros etc. I don't have a dir called themes_c Everything is stored in the /templates folder and this is set in the smarty object. How can I check if header.html is compiled?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.