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.

Global parameters s...
 
Notifications
Clear all

Global parameters setup

9 Posts
2 Users
0 Reactions
5,027 Views
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 
[#5981]

Hi,

Between 7.4.4 & 8.0.3 versions, path is different regarding global parameters, and in consequence, i'm not able to update fields (same result than encountered because of firewall last month). Now files/config/parameters.php
Please help.


 
Posted : 14 May 2019 18H50
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

I guess you installed V8.0.3 on new forlder instead of erasing existing code.
You lost the tool/parametersLocation.php file.


 
Posted : 14 May 2019 19H57
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 

Yes we have installed V8.0.3 on new folder.
But the tool/parametersLocation.php file is the same in both folder (8.0.3/7.4.4).
it contains :
<?php
$parametersLocation = '../files/config/parameters.php';


 
Posted : 15 May 2019 16H49
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

But the tool/parametersLocation.php file is the same in both folder (8.0.3/7.4.4).

Yes, but this file was not present on new folder, so you had configuration screen displayed.
Then it recreated the ../files/config/parameters.php, possibly with different values, and as DB was already populated, the parameters were not moved back to DB, so I guess parameters.php file on both folder is different, or at least some global parameters have been erased in DB...


 
Posted : 15 May 2019 17H51
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 

Ok why not.
I have a backup of DB before update 8.0.3.
If global parameters were stored in DB, where are they in DB ?
Thank you


 
Posted : 15 May 2019 19H06
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

in table parameter.
They are parameters where idUser is null


 
Posted : 15 May 2019 19H20
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 

Ok thanks.
I think I understand.
If a global parameters is set in 'parameters.php' AND in DB,
then it is read first in 'parameters.php'.
So if I remove a parameter in .php (example $paramMailSmtpServer), the value in DB will be read and I should find my previous value (before update) ?


 
Posted : 16 May 2019 11H04
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

That's it


 
Posted : 16 May 2019 11H43
 BILA
(@lsigroup)
Posts: 304
Contributor
Topic starter
 

Perfect. Thank for help


 
Posted : 16 May 2019 11H51
Share:

Scroll to Top