jump to navigation

NOTE: The spam filter is being unusually aggressive. If you comment does not immediately appear, it has simply been placed in moderation and I will approve it as quickly as possible. Thank you for your patience.

"Murphy was an optimist!"

CFChart problem solved! May 21, 2006 10:24 pm

Posted by Doug McCaughan in : ColdFusion, Daily Life, Programming, Technology
, 1 comment so far

I changed multiple variables at once so all of this may not be necessary. The final solution to the CFChart doesn’t work / won’t display / is blank problem is to add a virtual directory in IIS under the website wanting to use CFChart for "CFIDE" and another virtual directory for "JRunScripts". The last post in this thread helped me realize that having virtual directories for CFIDE and JRunScripts in the webroot was not sufficient.

Allan – CFUG Spain 5 Dec 2004 21:16:55 [ permanent link ]
What you have do is:

  1. Create the file GraphData.cfm in the CFIDE directory. (As a file can’t be empty stick a comment in there )
  2. Make sure the IIS website entry has a virtual directory to CFIDE (C:\Inetpub\wwwroot\CFIDE)
  3. Make sure the IIS website entry has a virtual directory to JRunScripts (C:\CFusionMX\runtime\lib\wsconfig\1)

Then restart CFMX server and Bob should be your uncle.

Allan

Update: Insult to injury. 6.5 hours ago, someone online recommended I confirm my mappings for CFIDE and scripts. I misinterpretted their question and blew it! Time to self-deprecate.

1 comment so far

Time to regroup – CFChart or not CFChart May 21, 2006 9:50 pm

Posted by Doug McCaughan in : ColdFusion, Daily Life, Programming, Technology
, 1 comment so far

So I’ve spent most of the day working on this issue. To recount, I’m trying to use CFChart to plot some data but the webpage returns blank. What we know:

The zero byte file reference was interesting. For people having trouble with CFChart or RDS you may need to know:

Some ColdFusion Administrator functions, as well as RDS and cfchart functionality, rely on two ColdFusion templates. However, these templates do not exist by default. You will need to create the following zero-byte files, since IIS will check for them during processing.

  1. Open Windows Explorer.
  2. Navigate to the web_root/CFIDE directory, typically located at \inetpub\wwwroot\CFIDE.
  3. Create a blank file named GraphData.cfm.
  4. Create a directory called main.
  5. Navigate to the new directory at web_root/CFIDE/main.
  6. Create a blank file titled ide.cfm.
  7. Repeat steps B-F for any additional instances of web_root/CFIDE.

At this point I’m running out of time. Can I do this with a different solution?

1 comment so far

Simple is never simple May 21, 2006 12:13 pm

Posted by Doug McCaughan in : ColdFusion, Daily Life, PHP, Programming, Technology
, 3comments

So I take on two quickie low cost, fast turn around projects and they are eating me alive!

The first is a ColdFusion reporting project that is simply supposed to take the existing statistics report and produce a chart using CFChart. Works fine on my CFMX6.1 development server but apparently IIS6 and CF7.1 don’t play nice when it comes to CFChart. The problem is with IIS but Adobmedillare has been kind enough to release a hot fix that doesn’t work. "This hot fix explicitly generates HTTP headers before the chart data."

The second simple project is a PHP COTS shopping system (x-cart) that needs some customization. Only, it’s not using PHP per se. The customizations are all done using SMARTY. The challenge with programming, particularly web application programming, is constantly having to learn new languages/frameworks/methodoligies and being able to turn work like its old hack.

Using this simple CFChart example works in CF6.1 and fails in CF7.01 even after the hot fix.

<cfchart>
   <cfchartseries type="pie">
      <cfchartdata item="New car sales" value="50000">
      <cfchartdata item="Used car sales" value="25000">
      <cfchartdata item="Leasing" value="30000">
      <cfchartdata item="Service" value="40000">
   </cfchartseries>
</cfchart>

Anyone have extra tickets for CFUnited? I’d love to go this year but can’t justify the cost of the event.

UPDATE: Just tried the ColdFusion MX 7.0.1 Cumulative Hot Fix 2 with no luck. Note the hot fix advises:

Any individual hot fixes previously installed that are now contained in this cumulative hot fix should be removed.

we recommend always using the latest version of the cumulative hot fix

In short, remove any previous *.jars and only install the latest fix.

3comments

The cute things they do that we don’t talk about May 21, 2006 10:15 am

Posted by Doug McCaughan in : Daily Life, Evan, Family
, add a comment

So parents have to go to the bathroom too. You find an activity that may occupy the child just long enough but at one year old they move fast. Pretty soon this knee high, nearly bald bundle of cuteness has snuck up behind you, grabbed one knee with both hands with a squeeze that would make you think the floor was about to fall out beneath him, then from his hidding place behind your leg he slowly peers around your knee looking up at you with these wide round eyes as if to say " Whatcha doing? Oh Daad! Don’t you know you are supposed to do that in your diaper?!"

Not yet son.

add a comment