Forum

Global parameters s...
 
Notifications
Retirer tout

Global parameters setup

9 Posts
2 Utilisateurs
0 Reactions
4,962 Vu
 BILA
(@lsigroup)
Posts: 304
Honorable Member
Début du sujet
 
[#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.


 
Posté : 14/05/2019 6:50 pm
(@babynus)
Posts: 14952
Membre Admin
 

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


 
Posté : 14/05/2019 7:57 pm
 BILA
(@lsigroup)
Posts: 304
Honorable Member
Début du sujet
 

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';


 
Posté : 15/05/2019 4:49 pm
(@babynus)
Posts: 14952
Membre 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...


 
Posté : 15/05/2019 5:51 pm
 BILA
(@lsigroup)
Posts: 304
Honorable Member
Début du sujet
 

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


 
Posté : 15/05/2019 7:06 pm
(@babynus)
Posts: 14952
Membre Admin
 

in table parameter.
They are parameters where idUser is null


 
Posté : 15/05/2019 7:20 pm
 BILA
(@lsigroup)
Posts: 304
Honorable Member
Début du sujet
 

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) ?


 
Posté : 16/05/2019 11:04 am
(@babynus)
Posts: 14952
Membre Admin
 

That's it


 
Posté : 16/05/2019 11:43 am
 BILA
(@lsigroup)
Posts: 304
Honorable Member
Début du sujet
 

Perfect. Thank for help


 
Posté : 16/05/2019 11:51 am
Share:
Retour en haut