Solved

Migrated to Coldfusion 10 - PQgrid stopped displaying data

Posted on 2015-01-07
4
75 Views
Last Modified: 2015-02-24
We recently migrated to CF 10.  Using jquery 1.11 and PQgrid, I displayed a list of people.  It has stopped displaying the list of people.  On the CFC call I get the following error:
 ColdFusion was unable to add the text you specified to the output stream.  This is probably because you have already used a CFFLUSH tag in your template or buffered output is turned off.

If I take out my cfhtmlhead tag that puts the Javascript in the head, the grid doesn't show at all.

All of the pages on the site go through a default template that puts a dashboard at the top of the page.  Everything else is added using cfinclude.  That's why it's necessary to use cfhtmlhead.  There are other things I could do to get the javascript in the head, but I want to understand the problem.

I had the same error on another page and change the Maximum Buffer Size to 4096 to solve the problem.  Something has to be wrong when it takes 4mg to load a page.
0
Comment
Question by:lanterv
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 

Expert Comment

by:M Amir
ID: 40538486
There is a configuration setting that is necessary for the <cfflush> tag to work properly with the web server. On the Configuring web servers in Windows documentation page, under the Configure IIS for ColdFusion in Windows section, among other things it states:


To disable webserver buffer, change the is_buffer_enable to false in the cfroot\config\wsconfig\1\isapi_redirect.properties file. Disable webserver buffer if you want cfflush to work over an IIS connector. If your application does not use cfflush, set it to true for increase in the performance.
 
You will need to restart IIS for this change to take affect.

I'm not sure what the performance ramifications are of disabling this setting. You will need to do some load testing for your particular environment to see.
0
 

Author Comment

by:lanterv
ID: 40538871
I'm not using cfflush.  I am using cfhtmlhead.
0
 

Accepted Solution

by:
lanterv earned 0 total points
ID: 40587843
I had to wrap my OnRequestEnd.cfm to check for .cfc so it won't add html after a function call.
0
 

Author Closing Comment

by:lanterv
ID: 40627766
No further responses.
0

Featured Post

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question