Trying to use Open Flash Chart

This is where you share YOUR scripts with others

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 6
Joined: Fri Oct 21, 2011 11:50 pm

Fri Oct 28, 2011 10:36 am

Hello All,

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[''] .'/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.


Post Reply