And looking at "php-config --configure-options | grep with-gd" I can confirm that PHP was compiled with
--with-gd=shared,/usr --enable-gd-native-ttf
On Sun, Jul 24, 2016 at 2:06 AM, Andy Lemin andy@brandwatch.com wrote:
Did an apt-get upgrade, reboot and the error has gone back to 25121.
And a quick check of GD seems to show it is installed after all, so something else is stopping it being able to read the data "Empty input data array specified for plot. Must have at least one data point."
[LIVE]root@intermap:/opt/observium/html/includes/jpgraph/src# php -i | grep -i --color gd
/etc/php5/cli/conf.d/20-*gd*.ini,
*gd*
*GD* Support => enabled
*GD* headers Version => 2.1.1-dev
*gd*.jpeg_ignore_warning => 0 => 0
And the phpinfo; gd GD Support enabled GD headers Version 2.1.1-dev FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.5.2 GIF Read Support enabled GIF Create Support enabled JPEG Support enabled libJPEG Version 6b PNG Support enabled libPNG Version 1.2.50 WBMP Support enabled XPM Support enabled libXpm Version 30411 XBM Support enabled WebP Support enabled
Thanks
On Sun, Jul 24, 2016 at 1:50 AM, Andy Lemin andy@brandwatch.com wrote:
No, its totally silent. Even with debug=&1 there are no errors around the JpGrpah. the only error is within the JpGraph image png.
I've just uncommented the theme option (with 4.0 in place), and the error changed to 25128. The function imageantialias() is not available. Use the GD version.
I will try and install PHP with the GD compile option, unless you advise otherwise.
Thanks.
On Sun, Jul 24, 2016 at 1:33 AM, Adam Armstrong adama@memetic.org wrote:
Is there any other information on the error?
I got an error related to antialiasing, which on worked around. There's no need to modify jpg-config.php anymore, it seems.
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 24 Jul 2016, at 01:29, Andy Lemin andy@brandwatch.com wrote:
Hi Adam,
Hahaha, I know what you mean. Politics gone insane..
I've just updated and now at revision 8006.
But I'm still getting the JpGraph error 25121.
Where should I be looking to help provide debug info for this. Searching the web seems to show others with this same problem but not many suggestions.
I'm wondering if this is a permissions thing.
Thanks again, Andy.
On Fri, Jul 22, 2016 at 6:48 PM, Adam Armstrong adama@memetic.org wrote:
To the deep, deep south. :D
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 22 Jul 2016, at 18:27, Jason Lixfeld jason@lixfeld.ca wrote:
You’ve Brexited!
Where are you headed?
On Jul 22, 2016, at 1:03 PM, Adam Armstrong adama@memetic.org wrote: > > I hate other Brits so much I just had to leave. > > Adam. > > Sent from BlueMail > > > On 22 Jul 2016, at 17:51, Jason Lixfeld jason@lixfeld.ca wrote: > Oooooh.. tell us more about this relocation to the USA that you speak of ;) > > On Jul 22, 2016, at 12:50 PM, Adam Armstrong adama@memetic.org wrote: > > Ahh buggery. > > I'll see if I can work out a quick fix. > > I'm a little busy relocating to the USA at the moment, but if someone works out a fix, send it to the mailing list :) > > Adam. > > Sent from BlueMail > > > On 22 Jul 2016, at 17:47, Andy Lemin andy@brandwatch.com wrote: > Sadly it didn't work! > > Installed 3.5.0b1 (and commented out the Theme) and we still get the same error :( > > Where next to look? What directory is it trying to access? > > When I run &debug=1 we see no JpGraph errors? > > Thanks, Andy > > > On Fri, Jul 22, 2016 at 5:22 PM, Adam Armstrong adama@memetic.org wrote: > > There's a mirror of it on shithub... > > > Adam. > > Sent from BlueMail > > > On 22 Jul 2016, at 17:22, Andy Lemin andy@brandwatch.com wrote: > Has anyone got a copy of a 3.5 version etc that I can test to see if it is our install, or JP 4.0? > > Thanks. > > On Fri, Jul 22, 2016 at 5:12 PM, Adam Armstrong adama@memetic.org wrote: > Hmm. The billing code was, I think, written for version 2 or 3. It looks like > we'll need to rewrite some stuff if they've discontinued that. > > Adam. > > Sent from BlueMail > > > On 22 Jul 2016, at 17:02, Andy Lemin > andy@brandwatch.com wrote: > PS; There was no mention of versions in the steps, and so we installed 4.0 as thats the only one you can download. > Is that ok? > > And extracted into; > /opt/observium/html/includes/jpgraph > > so we have; > > > /opt/observium/html/includes/jpgraph/src/jpg-config.inc.php > > And we commented out this one > line; > > > > //define('DEFAULT_THEME_CLASS', 'UniversalTheme'); > > > > Thanks, Andy. > > > > > On Fri, Jul 22, 2016 at 4:42 PM, Andy Lemin andy@brandwatch.com wrote: > Hi, > > We are running the latest paid version, and turned on Billing last week. > The cronjob is running fine but nothing comes up in the web interface? > > We followed; > http://www.observium.org/docs/billing/ > > conrtab -l shows; > # Billing > > */5 * * * * root php > /opt/observium/poll-billing.php >> /dev/null 2>&1 > > 1 * * * * root php /opt/observium/billing-calculate.php >> /dev/null 2>&1 > > > And we have this in our config.php; > // Billing > > $config['enable_billing'] = 1; # Enable Billing > > $config['billing']['customer_autoadd'] = 1; # Enable Auto-add bill per customer > > > $config['billing']['circuit_autoadd'] = 1; # Enable Auto-add bill per circuit_id > > > $config['billing']['bill_autoadd'] = 1; # Enable Auto-add bill per bill_id > > However nothing is being auto added? > > > > So we added a bill manually, and when running the cronjob scripts manually all seems to work fine, but after leaving it for a week (so data could build up) we still see this JpGraph error; > > > > > > Thanks, Andy. > > > > > observium mailing list > observium@observium.org > http://postman.memetic.org/cgi-bin/mailman/listinfo/observium > > > observium mailing list > observium@observium.org > http://postman.memetic.org/cgi-bin/mailman/listinfo/observium > > > > observium mailing list > observium@observium.org > http://postman.memetic.org/cgi-bin/mailman/listinfo/observium > > > observium mailing list > observium@observium.org > http://postman.memetic.org/cgi-bin/mailman/listinfo/observium > > > > observium mailing list > observium@observium.org > http://postman.memetic.org/cgi-bin/mailman/listinfo/observium > > observium mailing list > observium@observium.org > http://postman.memetic.org/cgi-bin/mailman/listinfo/observium > > > observium mailing list > observium@observium.org > http://postman.memetic.org/cgi-bin/mailman/listinfo/observium > ------------------------------ > > observium mailing list > observium@observium.org > http://postman.memetic.org/cgi-bin/mailman/listinfo/observium >
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium