Forum

currency seetings i...
 
Notifications
Retirer tout

currency seetings in parameters.php

6 Posts
2 Utilisateurs
0 Reactions
1,529 Vu
 jona
(@jona)
Posts: 11
Eminent Member
Début du sujet
 
[#8654]

Hi.
In my projeqtor instance there is "€" displayed as my currency. So I searched for changing it and found that old post https://www.projeqtor.org/en/forum/5-ask-questions/1872-currency-change#modal
so I had a look into it and I got a link to:

'../projeqtor_files/config/parameters.php'; 

but in this file there is nothing about currency. Furthermore I wonder why there is an opening php tag but no closing one:

<?php
// =======================================================================================
// Automatically generated parameter file
// on 2021-12-01 20:57:22
// =======================================================================================
$paramDbType='';
$paramDbHost='';
$paramDbPort='';
$paramDbUser='';
$paramDbPassword='';
$paramDbName='';
$paramDbPrefix='';
$SslKey='';
$SslCert='';
$SslCa='';
$logFile='../projeqtor_files/logs/projeqtor_${date}.log';
$enforceUTF8='1';
//======= END

Any ideas why this is? What did I wrong? 😉
Thanks for your help.


 
Posté : 07/12/2022 7:50 pm
(@babynus)
Posts: 14952
Membre Admin
 

Currency definition is now move in Global Parameters screen (more easy to change)

Pay attention, if you get these behavior, maybe it is due to incorrect export / import, dur to erroneous charset.
Take care to always import data in utf8, whatever your system (windows does not use utf8 by defaut).
So always import a dump with option --default_character_set utf8 

mysql -u root  -p --default_character_set utf8  projeqtor < dump.sql

 


 
Posté : 07/12/2022 8:13 pm
 jona
(@jona)
Posts: 11
Eminent Member
Début du sujet
 

Thanks for your answer.
Well, I haven't ever imported any dump. I'd installed it from scratch and updated 3 times to the latest version. And of course I'm not using Windows 😛 how could I? Joking, I'm running rocky linux.


 
Posté : 08/12/2022 7:32 am
(@babynus)
Posts: 14952
Membre Admin
 

Found it !
It's a deployment issue. Defaut value for currency was wrongly encoded. Will be fixed.


 
Posté : 08/12/2022 11:07 am
 jona
(@jona)
Posts: 11
Eminent Member
Début du sujet
 

Thanks @babynus
Nice. So with the next update this wioll also be fixed in my instance?


 
Posté : 08/12/2022 6:41 pm
(@babynus)
Posts: 14952
Membre Admin
 

No, only for newly installed instances.
You have to fix it yourself in Global Parameters screen.


 
Posté : 12/12/2022 4:30 pm
Share:
Retour en haut