You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JpGraph
This is really for the developers as a heads up on getting ready to support PHP 8.1. The following errors are being thrown trying to produce a simple graph. There are likely others to be found. The line numbers in jpgraph.php are off just slightly as I have a modification in my copy to prevent errors that happen with the PHP 8.0 stream.
PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 401
PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 401 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 400 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 401 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 401 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 401 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 401 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 401 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 401 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 401 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: Function strftime() is deprecated in jpgraph.php on line 408 PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in gd_image.inc.php on line 1440 PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in gd_image.inc.php on line 1440 PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in gd_image.inc.php on line 1440 PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in gd_image.inc.php on line 1440 PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in gd_image.inc.php on line 1440 PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in gd_image.inc.php on line 1440 PHP Deprecated: Implicit conversion from float 80.5 to int loses precision in gd_image.inc.php on line 935 PHP Deprecated: Implicit conversion from float 139.5 to int loses precision in gd_image.inc.php on line 935 PHP Deprecated: Implicit conversion from float 139.5 to int loses precision in gd_image.inc.php on line 935 PHP Deprecated: Implicit conversion from float 139.5 to int loses precision in gd_image.inc.php on line 935 PHP Deprecated: Implicit conversion from float 136.5 to int loses precision in gd_image.inc.php on line 935
Mikhail Oleynik
unread,
Feb 25, 2022, 11:54:45 AM2/25/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JpGraph
Thanks for the tip but that doesn't help those of us who don't use/want composer. If the JPGraph package itself has been updated the authors should make it available on the JPGraph web site for everyone.
Mikhail Oleynik
unread,
Mar 4, 2022, 11:21:22 PM3/4/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JpGraph
Thanks for the tip but that doesn't help those of us who don't use/want composer. If the JPGraph package itself has been updated the authors should make it available on the JPGraph web site for everyone.
There no need for composer if you don't want to use it for some reasons. You can download ZIP directly from github (https://github.com/mitoteam/jpgraph). Unpack it and use jpgraph library sources from /src/lib folder. This is untouched jpgraph sources with only php 8.1 compatibility patches applied.
w1djm...@gmail.com
unread,
Mar 5, 2022, 7:42:56 AM3/5/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JpGraph
Thank you, that was very helpful.
w1djm...@gmail.com
unread,
Mar 5, 2022, 9:19:52 AM3/5/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JpGraph
Unfortunately it doesn't appear to be as simple as dropping in the updated code. It isn't throwing the PHP errors now, which is goodness, but it is complaining about not being able to find what should be built in fonts (FF_ARIAL,FS_BOLD for example.)
w1djm...@gmail.com
unread,
Mar 5, 2022, 9:28:21 AM3/5/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JpGraph
For completeness attached is a snapshot of the error message.