Results 1 to 4 of 4

Thread: Contacts Search Form

  1. #1
    wjohnson is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    242

    Default Contacts Search Form

    After upgrading to Sugar OpenSourch 4.5.0e the search form for contacts no longer operates properly (though the accounts search does). When we try a basic search it just brings us back to the same screen. It refreshes so it seems as if it is searching for and returning all contacts. The advance search does work but the clear button does not work. Also of note is that there are now search and clear buttons on the right side of the search box as well as underneath it. The clear button on the right does nothing while the clear button underneath returns the following error:

    Warning: return_module_language(modules/undefined/language/en_us.lang.php): failed to open stream: No such file or directory in D:\sugarcrm\include\utils.php on line 845

    Warning: return_module_language(): Failed opening 'modules/undefined/language/en_us.lang.php' for inclusion (include_path='.;c:\php\includes') in D:\sugarcrm\include\utils.php on line 845

    Warning: main(modules/undefined/Forms.php): failed to open stream: No such file or directory in D:\sugarcrm\themes\Sugar\header.php on line 780

    Fatal error: main(): Failed opening required 'modules/undefined/Forms.php' (include_path='.;c:\php\includes') in D:\sugarcrm\themes\Sugar\header.php on line 780

    We did add a custom field to the advanced search in the version that we upgraded from.

    I'm hoping that maybe I could just overwrite a few files and then rebuild the advanced search but I don't know how to go about that. Any ideas?

  2. #2
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Contacts Search Form

    Before you do anything drastic try the rebuild tools in the admin -> repair. If that fails you could overwrite the files but you may loose something. If you do that make sure you do not overwrite config.php or config_override.php. You may also loose some cutomizations be very carefull about overwriting anything.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  3. #3
    wjohnson is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    242

    Default Re: Contacts Search Form

    The repairs did not work. Any idea on which file houses the contacts search form? I don't mind redoing it as it is only adding one field.

    Thanks for your help.

  4. #4
    wjohnson is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    242

    Default Re: Contacts Search Form

    What I have done so far to fix this is to copy over a fresh Modules/Contacts/SearchForm.html from the full install download. That got rid of the extra search and clear buttons on the right of the search box. However when I went into the studio to readd the custom field to the advanced search I saw that it was still there. After searching through all of the code for the name of the field I found a few places where it was still referenced. One of those was custom/working/modules/Contacts/SearchForm.html. After deleting that I seemed to be at the default contact search box and was able to add the custom field to advanced search.

    I still don't think everything is perfect because in IE some of the search boxes are yellow while some are white and I don't really understand why.

Thread Information

Users Browsing this Thread

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

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
  •