non existing field in module: Accounts

Hi All,

I just joined a team using Sugarcrm (SugarPro version 10) and we customize it a lot.

I am new to Sugarcrm and recently I got a Error message: Non existing field: xxxx in module: Accounts. in my local development.

This field should be existed before and we are still using that field in production.

I tried to create the missing field in the database table then run Quick Repair and Rebuild but not luck.

I have no idea what should I do next. I would appreciate any ideas.

Cheers,

Manson

Parents
  • I can’t find the field in this file - cache/modules/Accounts/Accountvardefs.php

    In the database accounts_cstm table - I can’t find the field (and I try to create myself, Seem I shouldn't)

    fields_meta_data table - I can’t find the the record

    But I can find it in this file custom/Extension/modules/Accounts/Ext/Vardefs/.

    custom/modules/Accounts/clients/base/views/list/list.php

    I can find the field,

    8 =>
    
    array (
    
    'name' => 'XXX_c',
    
    'label' => 'LBL_XXX_C',
    
    'enabled' => true,
    
    'default' => true,
    
    ),

    You should never have to manually create anything in the database – NOTED

    after all you wouldn't even have access to the database on the cloud – We are still using local database

    The problem solved

    copy all data from fields_meta_data table to my local database, then run Quick Repair and Rebuild

    Thank you guys for the answer so much details, I learn a lot.

Reply
  • I can’t find the field in this file - cache/modules/Accounts/Accountvardefs.php

    In the database accounts_cstm table - I can’t find the field (and I try to create myself, Seem I shouldn't)

    fields_meta_data table - I can’t find the the record

    But I can find it in this file custom/Extension/modules/Accounts/Ext/Vardefs/.

    custom/modules/Accounts/clients/base/views/list/list.php

    I can find the field,

    8 =>
    
    array (
    
    'name' => 'XXX_c',
    
    'label' => 'LBL_XXX_C',
    
    'enabled' => true,
    
    'default' => true,
    
    ),

    You should never have to manually create anything in the database – NOTED

    after all you wouldn't even have access to the database on the cloud – We are still using local database

    The problem solved

    copy all data from fields_meta_data table to my local database, then run Quick Repair and Rebuild

    Thank you guys for the answer so much details, I learn a lot.

Children
No Data