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.

Impossible to save ...
 
Notifications
Clear all

Impossible to save some modifications on page "Global parameters"

7 Posts
2 Users
0 Reactions
6,541 Views
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 
[#2941]

Hello,

I have a little "space" problem on the page "Global parameters".
I am connected with Admin user and try to modify field for email sending (smtp server, smtp port).

When I save, Projeqtor tell me "Parameters saved". But I I quit the page and reopen it, the changes disappeared 🙁

And the "funniest" : if I change for example some text in the section "Mail Title" : it works fine : the change are saved and apparead when I go back to the page :blink:

I really don't understand what happend

would anyone an explanation or idea?


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posted : 20 Jan 2016 17H14
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

It is same issue as https://www.projeqtor.org/fr/forum-fr/2-submit-issues/6913-solved-5-2-1-user-parameters-not-saved-until-restart
Same fix can be applied (described in the post)


 
Posted : 20 Jan 2016 21H44
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 

Hello Babynus

It doesn't appear to work in my case (maybe I have make something wrong).

Here is now the code in the /tool/saveDataToSession.php after your modifications

if (preg_match('/^'.$ValidSessionIDs.'$/', trim($id)) != True){
if (array_key_exists($id, Parameter::getParamtersList('userParameter'))) {
// OK, it is a user parameter
} else if (array_key_exists($id, Parameter::getParamtersList('globalParameter'))) {
// OK, it is a global parameter
} else {
errorLog("Invalid id value - [$id]"); // all column names are valid session id values - need to make a full list
// TODO (security) : when list is complete and no more error logged, change to traceHack

But the symptoms are the same : only the sender name field is ok. All ther field for mail are not save.

What is wrong with my modifications ?

Thanks


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posted : 21 Jan 2016 17H35
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

look into your parameters.php file
If parameters are defined in your parameters.php file, changes on global parameters screen (saved i ndatagbase) are not taken into account.


 
Posted : 22 Jan 2016 21H11
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 

Hello Babynus,

I dont't have anything in the paramerters.php (store in filesconfig).

I attach on this post a screenshot of this file.


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posted : 25 Jan 2016 12H01
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Your parameters.php file is exactly what is expected.

Please wait for patch 5.2.2 to try if it fixes issue.
(coming very soon)


 
Posted : 25 Jan 2016 12H09
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 

Ok, thanks a lot 🙂


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posted : 25 Jan 2016 12H10
Share:

Scroll to Top