Menu

JPGraph Path

Help
2004-11-08
2013-04-16
  • Nobody/Anonymous

    I know, this has been asked several times, but there are no satisfiying answers but "copy it wherever you like" or something like that...

    the jpgraph examples are working here!

    but if i enable it in phpbugtracker i always get the red " jpgraph not installed"

    i tried specifying the path in the config like "/var/www/jpgraph..." and i tried adding the path to the php-path in the php.ini, i tried copying the jpgraph-dir to the existing includes-path, i triey copying it to the phpbugtracker-dir... nothing works...

    it is the version 1.17beta2 i guess, the latest one.

    the apache user has all rights on the files and directories...

    so, how the hell has this thing to be installed the right way?

     
    • Nobody/Anonymous

      no ideas?

      noone did get it working?

      ther must be someone whou could tell, how to install this thing so it works with phpBT...

      please ;)

       
    • Nobody/Anonymous

      Not sure how much this will help, but I just installed the jpgraph 1.17beta2 on a windows box with apache 2.0.52, php 4.3.9, and phpbt 1.0rc5.  Note that it needs to point to the directory with the php files in it, which in the 1.17beta2 is in a src subdirectory.  While the php includes didn't work for me either, I pointed the phpbt configuration to the jpgraph filesystem path:

      C:/Apache2/bin/jpgraph/src/

      Worked just fine for me.  From looking at the code, I don't see how a Unix path would break it.

       
    • Nobody/Anonymous

      One thing I left out.  I had to add GD support to php for it to work.

       
    • Nobody/Anonymous

      one thing i left out.  i had to add gd support to php for it to work

       
    • Nobody/Anonymous

      well i have gd-support, and tried the includes as well as the phpbt-config. No way :(

       
    • Nobody/Anonymous

      If you are still getting the red jgraph not installed, then it is because it can't locate or access the files it needs.  Try running an strace to debug what is going on when it attempts to access the files.

       

Log in to post a comment.