View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Work real allocation is not possible with many activities - ProjeQtOr
 
 

Work real allocation is not possible with many activities

More
15 May 2014 15:30 #1 by jeda
I have use the last version v4.2.3, I added several activities when I have try to update the "work real allocation" he sets a lot of time to make the action and at the end (25 min aprox) I have to close the explorer because he does not capable to save the change. I have no error message. If I make the same thing with a user who has fewer tasks, the application makes the update.

# rpm -qa | grep -i php
php-cli-5.3.3-1.fc12.i686
php-mcrypt-5.3.3-1.fc12.i686
php-pdo-5.3.3-1.fc12.i686
php-mbstring-5.3.3-1.fc12.i686
php-gd-5.3.3-1.fc12.i686
php-5.3.3-1.fc12.i686
phpMyAdmin-3.3.8-1.fc12.noarch
php-mysql-5.3.3-1.fc12.i686
php-xml-5.3.3-1.fc12.i686
php-common-5.3.3-1.fc12.i686

# rpm -qa | grep -i mysql
mysql-server-5.1.47-2.fc12.i686
perl-DBD-MySQL-4.017-1.fc12.i686
pam_mysql-0.7-0.9.rc1.fc12.2.i686
mysql-5.1.47-2.fc12.i686
opensips-mysql-1.6.3-1.fc12.i686
php-mysql-5.3.3-1.fc12.i686
mysql-libs-5.1.47-2.fc12.i686

# rpm -qa | grep -i httpd
httpd-2.2.15-1.fc12.2.i686
httpd-tools-2.2.15-1.fc12.2.i686

Please Log in or Create an account to join the conversation.

More
15 May 2014 18:50 #2 by babynus
You're facing the "max_input_vars" issue.
Serch for it in the forum, you'll find the fix.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
15 May 2014 19:55 #3 by jeda
I can't use "max_input_vars" with PHP 5.3.3, i think is available with 5.4.x?
I will try to add in php.ini?
Thanks,

Please Log in or Create an account to join the conversation.

More
15 May 2014 23:10 #4 by babynus
max_input_vars comes with PHP 5.3
it must be updated in php.ini (or .htaccess)
4000 is a good value.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
16 May 2014 23:28 #5 by jeda
I tried to change the php.ini and .htaccess with max_input_vars = 4000 and that does not work.
I had to change the file /projeqtor/view/main.php and add:
ini_set('php_value max_input_vars',4000);
and now work.

Example:

<?php
/* ============================================================================
* Main page of application.
* This page includes Frame definitions and framework requirements.
* All the other pages are included into this one, in divs, using Ajax.
*
* Remarks for deployment :
* - set isDebug:false in djConfig
*/
require_once "../tool/projeqtor.php";
header ('Content-Type: text/html; charset=UTF-8');
ini_set('php_value max_input_vars',4000);
scriptLog(' ->/view/main.php');
if (Sql::getDbVersion()!=$version) {
//Here difference of version is an important issue => disconnect and get back to login page.
//session_destroy();
Audit::finishSession();
include_once 'login.php';
exit;
}
$currency=Parameter::getGlobalParameter('currency');


Thank you for your assistant.

Please Log in or Create an account to join the conversation.

More
17 May 2014 19:30 #6 by babynus
Hi,
It is surprising that change in main.php worked and change in php.ini did not.
I would bet on the opposite.

ini_set changes a configuration property "during the script execution", and ends at script end.
main.php is executed only when application loads.
When saving real work, main.php is not called at all, so property is not set when needed.

I would bet on correct change in php.ini that was not taken into account at first test and was when testing last one.
Note that in most cases, change in php.ini needs PHP to be restarted to be taken into account.
Some stacks auto refresh on php.ini change (for instance EasyPHP does), but it is not immediate, and can take few seconds (or minute).

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

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