?
Solved

cfChart Error

Posted on 2011-02-21
4
Medium Priority
?
906 Views
Last Modified: 2012-05-11
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
Comment
Question by:sonicimpulse
[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
  • 2
  • 2
4 Comments
 
LVL 39

Accepted Solution

by:
gdemaria earned 2000 total points
ID: 34947475

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
 

Author Comment

by:sonicimpulse
ID: 34947536
only folder I have is the "cache"  I'm missing all of those files.

How do I get them back?
0
 
LVL 39

Expert Comment

by:gdemaria
ID: 34948507

Copy from another server or reinstall?

What version are you running?
0
 

Author Closing Comment

by:sonicimpulse
ID: 34970484
Thanks.  I did a reinstall and it works perfect now.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

752 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