PHP uses the template engine Smarty, read the template error prompt: Warning:smarty error:unable to read resource: "Index.html" in libs\smarty.class.php on line 109 5
Problem reason: The template directory is not set correctly
Workaround:
Call Echo $TPL->template_dir; on an error page View the location of the template, and modify the appropriate template to the correct location in the configuration file.
There's another possibility, clams. My index.html template file does not exist and will prompt for the template file to be found OH.
Attention:
A forward slash is the same as a backslash, but be aware that the backslash is an escape character in PHP and has no meaning. If you want to output single quotes ' It should be written ', so \ ' is actually/'. Note that the template file will be the same as the character set encoding that invokes the template file, otherwise the above error can occur!