Forum

No modification in ...
 
Notifications
Retirer tout

No modification in global parameters

5 Posts
3 Utilisateurs
0 Reactions
6,718 Vu
(@berlo56)
Posts: 15
Active Member
Début du sujet
 
[#1914]

Hello again.

When I change something in global parameters (like attachement file max size or defaut password), it doesn't have any effect and when I refresh the page, it's the defaut value (password : projeqtor, attachement max size : 2097152).
However, when I look the value in database (table : parameters), it is the good value (my value) and it not corresponding to the value in the tool.

For information, I have 2 versions of projeqtor, one on localhost and the other on an external server. In localhost, I don't have this problem.
Does'it can come from file permissions ? I've try to make all permition on the files in file/config but it doesn't have any effect.
Thanks.

Mickael


 
Posté : 17 Juil PM 18:077
(@babynus)
Posts: 14952
Membre Admin
 

It is because your parameters are still defined in the paramleters.php file.
Values defined in this file have priority to thoose defined in the database.
Remove (or comment) them, just to leave database connection and logging parameters.

Origin of issue if because of an upgrade implemented in V3.0 to move parameters from parameters.php file to database, to be able to change them through the parameter screen.
During this upgrade parameters.php file was changed to remove the parameters.
If php user do not have write access to this file during the process, parameters remain in the file.
Due to incremental setup procedure, this may happen to recent setup.


 
Posté : 17 Juil PM 21:077
Rui Santos
(@rsaint1927)
Posts: 15
Active Member
 

Babynus,

Can you specify which parameters should stay in the parameters.php file?

Thanks!


 
Posté : 18 Juil AM 01:077
(@babynus)
Posts: 14952
Membre Admin
 

Database access and logging information :

$paramDbType='mysql'; 
$paramDbHost='127.0.0.1';
$paramDbPort='3306'; 
$paramDbUser='root'; 
$paramDbPassword='mysql';
$paramDbName='ProjeQtOr';
$paramDbPrefix='';
$logFile='../files/logs/projeqtor_${date}.log';
$logLevel='2';
$paramDebugMode='false';

 
Posté : 18 Juil AM 11:077
(@berlo56)
Posts: 15
Active Member
Début du sujet
 

It's ok, I just also delete the file "parameters.php.20140512140444" and "parameters.php.20140512140446" otherwise it wasn't funtion.
Thanks!


 
Posté : 18 Juil AM 11:077
Share:
Retour en haut