View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Unable to save any hours worked - ProjeQtOr

Prochaines sessions de formation

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

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Unable to save any hours worked

More
15 Mai 2012 08:48 #1 by ekolossov
Unable to save any hours worked:
Log:
2012-05-14 17:23:17 ***** ERROR ***** ERROR *****
2012-05-14 17:23:17 ***** ERROR ***** on file '/var/www/localhost/htdocs/projectorria/tool/saveImputation.php' at line (32)
2012-05-14 17:23:17 ***** ERROR ***** cause = Undefined offset: 27

Please Connexion or Create an account to join the conversation.

More
15 Mai 2012 09:42 #2 by babynus
Confirmed.
Bug Registered as Ticket #681 : high priority.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
15 Mai 2012 10:11 #3 by ekolossov
Hi,

I think it not high but critical because there is no way around and tool is useless without that...
Regards,
Evgueni

Please Connexion or Create an account to join the conversation.

More
15 Mai 2012 10:35 #4 by babynus
It is !

I am investigating.
I could not reproduce locally but could on Demo site.
So I copied Demo database locally ... and could not reproduce :huh: .
Strange. :silly:
I continue ...

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
15 Mai 2012 15:12 - 15 Mai 2012 15:23 #5 by babynus
Fixing is in two steps.
First, replace line 32 in /tool/saveImputation.php
$line->leftWork=Work::convertImputation($_REQUEST['leftWork'][$i]);
with
if (isset($_REQUEST['leftWork'][$i])) {
      $line->leftWork=Work::convertImputation($_REQUEST['leftWork'][$i]);
    }
This should fix most cases.

Then, you may face a server limit, limiting size of request.
You must then update your php.ini file, to include :
max_input_vars = 2000
suhosin.post.max_vars = 2000
suhosin.request.max_vars = 2000
If you cannot update your php.ini (mutualised server), you may either add a simple php.ini file including just these 3 lines in tool directory, or write the equivalent (check syntax) in a .htaccess file with syntax
php_value max_input_vars 2000
php_value suhosin.post.max_vars 2000
php_value suhosin.request.max_vars 2000

Babynus
Administrator of ProjeQtOr web site
Last edit: 15 Mai 2012 15:23 by babynus.

Please Connexion or Create an account to join the conversation.

More
15 Mai 2012 15:19 #6 by ekolossov
Thanks - first step been enough to fix it.
Regards,
Evgueni

Please Connexion or Create an account to join the conversation.

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