Results 1 to 3 of 3

Thread: No data saving in Opportunities

  1. #1
    Deland01 is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    66

    Default No data saving in Opportunities

    Can anyone shed any light on why all my custom fields don't work in the opportunities module?

    I've added all different types of custom fields to just about every module in sugar but for some reason none of the data saves in any I've added into the opportunities section.

    The custom fields are there in myphpadmin but they never write any data into the opportunities_cstm table.

    Any suggestions?
    Sugar Version - 4.5.0h
    Sugar Edition - SugarSuite
    OS - Win 2003 Server Std
    PHP Version - 5.2.0
    Database - MySQL Server 5
    Web Server - Apache 2.0.59

  2. #2
    Deland01 is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    66

    Default Re: No data saving in Opportunities

    Ok so I installed a fresh sugar 4.5.0h and made the same changes & it works fine so I was thinking I should just be able to copy or at least compare the php files which look after the Opportunities module & all the custome settings.

    Can anyone point me in the right direction as to where the files for the opportunities module might be kept?

    Ok so Im guessing they might be in:

    \modules\Opportunities

    but are there any hidden anywhere else?



    .
    Sugar Version - 4.5.0h
    Sugar Edition - SugarSuite
    OS - Win 2003 Server Std
    PHP Version - 5.2.0
    Database - MySQL Server 5
    Web Server - Apache 2.0.59

  3. #3
    Deland01 is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    66

    Default Re: No data saving in Opportunities

    After a load of testing I figured out a fix:



    1. Set up a brand new install of Sugar 4.5.0h into another folder within my htdocs folder (web root folder).

    2. I now have my live version of sugar, a development system & a brand new clean install.

    3. Using My SQL Administrator I exported the following tables from the new install of sugar:

    > opportunities_audit
    > opportunities_contacts
    > opportunities_cstm

    4. I then imported these tables into my dev version.

    5. Ran a backup of the dev version using My SQL Admin before any data was added.

    5. Re-added all the custom fields into the dev version.

    6. Tested the new fields worked.

    7. I then imported the tried and tested opportunities tables listed above into my live sugar site.

    NOTE: Make sure you only export & import the database structure if you have data in your live site or it will be overwritten with nothing.



    .
    Sugar Version - 4.5.0h
    Sugar Edition - SugarSuite
    OS - Win 2003 Server Std
    PHP Version - 5.2.0
    Database - MySQL Server 5
    Web Server - Apache 2.0.59

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. Odd data showing up in Opportunities
    By etabs in forum Help
    Replies: 5
    Last Post: 2007-04-30, 04:00 AM
  3. most data not saving after big field change
    By CNS Planet in forum Help
    Replies: 0
    Last Post: 2007-03-22, 05:08 PM
  4. Custom Fields not saving input data
    By mickster in forum Help
    Replies: 3
    Last Post: 2007-03-08, 01:50 PM
  5. Replies: 0
    Last Post: 2005-07-25, 04:47 AM

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
  •