I ran into the same problem, and found some help in the Troubleshooting section of the Developer's Guide -- I needed to set the BasePath of the editor control to "../fckeditor" because I did not place the files in the root. The default is "/fckeditor".
ShoshanahB wrote:I ran into the same problem, and found some help in the Troubleshooting section of the Developer's Guide -- I needed to set the BasePath of the editor control to "../fckeditor" because I did not place the files in the root. The default is "/fckeditor".
A.M. wrote:Check your web server logs to see what was not found.
I don't have good luck in locating such log that tells me what was not found. What I have, in an Windows XP, is under this folder:
C:\WINDOWS\system32\Logfiles\W3SVC1 There is log file, and the latest log says this:
21:52:00 127.0.0.1 GET /Software/SiteStat.xml 401 22:17:07 127.0.0.1 GET /TestFCKEditor 401 22:17:07 127.0.0.1 GET /TestFCKEditor/ 302 22:17:07 127.0.0.1 GET /TestFCKEditor/Default.aspx 200 22:37:44 127.0.0.1 POST /spipe/pkg 401 22:37:44 127.0.0.1 POST /spipe/pkg 401 22:37:44 127.0.0.1 POST /spipe/pkg 401 22:37:44 127.0.0.1 POST /spipe/pkg 401 22:37:44 127.0.0.1 POST /spipe/pkg 401 22:37:44 127.0.0.1 POST /spipe/pkg 401 22:37:44 127.0.0.1 POST /spipe/pkg 401 22:37:44 127.0.0.1 POST /spipe/pkg 401 22:37:44 127.0.0.1 POST /spipe/pkg 401 22:37:44 127.0.0.1 POST /spipe/pkg 401 22:37:44 127.0.0.1 POST /spipe/pkg 401 22:37:44 127.0.0.1 POST /spipe/pkg 401
ShoshanahB wrote:I found fckeditor.html in the \editor folder from the download (Version 2.6.2). in my app, it is looking for fckeditor.html in \FCKEditor\editor.Not sure why, but it looks like your app is looking for this file in the root FCKEditor folder. You could try moving the file, and see what happens.
jonyeh wrote: C:\WINDOWS\system32\Logfiles\W3SVC1 There is log file, and the latest log says this:
That's the right place. If look at the log soon after you saw the failed request, you will see the path that wasn't found. For example, the first line says that I tried to open a sample, which succeeded (200), then the sample tried to pull fckeditor.html file, which was not found (404). Finally, I opened up my IIS config and changed my virtual directory to point to the FCKeditor directory, so that the next request for the same file worked fine (200):
16:37:43 127.0.0.1 GET /FCKeditor/fckeditor/_samples/aspx/sample01.aspx 200 16:37:43 127.0.0.1 GET /fckeditor/editor/fckeditor.html 404 16:39:19 127.0.0.1 GET /FCKeditor/editor/fckeditor.html 200
As for the project, I tried to build it a couple of hours ago and it builds just fine without having to move or rename anything. Once you build it, you need to copy the produced binaries into your bin directory.
Not sure if this will help anyone, but I found that if I added the tag in the editor, I could avoid this error: BasePath = "~/" (Assuming that the files from the editor folder are in the web app root.) My editor control looks like this: <FCKeditorV2:FCKeditor ID="FCKeditor2" runat="server" BasePath = "~/"> </FCKeditorV2:FCKeditor>
wonderboy wrote:Not sure if this will help anyone, but I found that if I added the tag in the editor, I could avoid this error: BasePath = "~/" (Assuming that the files from the editor folder are in the web app root.) My editor control looks like this: <FCKeditorV2:FCKeditor ID="FCKeditor2" runat="server" BasePath = "~/"> </FCKeditorV2:FCKeditor>
Thanks, this is really a good change as compared to what is currently documented in the Troubleshooting Guide. This settings now also caused my system to accept the proper folder structure to be: "TestFCKEditor\Editor" Instead of the prevoiusly complained: "FCKEditorEditor". However, i still get "MS JScript runtime error: 'FCKBrowserInfo' is undefined" at this location in FCKEditor.html:
// Adobe AIR compatibility file. if ( FCKBrowserInfo.IsAIR ) LoadScript( 'js/fckadobeair.js' ) ;
I'm getting the same problem with 2.6.3. It's maddening. I have the fckeditor directory tree unzipped right at my iis root (that is, "C:\Inetpub\wwwroot\fckeditor").
I've tried the modifying the asp as follows:
1) <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server"></FCKeditorV2:FCKeditor> Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
2) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="~/fckeditor/" runat="server"></FCKeditorV2:FCKeditor> Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
3) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="../fckeditor/" runat="server"></FCKeditorV2:FCKeditor> Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
4) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="../../fckeditor/" runat="server"></FCKeditorV2:FCKeditor> Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
5) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="~/fckeditor" runat="server"></FCKeditorV2:FCKeditor> Result: Resource Not found - Requested URL: /fckeditoreditor/fckeditor.html
Re: HTTP Error 404 - Not Found.
Re: HTTP Error 404 - Not Found.
Re: HTTP Error 404 - Not Found.
Re: HTTP Error 404 - Not Found.
Re: HTTP Error 404 - Not Found.
I don't have good luck in locating such log that tells me what was not found. What I have, in an Windows XP, is under this folder:
C:\WINDOWS\system32\Logfiles\W3SVC1 There is log file, and the latest log says this:
21:52:00 127.0.0.1 GET /Software/SiteStat.xml 401
22:17:07 127.0.0.1 GET /TestFCKEditor 401
22:17:07 127.0.0.1 GET /TestFCKEditor/ 302
22:17:07 127.0.0.1 GET /TestFCKEditor/Default.aspx 200
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
Re: HTTP Error 404 - Not Found.
Re: HTTP Error 404 - Not Found.
Re: HTTP Error 404 - Not Found.
16:37:43 127.0.0.1 GET /FCKeditor/fckeditor/_samples/aspx/sample01.aspx 200
16:37:43 127.0.0.1 GET /fckeditor/editor/fckeditor.html 404
16:39:19 127.0.0.1 GET /FCKeditor/editor/fckeditor.html 200
As for the project, I tried to build it a couple of hours ago and it builds just fine without having to move or rename anything. Once you build it, you need to copy the produced binaries into your bin directory.
Re: HTTP Error 404 - Not Found.
BasePath = "~/"
(Assuming that the files from the editor folder are in the web app root.)
My editor control looks like this:
<FCKeditorV2:FCKeditor ID="FCKeditor2" runat="server" BasePath = "~/">
</FCKeditorV2:FCKeditor>
Re: HTTP Error 404 - Not Found.
http://localhost/testsite/
Notice "fckeditor" is not /testsite/fckeditoreditor
Add the following to the control parameters BasePath="~/fckeditor/"
Re: HTTP Error 404 - Not Found.
Thanks, this is really a good change as compared to what is currently documented in the Troubleshooting Guide. This settings now also caused my system to accept the proper folder structure to be: "TestFCKEditor\Editor" Instead of the prevoiusly complained: "FCKEditorEditor".
However, i still get "MS JScript runtime error: 'FCKBrowserInfo' is undefined" at this location in FCKEditor.html:
// Adobe AIR compatibility file.
if ( FCKBrowserInfo.IsAIR )
LoadScript( 'js/fckadobeair.js' ) ;
Any clue ?
Re: HTTP Error 404 - Not Found.
The trailing forward slashes in the override is critical: BasePath = "~/FCKEditor/". Plus all the JS file in the V2.6.2 download is critical.
Re: HTTP Error 404 - Not Found.
I've tried the modifying the asp as follows:
1) <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server"></FCKeditorV2:FCKeditor>
Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
2) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="~/fckeditor/" runat="server"></FCKeditorV2:FCKeditor>
Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
3) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="../fckeditor/" runat="server"></FCKeditorV2:FCKeditor>
Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
4) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="../../fckeditor/" runat="server"></FCKeditorV2:FCKeditor>
Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
5) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="~/fckeditor" runat="server"></FCKeditorV2:FCKeditor>
Result: Resource Not found - Requested URL: /fckeditoreditor/fckeditor.html
Any clue what I'm missing?
Re: HTTP Error 404 - Not Found.
$oFCKeditor = new FCKeditor('FCKeditor1');
$oFCKeditor->BasePath = '../fckeditor/';
$oFCKeditor->Value = $content;
$oFCKeditor->Create() ;
?>
Re: HTTP Error 404 - Not Found.
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath = "~/fckeditor/">
</FCKeditorV2:FCKeditor>
Many thanks for excellent solution.
lucyht
Re: HTTP Error 404 - Not Found.
Re: HTTP Error 404 - Not Found.