• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 909
  • Last Modified:

cfChart Error

I'm getting the following error:

Text outside XML: default  
 
 
The error occurred in C:\ColdFusion9\wwwroot\myMobiSaver\login\member\charts.cfm: line 215
 
213 :                           <cfchartdata item="Cell Phone Coupons" value="#val(vCellThirty)#">
214 :                           <cfchartdata item="Coupons Printed" value="#val(vPrintThirty)#">
215 :                           <cfchartdata item="iPod Coupons" value="#val(viPodThirty)#">
216 :                           </cfchartseries>
217 :                           </cfchart>
 
I posted my entire cfchart code below.
<cfquery name="cellcoup" datasource="#DSN#">
						SELECT DISTINCT coupname, SUM(cell) AS total FROM tracker
						WHERE DATE_SUB(CURDATE(),INTERVAL 60 DAY) <= hitdate AND
    					Memberid=#memberid#
						GROUP BY coupname
						</cfquery>
                          <strong>Total coupons for cell phones</strong> <br />
                          <cfchart 
		scalefrom=0
		scaleto=20
		font="arial"
		fontsize=16
		gridlines=10 
		show3d="yes"
		foregroundcolor="##0000CC"
		databackgroundcolor="##CCCCCC"
		chartwidth="580"
	>
                          <cfchartseries 
  type="BAR" 
  seriesColor="blue" 
  paintStyle="shade"
  seriesLabel="xxxx">
                          <--- FIRST 0
                          <cfoutput query="cellcoup"> <---- LOOP THROUGH QUERY, DRAW EACH POINT
                          <cfchartdata item="#cellcoup.coupname#" value="#val(cellcoup.total)#">
                          </cfoutput>
                          <---- END 0
                          </cfchartseries>
                          </cfchart>

Open in new window

0
sonicimpulse
Asked:
sonicimpulse
  • 2
  • 2
1 Solution
 
gdemariaCommented:

Does your Coldfusion folder still have the default.xml file in it?   Did you modify it in anyway?  

 Location of default.xml file for charting under coldfusion folder
0
 
sonicimpulseAuthor Commented:
only folder I have is the "cache"  I'm missing all of those files.

How do I get them back?
0
 
gdemariaCommented:

Copy from another server or reinstall?

What version are you running?
0
 
sonicimpulseAuthor Commented:
Thanks.  I did a reinstall and it works perfect now.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now