I'm in the process of upgrading our installation from 1.0.0rc5 (no, really) to 1.1.0a2 (again, really). At the same time, I'm moving the server downstream on our LAN, and putting a reverse apache proxy to access it through our NAT firewall. Loads of fun.
Anyway, I was getting strange results with the images in 1.1.0a2; turns out that the PHP5 in Debian does not have the imageantialias function compiled in. 1.1.0a2 enables it for most of its graphs, so in the end it was easier to tweak jpgraph to ignore the request:
/usr/share/jpgraph-2.1.4/src/jpgraph.php:
Change
Code: Select all
function SetAntiAliasing($aFlg=true) {
$this->use_anti_aliasing = $aFlg;
imageantialias($this->img,$aFlg);
}
Code: Select all
function SetAntiAliasing($aFlg=true) {
$this->use_anti_aliasing = $aFlg;
if( function_exists('imageantialias') ) {
imageantialias($this->img,$aFlg);
}
}
Alright, back to figuring out the last nagging problems caused by the proxy....
Stephane