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.

currency seetings i...
 
Notifications
Clear all

currency seetings in parameters.php

6 Posts
2 Users
0 Reactions
1,560 Views
 jona
(@jona)
Posts: 11
Active Member
Topic starter
 
[#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.


 
Posted : 07 Dec 2022 19H50
babynus
(@babynus)
Posts: 14966
Main Contributor 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

 


 
Posted : 07 Dec 2022 20H13
 jona
(@jona)
Posts: 11
Active Member
Topic starter
 

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.


 
Posted : 08 Dec 2022 7H32
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 08 Dec 2022 11H07
 jona
(@jona)
Posts: 11
Active Member
Topic starter
 

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


 
Posted : 08 Dec 2022 18H41
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 12 Dec 2022 16H30
Share:

Scroll to Top