Cacti / plugin_monitor

Monitor Plugin for Cacti
GNU General Public License v2.0
36 stars 39 forks source link

"Check red fields" error on Cacti 1.2.x #156

Closed stslayer1 closed 1 year ago

stslayer1 commented 1 year ago

Describe the bug

After updating Cacti to version 1.2.21, there was a problem with the Monitor plugin.

"Sorry, we could not process your last action. Save Failed due to field input errors (Check red fields)." error pops up randomly.

Screenshot: https://prnt.sc/FDpjpenCzVnV

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Monitor'
  2. Click on 'Graphs'
  3. See error

Plugin Monitor:

I also tried a clean install of version 1.2.23, but when installing the Monitor plugin, the error also appears.

linqianye commented 1 year ago

I also encountered the same problem, how to deal with it?

TheWitness commented 1 year ago

Do you both have cacti up in more than one window when it happens?

TheWitness commented 1 year ago

You'll have to find a repeatable case in any event.

linqianye commented 1 year ago

I have found a solution. Using the latest development version can avoid this error. It seems that the development version has fixed this problem.

TheWitness commented 1 year ago

Good

stslayer1 commented 1 year ago

Latest dev. version of Cacti or Monitor plugin?

TheWitness commented 1 year ago

If you are running an 8.x version of PHP or even a recent 7.4 version, best to update both. Cacti 1.2.x branch is pretty much set for 1.2.24. I'm running in prod with it.

linqianye commented 1 year ago

the development version of the monitor plugin

chrcoluk commented 1 year ago

I hit this problem as well, didnt show up until php was upgraded to 8.0, fixed on the dev branch.