Premature end of script headers-FusionCharts.js
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Premature end of script... Expand / Collapse
Author
Message
Posted 4/21/2008 4:16:46 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Post #5803
Posted 4/21/2008 4:38:21 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 6:02:32 AM
Posts: 764, Visits: 1,215
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

Post #5804
Posted 4/22/2008 2:01:04 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/22/2008 2:00:42 AM
Posts: 2, Visits: 5
Hi,
Thanks its working now....
Post #5819
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:46pm


Execution: 0.063.