131.ZendStudio copies files to remote.
Copying directories and files at the same time does not work.
Copying the normal files .php and .htaccess at the same time does not work.
In this case, you can only copy it individually.
132.After Thinkphp is deployed, the template file cannot be found.
The template does not exist: ./Application/Home/View/Index/index.html
Developed under Windows, debugging mode is turned on.
Controller name: IndexController.
View file directory name: index, file name index.html.
After deploying to Linux, it is said that debug mode is strictly case-sensitive to prevent errors.
Solution: Strictly case-sensitive, change the view directory index to start with an uppercase Index.
Same problem, when included in "Thinkphp include", it is not case sensitive.
That’s fine, you don’t need to change every page.
From the perspective of rigor, it is better to change it to start with a capital letter.
133.Java automated deployment problem.
Maven packaging
Stop tomcat
Delete files
Copy files
Start Tomcat.
A common problem is that there are problems stopping Tomcat and various problems starting Tomcat again.
It’s so annoying now that there is no longer a script to start Tomcat in the automated deployment script.
Take it out separately and startTomcat.sh.
134.php substr Chinese garbled characters.
echo mb_substr("php Chinese character encode",0,4,"utf-8");
?>
135. Intercept string in Thinkphp.
Find a msubstr method online, create a new function.php in the Common directory of the application, and put the function in it.
Reference: http://blog.csdn.net/rogerzhanglijie/article/details/40340439
136.JMS-ActiveMq, after the network is disconnected, it is difficult to restore
[2015-04-22 14:36:41 WARN ] [jmsContainerRecharge-385] listener.DefaultMessageListenerContainer - S
etup of JMS message listener invoker failed for destination 'queue://Consumer.Recharge.VirtualTopic.RECHARGE_SUCCESSE' -
trying to recover. Cause: The JMS connection has failed : Connection reset
The local Java program connects to the remote mq. Due to the temporary local disconnection, the connection cannot be restored and the "warn" is kept.
No solution has been found yet.
137. It’s easy to start a company, it only takes a month.
The operation of the company is quite troublesome. We are busy with technology and publicity is a problem.
Before, I found a little trick to set the QQ homepage to our official website http://jiutianniao.com.
I just found it, go to the QQ group to sign in and leave your footprints.
However, this method is not very efficient, and most people will not sign in.
138.log4j debug
Both places are set to debug, Only then will the sql statement be output.
139. Today I suddenly discovered that the Jiutianniao Q&A website cannot be logged in with one click through QQ.
I searched online for the reason and found that the QQ interface has been changed. The details are not clear yet.
After a few days, it got better again. It should be a problem with the Tencent interface itself.
140. Jiutianniao p2p online loan system has been initially developed.
I want to add copyright information to the backend java code.
I wrote a tool class and tested it, and it works.
It’s done quickly and can be reused next time if needed.
The above introduces the technical problems encountered in entrepreneurship in 2015: 131-140, including aspects of content. I hope it will be helpful to friends who are interested in PHP tutorials.