I am trying to use open flash chart on my website to display mysql table data.
I am following along with the tutorial they have on their site, but it is not working. I am running into an error. I am including the file directories they provide in my /var/www directory. And am trying to run the test chart they set up for you. However I keep getting this error on my site
"Warning: include(/var/www/jpgraph/src/jgraph.php): failed to open stream: No such file or directory in /var/www/jptest.php on line 4 Warning: include(): Failed opening '/var/www/jpgraph/src/jgraph.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/jptest.php on line 4 Fatal error: Class 'Plot' not found in /var/www/jpgraph/src/jpgraph_bar.php on line 30"
This is the code I am using.
open_flash_chart_object( 500, 250, 'http://'. $_SERVER['ec2-204-236-129-63.us-west-1.compute.amazonaws.com'] .'/data-files.php', false );
This for some reason just does not work. I typed in my server DNS thinking this was what it wanted in the $_SERVER field, but am not sure.
Any help would be really helpful.