Make a quick vote 🗳 ️How do you refer to SuiteCRM extensions: add-ons or plug-ins? Click here to have your say 👈

Undefined text in labels

in pop-up windows, the label puts undefined.
also when the page is loading
I have checked the permissions of all the folders and they are with the user.
I have also checked that cron works well and the log file, where there are no errors.
Currently in Ubuntu 20.04 apache 2.4.41 and php7.4, I have passed everything from a windows 10 pc with xampp

Hi @faysu,

Thank you for trying out SuiteCRM 8.

Could you check RewriteBase under public/legacy?

This explains a bit how it should be set.

Hope this helps

sorry for the confusion, it’s suitecrm7

Hi @faysu

Ah ok, my bad. Maybe the following can help:

Usually, in my experience if you see undefined fields and labels it’s a permission issue. Use SSH to reset all permissions to default., Then repair and rebuild.

If that doesn’t work check your .htaccess file, you may need to try a rebuild on that too.

I have checked the permissions and they are correct in the var/www/suitecrm folder and in the subfolders.

My .htaccess file

Options +SymLinksIfOwnerMatch
    Options -Indexes
    Options -MultiViews
    RewriteEngine On
    RewriteBase /“datbasename”
    RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&modulename=app_strings&lang=$1 [L,QSA]
    RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&modulename=$1&lang=$2 [L,QSA]

    # --------- DEPRECATED --------
    RewriteRule ^api/(.*)$ - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteRule ^api/(.*?)$ lib/API/public/index.php/$1 [L]
    # -----------------------------

    RewriteRule ^Api/(.*)$ - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteRule ^Api/access_token$ Api/index.php/access_token [L]
    RewriteRule ^Api/V8/(.*?)$ Api/index.php/V8/$1 [L]

Can anyone help me? Please!!

Hi @faysu,

Sorry for the delay in replying. Could you try the following please?

In .htaccess replace:

RewriteBase /suitecrm

or with

RewriteBase /

I changed what you told me, to no avail
I have verified that if I delete the .httacces file, the labels “undefined” no longer appear. What problem could it be? Everything works fine without this file, can I do without it?

I have discovered the row that gives the problem in .htaccess:

RewriteRule ^ cache / jsLanguage /(…_ …). Js $ index.php? EntryPoint = jslang & modulename = app_strings & lang = $ 1 [L, QSA]

I have tried removing all the rows one by one and with this is when the “undefined” labels come out

finally I substituted line 26 approximately of:
RewriteRule ^cache/jsLanguage/(…_…).js$ index.php?entryPoint=jslang&modulename=app_strings&lang=$1 [L,QSA]

RewriteRule /cache/jsLanguage/(…_…).js$ index.php?entryPoint=jslang&modulename=app_s$

I found it here:

Although it was suitecrm 8, it had the same problem

1 Like

Hi @faysu,

Glad you were able to solve it and thank you for the feedback.

Would you mind creating an issue in the SuiteCRM project in github please?

  • Adding the suggested fix would also be good.

Thank you