Field in custom module doesn't save

Hello community,

My Tech information

Sugar PRO 7.7.1.2 Onsite

PHP Version 5.6.24-0+deb8u1

  1. We create a simple custom package with a normal module inside
  2. We try to add or modifiy a field
  3. We save it
  4. Nothing field is not modify or create.

What we inspect :

  1. Directory 755 and 644 is ok
  2. File /custom/modulebuilder/packages/{package}/modules/{module}/vardefs.php was saved (timestamp change when we save), but no change inside...
  3. When we debug in sugar.log we see what we want to modify (populate with the value)
  4. When we add manually some field in vardefs.php, it's ok in module builder we saw the field.

We don't understand where is the bug. Have you some idea ?

Best regards

Fred

Parents Reply Children
  • Hi Eric,

    We have had the same problem, and it has been solved by changing the directive opcache as you say.

    By the way, what is the fact that sugarcrm module builder does not alter the changes with this directive enabled?

    Do you know the reason?

    On the other hand, opcache is functioning to everyone. Is it possible that the error is caused by one of the different settings that opcache allows?

    Does anyone know how we can find an answer to this?

    Thanks!