Results 1 to 7 of 7

Thread: Custom Fields all gone!

  1. #1
    rjuari is offline Member
    Join Date
    Sep 2007
    Posts
    6

    Default Custom Fields all gone!

    Hello all,

    Here is the story so far:
    First there was a problem with our CRM sub-panels, it's showing up a very long lines of MySQL error.
    After spending a couple of minutes reading the thread on the forum, someone suggested that it might be php version problem (We are still running php version 4).

    A few minutes after that I got an email from my boss saying that he could not login. (there is this red line saying "Please replace the sugarCRM logo")
    This happened because he installed a module, SugarCubed: Configurator Upgrades version 4.5.0f to be exact.
    I was able to solve this problem by replacing the current index.php with the original index.php from the installation package.
    However, when we login we didn't see any custom fields that my boss created before.
    So... I replaced back the index.php thinking that this may cause the disappearing fields problem.

    After a lot of stress, I finally know why the login error happened (for my case anyway).
    Apparently this line : "© 2004-2007 SugarCRM Inc. All Rights Reserved." was changed to "© 2004-2006 SugarCRM Inc. All Rights Reserved." (notice the 2007 and 2006). I suspected this was caused by the configurator upgrades module, since I think I saw someone posted in the forum that the configurator module modified the index.php and it was created in 2006.

    Now, does that module also modify any custom fields or any customasation by any chance?
    My boss told me that before he installed the configurator module, he did a back up through Administrator > System > backups. Is that supposed to back up the custom fields, the databases as well? what's the purpose of that backup? How do I restore the file created from that backup method? Is the custom field stored in the database? where is it stored?

    Is there any way I can restore the custom fields?

    Sorry for asking a lot of questions. Any help would be much appreciated.

    Thanks

    EDIT:
    Sorry, apparently the custom fields ARE THERE!!! BUT...the one that's missing are the custom values (for both custom drop down and default drop down).
    Last edited by rjuari; 2007-09-26 at 06:15 PM.

  2. #2
    sacramentojoe is offline Sugar Community Member
    Join Date
    Nov 2005
    Posts
    447

    Default Re: Custom Fields all gone!

    Can you export them and re-import them?
    Even though they might not show up, they are probably still in the table. (fields_meta_data)

  3. #3
    rjuari is offline Member
    Join Date
    Sep 2007
    Posts
    6

    Default Re: Custom Fields all gone!

    I've tried that too actually.
    And it still doesn't show the custom fields.
    Do you know where this table is stored?

  4. #4
    rjuari is offline Member
    Join Date
    Sep 2007
    Posts
    6

    Default Re: Custom Fields all gone!

    Anyone know if there is a way to repopulate the custom values of the drop down ?

  5. #5
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Custom Fields all gone!

    The selection items for those drop downs are in custom/include/language/en_us.lang.php.

    In that backup he was asked for a directory and a file name, the backup is whereever he specified. It is simply a zip file of all the files. You could simply copy the custom directory from there.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  6. #6
    rjuari is offline Member
    Join Date
    Sep 2007
    Posts
    6

    Default Re: Custom Fields all gone!

    THANKS!!!! It's solved my problem.
    I wouldn't have thought it will be stored in /include/language/en_us.lang.php.

    Thanks again

  7. #7
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Custom Fields all gone!

    Quote Originally Posted by rjuari
    THANKS!!!! It's solved my problem.
    I wouldn't have thought it will be stored in /include/language/en_us.lang.php.

    Thanks again
    No problem, glad it worked out for you. You really need to consider a real backup option if you don't already have one in place. The backup option in SugarCRM will not protect you in all cases. It's a quick and simple backup for the SugarCRM files only, you need to backup the database and the OS files as well.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Saving and updating custom fields data
    By jones70 in forum Developer Help
    Replies: 2
    Last Post: 2011-10-05, 06:10 AM
  2. upgraded to 4.5.1e, received "Metadata for table tracker does not exist"
    By sfgeorge in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-09-03, 02:24 PM
  3. Replies: 0
    Last Post: 2006-12-20, 11:39 PM
  4. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM
  5. Replies: 7
    Last Post: 2006-06-06, 07:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •