I finally got the ImageBrowserURL and LinkBrowserURL to get connected! However, when I try to browse the server to put a picture in, I get a popup dialog box that says "XML request error: Internal Server Error (500)". I am using ASP.NET 1.1 on localhost.
Any ideas on what the deal is?
Thu, 03/09/2006 - 05:12
#1
RE: XML request error: Internal Server Error
like;
/UserFiles/Image,
/UserFiles/File,
/UserFiles/Flash,
/UserFiles/Media
also file permissons...
RE: XML request error: Internal Server Error
I see the folders exist, but apparently the host server will not allow me to change file permissions (mds-host.com). I think the default permission for the folders is 000, which I imagine is the problem if that's the case. I'll let you know how it goes once I hear from them.
Thanks again!!!
Oz
RE: XML request error: Internal Server Error (500
I am using .Net 2.0, not 1.1.
RE: XML request error: Internal Server Error
I got it working!!
-----------------------------------------
TRY FIRST
-----------------------------------------
I changed the permission to the folders through the control panel for my live website to allow full control of the "UserFiles" folder, which is in the root folder of my site. (I learned Windows servers don't use the three digit folder permissions that Unix servers do [i.e. "777" and stuff].)
This apparently didn't fully correct the problem, but I found out that a script had an error accessing a file. So I edited the path variable in the script and now it works!
-----------------------------------------
TRY SECOND
-----------------------------------------
I simply edited the following file:
FCKeditor>editor>dialog>fck_image>fck_image.js
I replaced the "FCKConfig.ImageBrowserURL" and "FCKConfig.LinkBrowserURL" variables in the functions "BrowseServer()" and "LnkBrowseServer()", respectively.
I replaced "FCKConfig.ImageBrowserURL" with the absolute path 'http://mywebsite.com/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx'. (Make sure you use single quotes.)
Then, I replaced "FCKConfig.LinkBrowserURL" with 'http://mywebsite.com/FCKeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx'. (Make sure you use single quotes.)
This assumes you have the FCKeditor folder in the root folder of your website.
Then I recompiled it all up in VS.NET, uploaded the files, and yeehaa! it worked.
Hope this helps.
-THANKS ORKO14!
RE: XML request error: Internal Server Error
On localhost I get a popup that says:
This connector is disabled. Please check the "editor/filemanager/browser/default/connectors/asp/config.asp" file
But when I check the file, the connector ConfigEnabled variable is True! Weird...
RE: XML request error: Internal Server Error
In the code-behind, all I have is:
FCKeditor1.BasePath = "/FCKeditor/";
That's it.