If your MySql server is local, try and change host name from "localhost" to "127.0.0.1".
Some MySql versions have name resolution issue, and this improve performance drastically.
Hi babynus,
I made this change long time ago.
When I connect with an admin account, I have to wait 60 seconds.
When I connect with other accounts, I don't have to wait.
You can try to add some debugging :
Add this line in parameters.php
$debugQuery=true;
You'll have some trace (with execution time) of all requests.
this could help find where issue comes from.
I can't see why such a long delay:
2015-03-13 15:26:01 ----- DEBUG ----- 0.000584;select * from profile where id=1
2015-03-13 15:26:58 ----- DEBUG ----- 0.002011;select * from parameter where (idUser is null and idProject is null)
and
2015-03-13 15:26:58 ----- DEBUG ----- 0.000487;select id as id, name as name from indicatorable where (idle=0 ) order by indicatorable.name
2015-03-13 15:26:58 ----- DEBUG ----- 0.002346;desc alert
2015-03-13 15:26:58 ----- DEBUG ----- 0.000378;select * from alert where alert.idUser=1 and alert.readFlag=0 and alert.idle=0 order by id asc
2015-03-13 15:27:01 ===== TRACE ===== Cannot check Version at http://projeqtor.org/admin/getVersion.php
2015-03-13 15:27:01 ===== TRACE ===== Maybe allow_url_fopen is Off in php.ini...
2015-03-13 15:27:01 ----- DEBUG ----- 0.002504;select * from parameter where (idUser is null and idProject is null)
GOT IT !!!
Connection is long because your server cannot connect to ProjeQtOt server to retrieve information on last deployed version.
So it waits for a Tiemout...
You just have to disable this functionality ("check for new version") in the global parameter screen.
Ok problem solve
Thks
