Registrarse | Entrar
martes, 22 de mayo de 2012
  Buscar
 Foros de discusión en Locopon's Minimizar
 
Forum / ForosForum / ForosDSFCKEditor Pro...DSFCKEditor Pro...FCKEditor Provi...FCKEditor Provi...Problem with HTTP headersProblem with HTTP headers
Anterior Anterior
 
Siguiente Siguiente
New Post
 03/11/2005 11:43 p.m.
 
Hi Locopon,

Whenever I access the editor, I get the following two errors (even though the editor comes up and appears to be working OK) :

AssemblyVersion: 03.01.01
Method: System.Web.HttpResponse.AppendHeader
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Presstopia.Com
UserID: 1
UserName: host
ActiveTabID: 36
ActiveTabName: Tuisblad
AbsoluteURL: /dnn/Providers/HtmlEditorProviders/DSFCKEditorProvider/DSFCKStyles.aspx
AbsoluteURLReferrer:
ExceptionGUID: ed134469-6d76-4a04-b524-63a14fb9a284
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Server cannot append header after HTTP headers have been sent.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Server cannot append header after HTTP headers have been sent. ---> System.Web.HttpException: Server cannot append header after HTTP headers have been sent. at System.Web.HttpResponse.AppendHeader(String name, String value) at blowery.Web.HttpCompress.CompressingFilter.WriteHeaders() at blowery.Web.HttpCompress.DeflateFilter.Write(Byte[] buffer, Int32 offset, Int32 count) at System.Web.HttpWriter.Filter(Boolean finalFiltering) at System.Web.HttpResponse.Flush(Boolean finalFlush) at System.Web.HttpResponse.Flush() at Delisoft.DNN.Providers.HTMLEditor.FCK2.FCKStylesGenerator.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: EARTH

This is followed by :

AssemblyVersion: 03.01.01
Method: System.Web.HttpResponse.Redirect
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Presstopia.Com
UserID: 1
UserName: host
ActiveTabID: 36
ActiveTabName: Tuisblad
AbsoluteURL: /dnn/Providers/HtmlEditorProviders/DSFCKEditorProvider/DSFCKStyles.aspx
AbsoluteURLReferrer:
ExceptionGUID: 8f0f0a57-e396-45a8-be10-409f0eed923f
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Unhandled Error:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: Cannot redirect after HTTP headers have been sent. at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) at DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) at System.Web.UI.TemplateControl.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain() at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: EARTH

Any ideas?
New Post
 04/11/2005 12:35 a.m.
 
FYI - I worked around the error by changing this line in web.config :

StylesGeneratorPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/DSFCKStyles.aspx"

To :

StylesGeneratorPath="~/Providers/HtmlEditorProviders/DSFCKEditorProvider/FCK2/fckstyles.xml"

Of course, this causes the editor to use the default styles inside the editor area, but that's fine for me.
New Post
 04/11/2005 06:17 a.m.
 
Re: Problem with HTTP headers  (United States)

As you will notice the bottom of the error is the blower HTTP compressor.

Please see this post, as I have a better solution for you:
http://dnn.tiendaboliviana.com/web/Forums/tabid/72/forumid/7/threadid/416/threadpage/2/scope/posts/Default.aspx


Locopon -- can you include that post in your docs so people with blowery HTTP compression can get styles to work?

Thanks, Will G.

New Post
 04/11/2005 07:16 a.m.
 
 Modificado por Presstopia  on 04/11/2005 06:18:56 a.m.
Thanks, I'll check it out.

I'll probably just stick with referencing the .xml file though. Since I don't really need the editor styles to match that of the site I figure I may as well elliminate the overhead of running DSFCKstyles.aspx altogether by referencing an .xml file that is essentially empty. My FCK editor now loads in a snap!
New Post
 04/11/2005 07:23 a.m.
 

Yes, thats the idea. Use styles as you need. Many people need DNN styles and many don't.

I am using blowery compression and all works ok, but I will review that part to see what is happening there.

A workaround for this could be adding

~/Providers/HtmlEditorProviders/DSFCKEditorProvider/DSFCKStyles.aspx

to the http compression module configuration section (You can set what pages to exclude)

Next release will include an option to set this feature by module.

Anterior Anterior
 
Siguiente Siguiente
Forum / ForosForum / ForosDSFCKEditor Pro...DSFCKEditor Pro...FCKEditor Provi...FCKEditor Provi...Problem with HTTP headersProblem with HTTP headers