Management

Weathermap error message

René Jorissen on August 22, 2012 0 Comments • Tags: #action #index #setupphp #undefined #weathermap

After upgrading CactiEZ from 0.8.7.c to 0.8.7h with PIA 3.1 I received an error message with viewing the Weathermap plugin.

Notice: Undefined index: action in /var/www/html/plugins/weathermap/setup.php on line 84

After surfing some time on the internet I found the solution. I change the syntax on line 84. The change is displayed below.

Old syntax

if($_REQUEST[“action”] == ‘viewmapcycle’)

New syntax

if(isset( $_REQUEST[“action”] ) && $_REQUEST[“action”]  == ‘viewmapcycle’)

This resolves the error message.

The following two tabs change content below.

René Jorissen

Co-owner and Solution Specialist at 4IP Solutions
René Jorissen works as Solution Specialist for 4IP in the Netherlands. Network Infrastructures are the primary focus. René works with equipment of multiple vendors, like Cisco, Aruba Networks, FortiNet, HP Networking, Juniper Networks, RSA SecurID, AeroHive, Microsoft and many more. René is Aruba Certified Edge Expert (ACEX #26), Aruba Certified Mobility Expert (ACMX #438), Aruba Certified ClearPass Expert (ACCX #725), Aruba Certified Design Expert (ACDX #760), CCNP R&S, FCNSP and Certified Ethical Hacker (CEF) certified. You can follow René on Twitter and LinkedIn.

Latest posts by René Jorissen (see all)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.