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.
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');
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).
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
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.