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

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

menuNewGuiLeft.php can't load if connection fails

More
02 Fév 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 Connexion or Create an account to join the conversation.

More
02 Fév 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 Connexion or Create an account to join the conversation.

More
02 Fév 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 Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.031 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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