When the online editor is moved to the server, the problem is not displayed. the local test is good, but it is not displayed after it is migrated to the server. why?
Reply to discussion (solution)
Is the path incorrect?
Is the path incorrect?
I used several editors, which are the same. even if I downloaded them completely and the local test was normal, it would not be displayed as soon as I moved to the server, and I used google chrome for debugging, status: 200. how can this problem be solved?
Too little information is provided.
Too little information is provided.
Kindeditor editor I use, http://download.csdn.net/detail/boboxiaopangde/2752980
Upload to the server and test the display
But locally
What is the path of the source file?
What is the path of the source file?
I must have written the source file path right, because the first figure above shows a few words, but the editor is not displayed.
Check the path. this is probably the problem.
You should check for any JS errors. Go to the chrome console.
Check the path. this is probably the problem.
I used a debugging tool to show that it is not a path problem?
You should check for any JS errors. Go to the chrome console.
If JavaScript is incorrect, why is the local display normal and the function normal?
You should check for any JS errors. Go to the chrome console.
If JavaScript is incorrect, why is the local display normal and the function normal?
Check whether the file is case sensitive?
When I copy the js file content to an html file, it can be displayed. This shows that it is a path problem, but my path should be correct. check the webpage source file, you can open the js file in it. what is going on?
Test it with ie. If yes, it indicates that only the mime type is incorrect.
At least two textures have different types.
Test it with ie. If yes, it indicates that only the mime type is incorrect.
At least two textures have different types.
Why is it not displayed with ie?
You should check for any JS errors. Go to the chrome console.
If JavaScript is incorrect, why is the local display normal and the function normal?
Check whether the file is case sensitive?
Are you referring to the file name or the code in the file case? Js is case sensitive.
Then you paste the url
Ladies and gentlemen, who has encountered this problem?
Page to display:
D: \ PHPnow-1.5.6 \ htdocs \ kindeditor \ examples \ demo-01.html
The demo-01.html calls three js files are:
D: \ PHPnow-1.5.6 \ htdocs \ kindeditor \ src \ kindeditor-core.js
D: \ PHPnow-1.5.6 \ htdocs \ kindeditor \ src \ plugin-all.js
D: \ PHPnow-1.5.6 \ htdocs \ kindeditor \ src \ lang \ zh_CN.js
The path I wrote is:
Then you paste the url
Http://automation.shu.edu.cn: 5001/kindeditor/examples/demo-01.html
Debug apache locally? Is the server IIS?
Debug apache locally? Is the server IIS?
All are apache
Try changing it to an absolute path.
Css paths are also removed.
Try changing it to an absolute path.
Try changing it to an absolute path.
You mean, change