Hi,
I notice that there are a lot of “undefined” in different area, what exactly is undefined in SuiteCRM?
For instance, when I create a new user, there is a “undefined” showing in the User Type? Something is wrong?
Regards
Hi,
I notice that there are a lot of “undefined” in different area, what exactly is undefined in SuiteCRM?
For instance, when I create a new user, there is a “undefined” showing in the User Type? Something is wrong?
Regards
Its because of permission issue
check this : https://suitecrm.com/forum/suitecrm-7-0-discussion/15171-how-know-if-permission-issue#51172
Hi,
Thanks for your advise but I have followed the instruction and make changes to the following permission according to https://suitecrm.com/wiki/index.php/Installation, how should I check further what still to be done about the permission?
Set the following permissions on the SuiteCRM directory(Linux):
sudo chown -R www-data:www-data .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php
Thanks.
Hi,
Is there some script that can be used to check the permission and recommend the correction? I have seen this kind of script previously when I install some software to m server some time back ago.
Hi, let’s get your permissions fixed.
ls -al
Also, go into Admin / Schedulers and tell me the instructions that you find at the bottom (about setting up cron jobs).
Is this shared hosting or do you own the server? Do you have SSH access? As root?
In order to run SuiteCRM Schedulers, edit your web server user’s crontab file with this command:
sudo crontab -e -u ultrav
… and add the following line to the crontab file:
cd /home/ultrav/public_html/uva.my/crm; php -f cron.php > /dev/null 2>&1
Hi,
================================================================
ls -al
In order to run SuiteCRM Schedulers, edit your web server user’s crontab file with this command:
sudo crontab -e -u ultrav
… and add the following line to the crontab file:
================================================================
crontab -e -u ultrav
There is no access to the shell access for shared hosting.
We also has done the following:
================================================================
Warning: Your PHP configuration must be changed to allow files of at least 6MB to be uploaded. Please modify the upload_max_filesize value in your php.ini located at: /opt/alt/php71/etc/php.ini
Hope these information will help.
So, can you do these commands starting from the SuiteCRM root directory:
sudo chown -R ultrav:ultrav .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php
Notice that some of those commands end with a space and a dot (" .").
I know you said you already did them, but your actual permissions don’t show that. They look different.
Also, in config.php put this:
'default_permissions' =>
array (
'dir_mode' => 02775
'file_mode' => 0755
'user' => 'ultrav',
'group' => 'ultrav',
),
I’m going on vacation now so I can’t really help you further, but my advice is to work until you get rid of all those “undefined”: you won’t have a positive experience in SuiteCRM unless you get permissions right. It will just break randomly.
Hi,
Have a great vacation ahead.
Just a confirmation, is the permission ‘dir_mode’ => 02775 or 0755?
We will run the command and see if it can solve the issue.
:cheer:
02775
The 2 is for the setGID bit which is essential for new directories to get created with the same permissions as the parent directory.
Hi,
My server provider has ran the command but the undefined is still maintain unchanged, do you think a fresh reinstall would solve the undefined issue? Or, is there anything else we should do before the fresh reinstalling?
Try a Quick Repair and Rebuild now.
A fresh install would give the same results, I think.
If you have many “undefineds”, it looks like permissions issues. If you have just one or two places, it could be another bug. See if you can live with it…
When you have permissions problems, you can see the permissions wrongly set. That is the case in your listing those “-rw-r–r--” are “0644”.
The files you set with 755 should show “-rwxr-xr-x”
The files you set with 775 should show “-rwxrwxr-x”
Hi,
Finally, the issue solved. I recheck the permission and found out the one of the permission was set wrongly to 755.
Thank you so much.