PDA

View Full Version : Anti-flood: blank page returned with Smarty


grynmoors
12-24-2009, 12:16 AM
I'm using this on a site that uses Smarty. When I put the anti-flood code into my header, I get a blank page (it doesn't go to the flood.html that I created in the root)

Error reporting is showing this:
Fatal error: Smarty error: [in header.html line 3]: syntax error: unrecognized tag: session_start(); (Smarty_Compiler.class.php, line 531)

Would anyone happen to know how to get this to work with Smarty?

adrianTNT
01-16-2010, 12:25 PM
It has to do with smarty, but you already knew that :)
Try to Google the error, it is not really related to the script itself.