View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - menuNewGuiLeft.php can't load if connection fails - ProjeQtOr
 

menuNewGuiLeft.php can't load if connection fails

More
02 Feb 2021 15:49 #1 by Coasterman
Hello

In the new GUI the Left menu can't load "projeqtor.org/admin/getPlugins.php"2021-02-02 16:13:12.393 ***** ERROR ***** [V9.0.3] on file '/var/www/projeqtor/view/menuNewGuiLeft.php' at line (365)
If lucky it comes an error and it can be switched to old GUI else it hangs and wait until reload (depends a bit on the browser)
Old GUI works fine because no access to external sources needed.

Please Log in or Create an account to join the conversation.

More
02 Feb 2021 15:59 #2 by babynus
Hi,
Your server cannot acces the internet.
Specify it on the php.ini file with 
allow_url_fopen=off

You can also change global parameter "check version" to NO.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
02 Feb 2021 18:01 #3 by Coasterman
Hello

Yes, this is true that the server couldn't access at that time. But the problem/question is, if it realy has to fail loading the complete menu just because it couldn't get the information about the plugin once? Because the information of new version available is a nice feature and saves daily manual check.

If it could be discovered and aborted already inbetween line 360 and 366
  if (ini_get('allow_url_fopen')) {
    enableCatchErrors();
    enableSilentErrors();
    $currentVersion=file_get_contents($urlPlugins);       
    disableCatchErrors();
    disableSilentErrors();
  }

or the lines 367 - 369 are skipped if no internet to let the list empty, the problem wouldn't apear...

Regards
 

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.039 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.