Forum

Real Work allocatio...
 
Notifications
Retirer tout

Real Work allocation Error

10 Posts
3 Utilisateurs
0 Reactions
8,891 Vu
(@marina)
Posts: 5
Active Member
Début du sujet
 
[#4483]

Dear experts,

When we are trying to allocate units to a project using the 'Follow-up --> Real Work Allocation' module the attached error appears and we are not able to save the time allocated.
This happens to all aur projects so we can not save the time spent to each one of them. Any suggestions on how to resolve this issue?
Thank in advance for yopur help.

Kind Regards,
Marina


 
Posté : 07/07/2017 11:46 am
(@babynus)
Posts: 14952
Membre Admin
 

Error is clean : you must increase the max_input_vars in your php.ini


 
Posté : 09/07/2017 10:15 pm
(@marina)
Posts: 5
Active Member
Début du sujet
 

Thank you for your reply.
However it is not clear to us how we can increase the max_input_vars in the php.ini.
Could ypu please guide us through this process?

Thank you in advance for your help.

Kind Regards,
Marina


 
Posté : 10/07/2017 11:27 am
(@richard-pare)
Posts: 165
Estimable Member
 

max_input_vars is a parameter in the php.ini file. You must edit this file to change value of parameter.

So file location depends on OS and http server used.

Look on Internet to find localization of file.

The new value of parameter will be take into account after http server restart.


 
Posté : 10/07/2017 5:36 pm
(@marina)
Posts: 5
Active Member
Début du sujet
 

Thank you for your reply.
We follow these steps :
1. Founfd the file
2. Increase the max_input_vars to 5000.
3. Restart.
However the following error continues to appear:

'Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
Contact your administrator.'

Any suggestions what might be wrong?

Kind Regards,
Marina


 
Posté : 10/07/2017 7:38 pm
(@richard-pare)
Posts: 165
Estimable Member
 

Check in Global parameters screen.

This screen contains parameters set from installation.

Maybe, the old value is use.

Several parameters are set during installation.

You can't increase the limit in the ProjeQtOr screen (You can't exceed limit set in php.ini file), but you can reduce it.

I believe the old value is set (you reduce the limit).

Check value of parameter and set it with your new value.


 
Posté : 10/07/2017 10:35 pm
(@richard-pare)
Posts: 165
Estimable Member
 

Possibility to have two php.ini file.

One for PHP command line and another for http server.

It is also possible to overwrite parameter value in an other ".ini" file located in a subdirectory.


 
Posté : 11/07/2017 1:59 am
(@babynus)
Posts: 14952
Membre Admin
 

It is also possible that your php has suhosin installed.
Then you would also need
suhosin.post.max_vars=5000
suhosin.request.max_vars=5000

NB : take case if your are using wamp, it's always a mess to have changes taken into account (wamp uses copies of files, and I never remember which one is really used)


 
Posté : 11/07/2017 3:55 pm
(@marina)
Posts: 5
Active Member
Début du sujet
 

Thank you all for your feedback. We double checked and there is no suhosin installed in our case.
However we noticed thta some users are able to properly update the real allocation.
Any suggestions why some users are not able to allocate real work time and some others can?
They all have authoriation to perform this task.
Thank you in advance.

Kind Regards,
Marina


 
Posté : 12/07/2017 12:06 pm
(@babynus)
Posts: 14952
Membre Admin
 

some users are able to properly update the real allocation

It all depends on number on lines displayed on the real work allocation screen.
Some with less lines can save.
Some with more cannot.
It is (for sure) a max_input_vars issue.


 
Posté : 12/07/2017 8:25 pm
Share:
Retour en haut