What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Issue after migration (possible Javascript bug?) error not found

Votes:

0

I needed to move an installation of PRTG from Windows 10 to Server 2012 R2 (For the obvious reasons mainly control of updates).

I had to update my PRTG installation (both running 16.1.22.2657), data copy and registry went ok and the server started. Once I logged in and went to Devices then selected a device, then selected a sensor and then clicked back the UI below the 'Overview - 2 Days - etc...' tabs was blank. selecting any tab resulted in a prtg popup message with 'error not found'. After doing a developer tools check there was a call to 'document.location.refresh()' that was failing on line 307 of _Prtg.TCT.Plugin.js.

After changing this line to 'document.location.reload()' I don't seem to have the problem... Is this a bug or is there something else going on?

javascript prtg web-interface

Created on Mar 21, 2016 1:05:34 PM

Last change on Mar 22, 2016 2:39:56 PM by  Luciano Lingnau [Paessler]



2 Replies

Votes:

0

Hello Spindlewood, thank you very much for your report.

I've just checked with the responsible interface developer, and yes there was a typo in the javascript, and your solution to the problem is correct, the problem should no longer be present in the newest versions (soon to be released) of PRTG.

The "corrected" file must look like the following(lines 305 to 308):

          if(me.parent().find('tct[data-role="theater"]').length === 0){
            _Prtg.Events.unsubscribe('refresh.events.prtg rotate.events.prtg',$.proxy(self.rotate, self, me));
            document.location.reload();
          }

Thank you for feedback/report.

Best Regards,

Created on Mar 22, 2016 2:49:26 PM by  Luciano Lingnau [Paessler]

Last change on Mar 24, 2016 5:19:34 PM by  Luciano Lingnau [Paessler]



Votes:

0

Great, thanks for letting me know I will look forward to the update.

Created on Mar 22, 2016 3:47:31 PM




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.