View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Can't log after uprade to 3.2 version - Page 3 - 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)

 

 

 

Can't log after uprade to 3.2 version

More
11 Mar 2013 20:39 - 11 Mar 2013 21:31 #13 by Kantabriko
More information:

When I reach the login page, I get the next information in Apache Error.log:

[Mon Mar 11 20:33:54 2013] [error] [client 92.56.2.118] PHP Fatal error: Call to undefined function date_diff() in C:\\AppServ\\www\\Proyectos\\model\\Audit.php on line 120, referer: http://XXXXXX/view/main.php


When I get a not succesful login, after that, each time I try to reach the login page I get "ERROR 500" error until I clean browser cache.
Last edit: 11 Mar 2013 21:31 by Kantabriko. Reason: Delete critical data

Please Connexion or Create an account to join the conversation.

More
11 Mar 2013 21:11 #14 by Kantabriko
The problem is in date_diff function.

If I change the next code:

$audit->lastAccess=date('Y-m-d H:i:s');
$duration=date_diff(date_create($audit->connection), date_create($audit->lastAccess)) ;
$audit->duration=$duration->format('%H%I%S');

To:

$audit->lastAccess=date('Y-m-d H:i:s');
$duration='01:01:01';

It Works!!!

So, the problem is with date_diff function. And I have read that it is not implemented until PHP Version 5.3 and I have installed PHP Version 5.2.17

Could give a fix to this error or must I upgrade my PHP version? I prefer not to do that because I have more php applications on this server...

Please Connexion or Create an account to join the conversation.

More
12 Mar 2013 00:01 #15 by babynus
Hi,

I recorded the issue as Ticket #1018.
Will be deployed in next patch.

Thanks for reporting and analysis.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.041 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.