FCKEditor fckstyles.xml error

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
11/3/2008 5:31:53 PM
Gravatar
Total Posts 11

FCKEditor fckstyles.xml error

I've moved a mojo portal app from a dedicated server to a shared server, I've used the medium trust web.config and the portal is working OK, but when I try to edit a page the FCKEditor is erroring as it cannot find the ~/ClientScript/FCKeditor251/fckstyles.xml file, this file is there and can be loaded if you put in the whole url: http://www.essexbiodiversity.org.uk/ClientScript/FCKeditor251/fckstyles.xml

any help much appricated

 

Harvey

11/4/2008 9:54:45 AM
Gravatar
Total Posts 18439

Re: FCKEditor fckstyles.xml error

Hi Harvey,

So, the previous server was not in Medium Trust? I would check the previous Web.config and compare against the medium trust version for any differences in FCKeditor configuration. Maybe something was incorrect in the medium trust version of web.config and can be corrected by getting the settings from the previous web.config. For the latest version of mojoprtal the settings look like this, but are probably different if you are using an older version.

<add key="FCKeditor:Debug" value="false" />
<add key="FCKeditor:CustomConfigPath" value="~/ClientScript/mojofckconfig.js" />
<add key="FCKeditor:StylesXmlPath" value="/Services/EditorStyles.ashx" />
<add key="FCKeditor:BasePath" value="~/ClientScript/fckeditor263/" />
<add key="FileBrowserRelativePath" value="~/ClientScript/fckeditor263/editor/filemanager/browser/default/browser.html" />
<add key="ImageBrowserRelativePath" value="~/ClientScript/fckeditor263/editor/filemanager/browser/default/browser.html" />
<add key="FileBrowserServiceRelativePath" value="/Dialog/FileBrowseConnector.aspx" />
<add key="ImageBrowserServiceRelativePath" value="/Dialog/FileBrowseConnector.aspx" />
<add key="LinkBrowserServiceRelativePath" value="/Dialog/LinkBrowseConnector.aspx" />
<add key="FileBrowserUseService" value="true" />

Hope it helps,

Joe

11/6/2008 4:04:25 AM
Gravatar
Total Posts 11

Re: FCKEditor fckstyles.xml error

Hi Joe

Those keys were missing, I added them and changed the version of FCKEditor they refered to and now it all works, although there was one other thing.  The site search was not working and I could not save changes, putting in the Lucene sheach key recommended for Trusted Environments fixed both these problems.

Thanks

 

Harvey

You must sign in to post in the forums. This thread is closed to new posts.