|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/22/2008 2:00:42 AM
Posts: 2,
Visits: 5
|
|
Hi I am trying to add FusionCharts on my CGI page but it is giving fallowing error:
Premature end of script headers: /home/icodonsc/public_html/pfs/cgi-bin/JSClass/FusionCharts.js
Premature end of script headers: /home/icodonsc/public_html/pfs/cgi-bin/Style.css
I understand what Premature end of script headers means when CGI script is pointed but in this case I am not sure what is problem. Also scripts and css work prety fine on my system as part of static HTML code but after uploading to server it gives error. Sorry I am very new to this so may be this problem is due to my lack of experience but I will appreciate for ur help.
You can see my CGI page:
http://pfs.icodons.com/cgi-bin/pfs.cgi?fileName=AlgLongSmall.txt
I am using fallowing code-
var chart = new FusionCharts("Charts/FCF_Line.swf", "ChartId", "600", "350");
chart.setDataURL("$randomJobxmlT");
chart.render("chartdiv");
Erro console tell that fallowing is not defined
var chart = new FusionCharts("Charts/FCF_Line.swf", "ChartId", "600", "350");
thanks in advance
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 1:21:47 AM
Posts: 675,
Visits: 1,079
|
|
| Hi, Could you please try once setting proper PATH to FusionCharts.js and styles.css file? As the Error message alos contains : Additionally, a 404 Not Found.... Its more probable that FusionCharts.js is not getting accessed. You might also need to check advanced file & directory permissions if the above trial does not give success.
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/22/2008 2:00:42 AM
Posts: 2,
Visits: 5
|
|
Hi,
Thanks its working now....
|
|
|
|