Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

No modification in ...
 
Notifications
Clear all

No modification in global parameters

5 Posts
3 Users
0 Reactions
6,719 Views
(@berlo56)
Posts: 15
Active Member
Topic starter
 
[#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


 
Posted : 17 Jul 2014 18H15
(@babynus)
Posts: 14952
Member 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.


 
Posted : 17 Jul 2014 21H33
Rui Santos
(@rsaint1927)
Posts: 15
Active Member
 

Babynus,

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

Thanks!


 
Posted : 18 Jul 2014 1H48
(@babynus)
Posts: 14952
Member 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';

 
Posted : 18 Jul 2014 11H10
(@berlo56)
Posts: 15
Active Member
Topic starter
 

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


 
Posted : 18 Jul 2014 11H58
Share:

Scroll to Top