Hello. I’m using Linux Mint 21.1
SuiteCRM 8.3
php8.0
When I go to edit Fields in Modules I can’t save them.
For Example
Admin - Developer Tools - Studio - Contact - Fields
First Name
Help Text: I added First Name of Contact
After hitting save it’s done but when I clicked on it again the help text is blank.
Also sometimes when I click on save it goes to another field, such as Last Name
Hello, that sounds like a permissions issue.
Could you please verify that the permissions of the files corresponding to the dropdowns you are selecting are correct?
Okay, I was mainly commenting because I had a similar issue with dropdown menus in a previous instance of SuiteCRM 7. I would select one option, but when I saved it, it would automatically change to another option or jump to another field. We also had the permissions set according to the documentation, but something seemed to be causing a change in the permissions of the dropdown menus that gave me trouble.
I would recommend, if you have the possibility, to navigate to the directory of the module you are trying to modify in the Studio:
custom/modules/module
custom/modules/module/Ext
and verify that the folders and files inside (this is to check if I’m not mistaken, the vardefs file, which is the file that stores the definitions of the dropdown fields and their values) have the correct permissions.
When you make a modification in the Studio, for example, if you enable “mass update” for a field, it modifies the file and writes a line of code that would be something like $dictionary[‘module’][‘fields’][‘field’][‘massupdate’] = 1.
Sometimes, if it doesn’t have the correct permission, it won’t let you overwrite those files or it will delete them when repairing. So, without specifically telling you what the error is, I would look into that.
Yes, I think that these are not the permissions that suitecrm recommends (I understand that this is full permission on the files and directories) but it would be ok…
You should check, as @pgr says, if your web server is running with the user www-data. Once that has been checked, if it turns out to be okay, it would be helpful if you send, apart from the permissions of the directories, that of the files themselves. To see if there is something wrong
The issue with saving field changes in SuiteCRM’s Studio module on a Linux Mint 21.1 system running SuiteCRM 8.3 with PHP 8.0 is caused by an array key issue with the template file. To resolve this issue, clear your browser cache, verify file permissions, check PHP error logs, and disable PHP opcache. If these steps don’t resolve the problem, consider downgrading to PHP 8.0 or seeking assistance from the SuiteCRM community forums or support ticket. If these steps don’t work, consider downgrading to PHP 8.0 or seeking assistance from the SuiteCRM team. Best of luck with your resolution.