[7.11.5]Can't edit email settings in user with the french version

Hello,
With a fresh install of suitecrm 7.11.5, when i click on settings in a user profil i go in the users list page, whith the french translation. It’s work with the english version.

Thanks

Do you see any errors in your logs at that time?

No errors in logs concerning this.
Only this many time :
[FATAL] *** FOLDERS: addBean() is trying to save to a non-saved or non-existent folder
[ERROR] ImapHandler trying to use a non valid resource stream.

Thanks

And the PHP log, does it have anything?

Maybe you should try and fix those Email and IMAP errors, they could be breaking the user profile screen for some reason…

But it could also be simply a problem with the translation pack, if it only happens in french version.

Please check also your Browser’s Developer console for any Javascript errors.

Hi,
I have the same problème.
Many buttons functions are not working in french but in english.
Edit email settings in users profile
invite contact on a call or meeting
lots of others in admin panel like in studio for managing custom fields

SuiteCRM 7.11.5
LanguagePack 7.11.4.01

No error log.

Any idea how Fix it ? (I don’t understand how it’s possible, it’s just a word change, method call’s still same !!!)

Thanks,
LauCo

Your SuiteCRM version and Language pack version must match perferctly. I suggest you upgrade both to 7.11.6.

Then tell me if the errors persist. Thanks

Hi,
Thanks.
I find solution on problèms, don’t know if all is perfect but still a strange button comportement.

V7.11.6
LangPack 7.11.6.2

On two server, with the second a complete fresh install with all requirement and php7.1 as sugested.
(server 1 php7.2 with all requirement)

On the user profil, the setting button for email are not working in french, butin english yes.

JS error log:
VM806 sugar_grp1_yui.js:115 Uncaught TypeError: Cannot read property ‘nodeName’ of undefined
at YAHOO.widget.Dialog.setHeader (VM806 sugar_grp1_yui.js:115)
at Object.showSettings (VM825 sugar_grp_emails.js:533)
at HTMLButtonElement.onclick (index.php?module=Users&action=EditView&record=1:3706)
setHeader @ VM806 sugar_grp1_yui.js:115
showSettings @ VM851 sugar_grp_emails.js:533
onclick @ index.php?module=Users&action=EditView&record=1:3706
2index.php:62 GET https://hoffice.idapps.eu.com:7300/csrf.js?i=0722 net::ERR_ABORTED 404 (Not Found)
index.php:3346 Uncaught ReferenceError: csrfInsert is not defined
at index.php:3346

This error is the one when I click on parameter in frech. this error not fired in english so probably the source of the problm. :

VM2359 sugar_grp1_yui.js:115 Uncaught TypeError: Cannot read property ‘nodeName’ of undefined
at YAHOO.widget.Dialog.setHeader (VM2359 sugar_grp1_yui.js:115)
at Object.showSettings (VM2378 sugar_grp_emails.js:533)
at HTMLButtonElement.onclick (index.php?module=Users&action=EditView&record=1:3706)

Any Idea (i try Chrome, Chromium and safari at all)

Thanks,
Laurent

Are you using a special port number for your server address? Something like this?

www.myserver.com:3706

Yes, port 7500(with ssl) on first server
But not realy on second one: SSl port 443 for second one

Tanks
Laurent

I think you mean port 7300, not 7500 (I just tried it)

That error mentions csrf, “Cross-site request forgery” which assuming you’re not currently being hacked, could indicate some misconfiguration of your domain names or something similar.

Do you have a correct host_name and site_url setting in your config.php

Yes, 7300 :oops: (7500 is the dav)

I tcheck the two config and all seems to be ok.
I do some test to see.

I think error are not from the click event, bit on the profile page load :
Uncaught ReferenceError: tinyConfig is not defined
at YAHOO.util.YUILoader.email2init [as onSuccess] (VM8682 sugar_grp_emails.js:910)
at YAHOO.util.YUILoader.loadNext (sugar_grp1.js?v=rc6WSKTfTRCjeRHsftABdQ:865)
at YAHOO.util.YUILoader.donext (sugar_grp1.js?v=rc6WSKTfTRCjeRHsftABdQ:865)
at c (sugar_grp1.js?v=rc6WSKTfTRCjeRHsftABdQ:865)
at f (sugar_grp1.js?v=rc6WSKTfTRCjeRHsftABdQ:865)
at HTMLScriptElement. (sugar_grp1.js?v=rc6WSKTfTRCjeRHsftABdQ:865)

And suppose tiny are responsible to open the « popup » window for email settings ?

Because I have crsf error when I use english translation but not this tiny one
And so, strange thing still it’s work in english but not in french.
(supposing url and hostname configuration error cause the problem always, not just in frech).

And so, only strange think still this tinyConfig error

Any idea or work around ?

Many Thanks,
Best,
Laurent

Hello,

That’s one of the many errors with quotes in the French translation (other errors
in Emails settings in admin page).

Then I guess we need to get this fixed…

It should be a fix like this one:
https://github.com/salesagility/SuiteCRM/pull/5042/files

Which makes the code ready for the case where the LBL comes with an apostrophe inside it…

We just have to find out where to make the change… :huh:

Ok thanks,

I’me gona try to take a look,
but I think you’ll find it faster.
Can you think searching on sugar_grp_emails.js is a good start ?

Thanks
Laurent

Hi,

We just submitted a PR 7918 for that:

2 Likes

Thanks but,
This fix doesn’t work for me on 7.11.8.