Tutorial dont work!

Help
2008-11-09
2013-05-28
  • Ricardo Crudo
    Ricardo Crudo
    2008-11-09

    I'm trying run the tutorial, but it dont work.

    I did it equal of the tutorial. When I run .../chart.php, already with the chart-data.php in the root, it show me the same thing that in the first step of the tutorial, the box saying:

    +--------------------------------+
    | http://myserver/chart-data.php |
    +--------------------------------+

    And, when I run the http://myserver/chart-data.php the Firefox show me the data some in the tutorial and, when run it by the IE this try download the chart-data php file!

    It's necessary enable any php extension in the server to that it work?

    Or so, what I'm wrong?

    I'm run the stable version (1.9.7).

    Thanks in advanced.

    Regards,
    Ricardo.

     
    • Ricardo Crudo
      Ricardo Crudo
      2008-11-10

      Please, anyone can help me?

       
    • Ricardo Crudo
      Ricardo Crudo
      2008-11-11

      Yes, solve (so so)! I find the problem.

      I dont know because this happen but, if I use a static path for the file chart-data.php it work fine, otherwise it dont work.

      See:

      With this line it work
      open_flash_chart_object( 500, 250, 'http://localhost/chart-data.php', false );

      but...

      With this line it dont work
      open_flash_chart_object( 500, 250, 'http://'. $_SERVER['SERVER_NAME'] .'/chart-data.php', false );

      Anyone know why this happen??

       
    • Please help me

      I tried to run chart-data.php  on Xampp  server  there is error like:

      Fatal error: Class 'graph' not found in C:\Program Files\xampp\htdocs\openflash\chart-data.php on line 16 .

      What should I do for this?

       
    • encus
      encus
      2009-03-06

      Hi vijaykumar,
      i think you are not alone.. i face the same problem as well... but i have tried those files in the php5-ofc-library/examples where without the graph class implementation, however, i face another problem where the open-flash-chart.swf give me the following error..

      Open Flash Chart
      IO ERROR
      Loading test data
      Error #2032
      This is the URL that I tried to open:../data-files/area-point-objects.txt

      i wonder you have tried those examples... and i don't know whether are we face the same problem...

      best regards...

       
    • drashid
      drashid
      2009-03-25

      Hi,

      I don't know the version you are using. But I had the same problem while using the lates release of OFC i.e. "Version 2 Ichor"

      I think there might be problem with the file "open-flash-chart.swf" because for me this file niether worked in Mozilla nor in IE.

      On the other hand the documentation/tutorial on the web site is not updated with respect to this version. As the documentation suggest :

      include_once 'ofc-library/open_flash_chart_object.php';

      while in version 1.9.7 the file name has been changed to "open-flash-chart-object.php" i.e. "_" has been replace with "-".

      So, finally I removed the "Version 2 Ichor" and decided to switch to version "1.9.7" and everything is working nice.

       
    • Mike Bowser
      Mike Bowser
      2009-04-01

      All
      I just tried to install version 2 Ichor and follow the tutorial
      IT DOES NOT WORK
      I got this error
      This is the URL that I tried to open:../../data-files/menu.txt

      I deleted version 2 and just installed version 1.9.7
      IT WORKS.
      STAY AWAY FROM VERSION 2 BAD BAD BAD
      GO WITH VERSION 1.9.7

       
  • Pankaj khurana
    Pankaj khurana
    2013-01-28

    Hi i am using open-flash-chat 1.9.7
    Facing this error
    Fatal error: Class 'graph' not found in C:\wamp\www\chart1\my_chart.php on line 6

    please help me to solve this issue..