View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Can't log after uprade to 3.2 version - Page 3 - ProjeQtOr
 
 

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 Log in 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 Log in 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 Log in or Create an account to join the conversation.

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