Opened 16 years ago

Closed 13 years ago

#2153 closed New Feature (wontfix)

add web.config to avoid errors in themed aspnet pages

Reported by: Mihai Drebot 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 (6)

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: styleSheetTheme removed
Resolution: invalid
Status: newclosed

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 16 years ago by Alfonso Martínez de Lizarrondo

Keywords: Discussion HasPatch added
Resolution: invalid
Status: closedreopened
Summary: themed aspnet pagesadd web.config to avoid errors in themed aspnet pages
Type: BugNew Feature

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 ; Changed 16 years ago by Dan Pettersson

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 15 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 15 years ago by Alfonso Martínez de Lizarrondo

#3302 has been marked as dup

comment:6 Changed 13 years ago by Wiktor Walc

Resolution: wontfix
Status: reopenedclosed

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy