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.
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
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.
Found it !
It's a deployment issue. Defaut value for currency was wrongly encoded. Will be fixed.
Thanks @babynus
Nice. So with the next update this wioll also be fixed in my instance?
No, only for newly installed instances.
You have to fix it yourself in Global Parameters screen.