"undefined" labels

I’ve installed a fresh version of SuiteCRM 7.2.2 on a shared hosting provider (so I don’t have access to a few things). Using PHP 5.3. The install went fine, but when I logged on for the first time I was asked to set up an outgoing mail server. When I tested my settings, I got a dialog and noticed one of the buttons on it was labelled “undefined”. See the attached image.

After a bit of searching I found that some people think it may be a permissions problem. To clarify, I did do the following from the root SuiteCRM folder before I installed:

chmod -R 755 .
chmod -R 775 cache custom modules themes data upload config_override.php

Being on a shared host I couldn’t do that with ‘sudo’.

I tried a quick repair, but that didn’t seem to do the trick (Admin > Repair > Quick Repair).
For fun, I also tried “chmod -R 777 .” in the SuiteCRM root. This fixed the problem in some areas (e.g. when sending a test mail), but not in others (e.g. inserting line items on an invoice - the labels there are still all “undefined”). Afterwards I reverted back to the original permissions.

Any ideas to what a lad can try? Keeping in mind this is a shared hosting environment.

Replying to myself here, but maybe this will help others in the future.

Somewhere between doing the repair on SuiteCRM, and changing the permissions, this issue was resolved. I’m not seeing “undefined” labels in the app anymore.

Have same issue here: see picture

We have made all sudo chmod -R 755 and R -775 for some folder and 1 file

Can someone help?

The second picture is the item with picture does not appears

Thanks!

For the “undefined” problem:

Have you tried doing (in this order):
. Set permissions
. Quick Repair and Rebuild
. Set permissions again

In addition have you checked that your permissions are set correctly in config.php?

It may also be useful to log out and back in after Quick Repair and Rebuild

With respect to the missing picture you may also have to check the .htaccess file

Thanks for your help, we have done this:
our real suitecrm
. Set permissions
. Quick Repair and Rebuild
. Set permissions again

now work great and see what we suppose to see

our test suitecrm
. Set permissions
. Quick Repair and Rebuild
. Set permissions again

always some undefined appears and I have do the same as the first suitecrm

When Quick Repair & Rebuilds finds something wrong it provides you with some fixes at the bottom of the result page.

Did you execute the fixes? (In any case I don’t think this should be the problem)

You may try to clear the browser cache for you test instance.

In addition you should check the permission settings in config.php.

1 Like

I have done this and work fine:

  • Delete all my suitecrm file.
  • Uploaded the zip file
  • extract zip file
  • 1.sudo chmod -R 755 .
    2.sudo chmod -R 775 cache custom modules themes data upload config_override.php
  • Connect to suitecrm and installed the database and all option
  • Once installed and connected in admin, go to admin/ repair / Quick Repair and Rebuild
  • When done, log out
  • Complete a second time:
    1.sudo chmod -R 755 .
    2.sudo chmod -R 775 cache custom modules themes data upload config_override.php
  • Reconnect

If always some undefiened, just do another Quick Repair

OK, I am glad you have it working now.

I perform periodically Quick Repair and Rebuild as well as the two sudo chmod commands to keep the system in good shape.

Unfortunately, for some reason, in some circumstances, permissions are not fully respected by the application, so it is better to prevent rather than to cure!

1 Like

Your right!!!

Has anyone solved this problem for Windows?

Same problem here. They show up in many locations.
One example is line items for invoices. Every label there is “undefined”.
Some dialogs and confirmation boxes have “undefined” as labels for buttons. Very dangerous - Guessing the left button is “OK” and the right button is “Cancel”.

Hey Guys

Not sure if my post went through earlier. So just in case.

I have struggled with this issue for over a month. In my case I am using a subdomain, not a subfolder.

I have performed pretty much all of the steps I could find in this forum. However, I still remained with the same issue.

I checked my htaccess out of interest as one of the steps was to rebuild it. I noticed there was a RewriteBase /suite in there. Well I am running with a subdomain so even to a linux newb like myself this didn’t make sense.

So I changed it to : RewriteBase /

And this solved ALL of my problems with this issue.

I realise this is likely linux 101. But it was a big thing for me and it worked! Hope it might help someone else :slight_smile:

Phil