Jump to content


After settings change, Settings icon grayed out - Livezilla 7.0.3.1

livezilla server 7.0.3.1

4 replies to this topic

#1 lzst3rer

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts

Posted 29 April 2017 - 07:43 AM

When I'm using Livezilla admin from the web, I click on Settings and modify a few things then click on Save. The Settings modifications are saved and Settings icon (at the top) is grayed out. It won't become clickable again until the page is refreshed manually (by F5 or clicking the browser Refresh button).

It's installed on a dedicated server (that only hosts this Livezilla installation), with the following specs:
Nginx 1.10
PHP 7.1
MariaDB 10.1

Am I doing something wrong or is this software still in beta?

Thanks!

#2 lzst3rer

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts

Posted 30 April 2017 - 03:39 PM

After further investigation, I noticed that after changing any setting and clicking "OK" or "Apply", this error shows up in Livezilla's logs:

30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/server.php IN LINE 75 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 737 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 737 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 737 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_track /var/www/support/html/_lib/objects.global.inc.php IN LINE 903 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_track /var/www/support/html/server.php IN LINE 55 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_maskip /var/www/support/html/_lib/objects.global.inc.php IN LINE 1747 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 737 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: poll_frequency_clients /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 739 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 737 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_default_language /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 398 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_chats /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 1950 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_default_language /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 398 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_chats /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 1950 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_chats /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 1950 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: poll_frequency_tracking /var/www/support/html/_lib/functions.tracking.inc.php IN LINE 44 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: poll_frequency_clients /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 144 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_dvhd /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 151 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_dvhd /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 152 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_track /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 191 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_colt /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 202 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_adct /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 204 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: poll_frequency_clients /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 144 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_dvhd /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 151 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_dvhd /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 152 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_track /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 191 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_colt /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 202 30.04.17 16:23:57 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_adct /var/www/support/html/_lib/functions.internal.optimize.inc.php IN LINE 204 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_track /var/www/support/html/server.php IN LINE 55 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_maskip /var/www/support/html/_lib/objects.global.inc.php IN LINE 1747 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_default_language /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 398 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_chats /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 1950 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_clients /var/www/support/html/_lib/objects.external.inc.php IN LINE 118 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_default_language /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 398 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_chats /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 1950 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_chats /var/www/support/html/_lib/objects.global.users.inc.php IN LINE 1950 30.04.17 16:23:58 xxx.xxx.xxx.xxx ERR# 8 Undefined index: poll_frequency_tracking /var/www/support/html/_lib/functions.tracking.inc.php IN LINE 44 30.04.17 16:23:59 xxx.xxx.xxx.xxx ERR# 8 Undefined index: timeout_track /var/www/support/html/server.php IN LINE 55 30.04.17 16:23:59 xxx.xxx.xxx.xxx ERR# 8 Undefined index: gl_maskip /var/www/support/html/_lib/objects.global.inc.php IN LINE 1747



I tested this with all 3 versions of PHP-FPM (5.6, 7.0 and 7.1). It's either Nginx misconfiguration or something code-related. Basically, after Settings are saved, the Server static class in the code loses its sanity and it won't get it back until I reload the admin/operator page.

Please advise.

Thanks!

#3 lzst3rer

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts

Posted 30 April 2017 - 08:29 PM

I come with the third update:

I noticed that the graying out is intentional because it takes the app a while to write the changes to database. This functionality existed in Livezilla 6 and below but I assumed that was because the Livezilla Admin app and the database were on separate machines so that could be seen as a necessity to ensure that nothing breaks.

However, the web-based panel and the database are on the same server here, a dedicated server at that, and there's still this delay in writing Settings? It just seems weird to do it this way.

So, basically now the Settings button is ungrayed after 5-15 seconds but the errors still show up in the logs. Probably the way that the Settings are saved isn't working like it should.

Hope you address/fix this soon, Livezilla team.

#4 Patrick Keil

    Administrator

  • Administrators
  • 3187 posts
  • LocationSingen, Germany

Posted 02 May 2017 - 11:47 AM

Hi,

we will check the errors, should be fixed in the next update if we can replicate it.

As for the grayed out icon, why is that an issue? We always try to initiate as less connections between client and server as possible so it may take the 4 seconds poll frequency until the client has received the updated config.

An instant update as reply to the update request would require some major design changes. That was not considered necessary.

Thanks.

#5 lzst3rer

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts

Posted 04 May 2017 - 03:17 PM

View PostPatrick Keil, on 02 May 2017 - 11:47 AM, said:

As for the grayed out icon, why is that an issue? We always try to initiate as less connections between client and server as possible so it may take the 4 seconds poll frequency until the client has received the updated config.

It's an issue because there's nothing explaining that it's supposed to behave like that. In the previous versions, at least you had the progress bar showing you that it's writing config to server, etc. -- here it's just grayed out. And if you happen to have so many PHP issues in the logs, you don't really know if it's coming back or not.


View PostPatrick Keil, on 02 May 2017 - 11:47 AM, said:

An instant update as reply to the update request would require some major design changes. That was not considered necessary.

This may sound ranty and not something you guys want to hear but here goes...

It's 2017 -- web apps are expected to be zippy as hell. Sooner or later, you WILL join the bandwagon and modernize your app (code structure, UX, UI, etc.) Truthfully, previous versions of Livezilla looked so archaic (I mean, a Windows app to manage a web app?!) that I expected you to completely rethink the UX for version 7. Maybe it was a monumental task and you decided to split it in pieces but it is definitely something you should be working on in the background.


If you need full access to my dedicated server (still not in production) for seeing what is causing these errors, please let me know. I'm all for helping Livezilla become better and better.

Thanks!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users