题
我如何纠正下面列出的以下错误。我使用PHP和MySQL。
我得到以下错误。
Not Found
The requested URL /fckeditor/editor/fckeditor.html was not found on this server.
我跟着上 http://docs.cksource.com/方向FCKeditor_2.x / Developers_Guide /集成/ PHP
解决方案
此错误由错误的路径fckeditor的引起的。即$oFCKeditor->BasePath
的价值是错误的代码。正因为如此,在服务器产生一个404错误,因为该文件不能在服务器上找到。
默认情况下,在教程,它采用绝对相对于主机名路径。 。换句话说,它预计FCKeditor的是在www.example.com/fckeditor/
。但是,如果这不是你的情况,并且,例如您的FCKeditor位于www.example.com/mysite/fckeditor/
,那么$oFCKeditor->BasePath
的价值应该被改变而不是/mysite/fckeditor/
。此外,确保资本是正确的,如果服务器是基于UNIX的。
不隶属于 StackOverflow