Ticket #2153 (closed New Feature: wontfix)

Opened 7 years ago

Last modified 4 years ago

add web.config to avoid errors in themed aspnet pages

Reported by: MihaiDrebot Owned by:
Priority: Normal Milestone:
Component: Server : ASP.Net Version:
Keywords: Discussion HasPatch Cc: dan82pettersson@…, skorozsi@…

Description

If you are greeted with the following error when trying to upload files using the file manager:

Using themed css files requires a header control on the page. (e.g. <head runat="server" />).

You don't need aspnet themes within the fckeditor folder, so simply add a web.config file in the folder, with the following content:

<configuration>

<system.web>

<pages styleSheetTheme=""> </pages>

</system.web>

</configuration>

Change History

comment:1 Changed 6 years ago by w.olchawa

  • Status changed from new to closed
  • Keywords styleSheetTheme removed
  • Resolution set to invalid

I'm not an ASP.NET expert but this seems to me more like an instruction which should be added to

http://docs.fckeditor.net

rather than a bug.

comment:2 Changed 6 years ago by alfonsoml

  • Status changed from closed to reopened
  • Keywords Discussion HasPatch added
  • Type changed from Bug to New Feature
  • Resolution invalid deleted
  • Summary changed from themed aspnet pages to add web.config to avoid errors in themed aspnet pages

I think that this is a suggestion to add such a file to the default installation, just like it's done with the .htaccess to avoid some common problems.

comment:3 in reply to: ↑ description ; follow-up: ↓ 4 Changed 6 years ago by deap82

  • Cc dan82pettersson@… added

Replying to MihaiDrebot:

If you are greeted with the following error when trying to upload files using the file manager:

Using themed css files requires a header control on the page. (e.g. <head runat="server" />).

You don't need aspnet themes within the fckeditor folder, so simply add a web.config file in the folder, with the following content:

<configuration>

<system.web>

<pages styleSheetTheme=""> </pages>

</system.web>

</configuration>

I have tried to add this in a web.config in the fckeditor root folder as well as in the fckeditor/editor and the fckeditor/editor/filemanager/browser/default folder. But I still get the error message. Where am I supposed to put it?

comment:4 in reply to: ↑ 3 Changed 6 years ago by skorozsi

  • Cc skorozsi@… added

I have tried to add this in a web.config in the fckeditor root folder as well as in the fckeditor/editor and the fckeditor/editor/filemanager/browser/default folder. But I still get the error message. Where am I supposed to put it?

Hi, a found a solution to this problem: instead of styleSheetTheme="", use theme="". Actually I use both, now it works. <configuration>

<system.web>

<pages styleSheetTheme="" theme=""/>

</system.web>

</configuration>

comment:5 Changed 5 years ago by alfonsoml

#3302 has been marked as dup

comment:6 Changed 4 years ago by wwalc

  • Status changed from reopened to closed
  • Resolution set to wontfix

The file browser is now distributed as an external application: CKFinder, the built-in filemanager is no longer maintained.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy