Giter Site home page Giter Site logo

Comments (9)

cosu77 avatar cosu77 commented on September 18, 2024

capture

from network-weathermap.

howardjones avatar howardjones commented on September 18, 2024

That's an interesting bug!

So permissions must be OK, because you are getting new files.

  • Have you checked the contents of those files? What is the datestamp in those .png images?
  • What is your environment? What PHP, Apache, Linux versions?
  • Did you upgrade anything else at the same time?

from network-weathermap.

howardjones avatar howardjones commented on September 18, 2024

In your screenshot, the version is still 0.97c. Maybe something didn't get replaced correctly?

from network-weathermap.

cosu77 avatar cosu77 commented on September 18, 2024

In the .png/.html files i have all my wmaps. Datestamp looks like this:
output/9057c301e9047cbe760b.png was last modified: 1464955812
output/9057c301e9047cbe760b.png was last modified: June 03 2016 15:10:12

Environment:
Linux Gentoo with kernel 4.4.6-gentoo
PHP 5.6.21-pl0-gentoo (with GD and memory limit @512m)
Lighttpd 1.4.35-r1
Catci 0.8.8h (upgraded yesterday at 7:15, after upgrade 0.97c works just fine)

Info from your check script:

Weathermap Pre-Install Checker

This script checks for some common problems with your PHP and server
environment that may stop Weathermap or the Editor from working.

NOTE: You should run this script as both a web page AND from the
command-line, as the environment can be different in each.

This is the PHP version that is responsible for

  • creating maps from the Cacti poller
  • the command-line weathermap tool

PHP Basics

This is PHP Version 5.6.21-pl0-gentoo running on "Linux grafice
4.4.6-gentoo #1 SMP Tue Apr 26 15:12:05 EEST 2016 i686" with a memory_limit
of '512M'.

The php.ini file was /etc/php/cli-php5.6/php.ini
The following additional ini files were read: /etc/php/cli-php5.6/ext-active/opcache.ini

PHP Functions

Some parts of Weathermap need special support in your PHP
installation to work.

This PHP uses the 'bundled' GD library, which doesn't have alpha-blending
bugs. That's good!

The Console_Getopt PEAR module is available. That's good!

        imagepng   YES                                                     

imagecreatetruecolor YES
imagealphablending YES
imageSaveAlpha YES
preg_match YES
imagecreatefrompng YES
imagecreatefromjpeg YES
imagecreatefromgif YES
imagejpeg YES
imagegif YES
imagecopyresampled YES
imagettfbbox YES
memory_get_usage YES


OK! Your PHP and server environment seems to have support for ALL of the
Weathermap features. Make sure you have run this script BOTH as a web page
and from the CLI to be sure, however.

Upgrade process:

  • uninstall 0.97c in cacti Plugin Management
  • moving the wethermap directory from plungins
  • download 0.98 version, unziped, copy images&configs from old director
  • install and activate in cacti Plugin Management
  • checking and setting rights

Seems to be just a display problem, before this issue i tried to go back to 0.97c (no succes). Now i'm running 0.98.

from network-weathermap.

howardjones avatar howardjones commented on September 18, 2024

No, I meant what is the date IN the images? If you open one of those png files in the output directory,
What is the time stamp on the map?

This sounds like some kind of caching problem - there is only one copy of the image files,so if the
output directory is being updated, the only other place that file can exist is your browser's cache.

Sent from my iPhone

On 3 Jun 2016, at 13:14, cosu77 [email protected] wrote:

In the .png/.html files i have all my wmaps. Datestamp looks like this:
output/9057c301e9047cbe760b.png was last modified: 1464955812
output/9057c301e9047cbe760b.png was last modified: June 03 2016 15:10:12

Environment:
Linux Gentoo with kernel 4.4.6-gentoo
PHP 5.6.21-pl0-gentoo (with GD and memory limit @512m)
Lighttpd 1.4.35-r1
Catci 0.8.8h (upgraded yesterday at 7:15, after upgrade 0.97c works just fine)

Info from your check script:

Weathermap Pre-Install Checker

This script checks for some common problems with your PHP and server
environment that may stop Weathermap or the Editor from working.

NOTE: You should run this script as both a web page AND from the
command-line, as the environment can be different in each.

This is the PHP version that is responsible for

creating maps from the Cacti poller
the command-line weathermap tool
PHP Basics

This is PHP Version 5.6.21-pl0-gentoo running on "Linux grafice
4.4.6-gentoo #1 SMP Tue Apr 26 15:12:05 EEST 2016 i686" with a memory_limit
of '512M'.

The php.ini file was /etc/php/cli-php5.6/php.ini
The following additional ini files were read: /etc/php/cli-php5.6/ext-active/opcache.ini

PHP Functions

Some parts of Weathermap need special support in your PHP
installation to work.

This PHP uses the 'bundled' GD library, which doesn't have alpha-blending
bugs. That's good!

The Console_Getopt PEAR module is available. That's good!

    imagepng   YES                                                     

imagecreatetruecolor YES

imagealphablending YES

imageSaveAlpha YES

preg_match YES

imagecreatefrompng YES

imagecreatefromjpeg YES

imagecreatefromgif YES

imagejpeg YES

imagegif YES

imagecopyresampled YES

imagettfbbox YES

memory_get_usage YES

OK! Your PHP and server environment seems to have support for ALL of the
Weathermap features. Make sure you have run this script BOTH as a web page
and from the CLI to be sure, however.

Upgrade process:

uninstall 0.97c in cacti Plugin Management
moving the wethermap directory from plungins
download 0.98 version, unziped, copy images&configs from old director
install and activate in cacti Plugin Management
checking and setting rights
Seems to be just a display problem, before this issue i tried to go back to 0.97c (no succes). Now i'm running 0.98.


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

from network-weathermap.

cosu77 avatar cosu77 commented on September 18, 2024

This is timestamp on 9057c301e9047cbe760b.png
timestamp
Timestamp is changing every 5 minutes.
I tried loading cacti in 3 different explorers, Ctrl+Shift+Reload, clear cache, basic stuff in some kind of situations.

I can't understand this on my cacti page:
Powered by PHP Weathermap version 0.97c --- Weathermap Management | Local Documentation | Editor
after:

# pwd
/var/www/localhost/htdocs/cacti/plugins/weathermap
# grep "0.97c" * -R
CHANGES:0.97c had no additional changes - it's just 0.97b with some silly errors fixed, and  all
... snip: configs/*:# Automatically generated by php-weathermap v0.97c ...
docs/pages/changes.html: <h2 id="changes098">Changes For This Version (0.97c to 0.98)</h2> 
docs/pages/changes.html: <h2 id="changes097c">Changes For This Version (0.97b to 0.97c)</h2> 
docs/pages/changes.html: <p>0.97c had no additional changes - it's just 0.97b with some silly errors fixed, and all

capture
some stuff generated by plugin, nothing related to explorer's cache.

from network-weathermap.

howardjones avatar howardjones commented on September 18, 2024

Ok.. From basics :-)

grep 0.97c .php lib/.php

On my system, that produces no output.

Sent from my iPhone

On 3 Jun 2016, at 20:30, cosu77 [email protected] wrote:

This is timestamp on 9057c301e9047cbe760b.png

Timestamp is changing every 5 minutes.
I tried loading cacti in 3 different explorers, Ctrl+Shift+Reload, clear cache, basic stuff in some kind of situations.

I can't understand this on my cacti page:
Powered by PHP Weathermap version 0.97c --- Weathermap Management | Local Documentation | Editor
after:

pwd

/var/www/localhost/htdocs/cacti/plugins/weathermap

grep "0.97c" * -R

CHANGES:0.97c had no additional changes - it's just 0.97b with some silly errors fixed, and all
... snip: configs/*:# Automatically generated by php-weathermap v0.97c ...
docs/pages/changes.html:

Changes For This Version (0.97c to 0.98)


docs/pages/changes.html:

Changes For This Version (0.97b to 0.97c)


docs/pages/changes.html:

0.97c had no additional changes - it's just 0.97b with some silly errors fixed, and all

some stuff generated by plugin, nothing related to explorer's cache.


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

from network-weathermap.

howardjones avatar howardjones commented on September 18, 2024

Never mind - I missed the bottom of the previous mail.

Have you restarted apache since the upgrade? It shouldn't be necessary, but that's the only other thing I can think of where old data might be hanging around.

from network-weathermap.

cosu77 avatar cosu77 commented on September 18, 2024

I never needed something like this, server restart. I do it right now and ... magic, there are my maps.
Thanx a lot!

from network-weathermap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.