PHP smarty Template Error on-line solution!
PHP smarty Template error, is not smarty template things are to be installed first, I directly to the source code to configure the environment of the machine on the above problem, in the original machine above there is no problem, do not know what the situation, ask the great God advice! Online and other results PHP Smarty Source Code
Share to:
------Solution--------------------
At the beginning of the publicpage.php, add
Error_reporting (e_all ^ e_notice);
Avoid the contradiction first, and then again
------Solution--------------------
The reason why Chinese becomes a question mark is that the content stored in the table cannot be converted to the character set you need
------Solution--------------------
Reference:
Quote: Reference:
The reason why Chinese becomes a question mark is that the content stored in the table cannot be converted into the character set you need
. What's the solution? See in the database is normal, read to the page is garbled, encoding the machine is not a problem, the configuration to others will not be
This kind of problem can first try to collect the information to try to solve
1. What is the encoding of the field in the table?
2. What is the code of the program file
Figure out the two basic questions to solve.