Online solution to phpSmarty template errors! PHP Smarty source code
Php Smarty Template error. do you have to install the Smarty template first? I copied the source code directly to the machine that configured the environment, and the above problem occurs, there is no problem with the original machine. I don't know what the problem is. please advise me! Online and other results
Reply to discussion (solution)
Is the path incorrect?
The top class does not define the attributes named mDisabledSmary and mModPath.
Check the definition of the top class.
Note that the versions of Smary are not fully compatible with Smary3 and Smary2.
Is the path wrong? I have said on the Internet where I want to change the path of my de_path smarty file in the php. ini file, but I don't know how to change it.
The top class does not define the attributes named mDisabledSmary and mModPath.
Check the definition of the top class.
At the same time, pay attention to the Smary version. the Smary3 and Smary2 are not fully compatible. how should I change them?
Add
Error_reporting (E_ALL ^ E_NOTICE );
Avoid conflicts first.
Add
Error_reporting (E_ALL ^ E_NOTICE );
Avoid conflicts first. then, the navigation page is displayed, but the homepage cannot be loaded.
Let's take a look at the configuration. just do it step by step.
Http://blog.csdn.net/happyxjg/article/details/4398336
Add
Error_reporting (E_ALL ^ E_NOTICE );
Avoid conflicts first, and then the navigation page is displayed, but the homepage cannot be loaded. thank you!
Add
Error_reporting (E_ALL ^ E_NOTICE );
Avoid conflicts first, and then the navigation page is displayed, but the homepage cannot be loaded. thank you!
Add
Error_reporting (E_ALL ^ E_NOTICE );
First, we will avoid the conflict. later, we will ask you an oracle question. if The smarty framework reads the oracle database, the text will appear ???, How can we solve the garbled problem?
The reason why the Chinese character becomes question mark is: the content stored in the table cannot be converted into the character set you need.
The reason why Chinese characters become question marks is: the content stored in the table cannot be converted to the character set you need. Is there any solution? What we can see in the database is normal. when we read the page, it is garbled. the encoding machine is okay, and it won't work if it is configured to someone else.
The reason why Chinese characters become question marks is: the content stored in the table cannot be converted to the character set you need. Is there any solution? What we can see in the database is normal. when we read the page, it is garbled. the encoding machine is okay, and it won't work if it is configured to someone else.
This problem can be solved by collecting information first.
1. what is the field encoding in the table?
2. what is the code of the program file?
Solve these two basic problems
We recommend that you paste the code for analysis.