Jump to content
The Uniform Server Community

jpgraph


ILMN
 Share

Recommended Posts

I have been trying to get jpgraph working with Uniform Server 5.6.7-Nano. Has anyone had success in getting this to work? I am getting Parse error: syntax error, unexpected T_STRING in C:\UniServer\www\jpgraphphp5\jpg-config.inc.php on line 41. I worked through the installation file but cant get the ttf files to be recognized. Warning: imagettftext() [function.imagettftext]: Invalid font filename in C:\UniServer\www\jpgraphphp5\Examples\checkttf.php on line 18

I am a complete newbie and would be extremely greatful if someone could point me in the right direction.

Thanks in advance,

Charles

Link to comment
Share on other sites

Thank you. I figured it out finally and it was all path related. I had followed the guide but did not see that I needed to change the location of the ttf directory in the checkttf.php as well. The checkttf.php worked well after doing that. When I ran the testsuite.php only 5 of the graphs loaded properly. This was all path related as well. I am unsure why these five had the path as ../ instead of the others having jpgraph/jpgraph but it really helped. Once all were modified to ../ all of the graphs displayed properly. Hopefully my questions will be more advanced in the future and thank you again for your response.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...