Results 1 to 3 of 3

Thread: unified_search_modules.php not being rebuilt

  1. #1
    serbanghita is offline Sugar Community Member
    Join Date
    Jan 2009
    Location
    Bucharest
    Posts
    42

    Post unified_search_modules.php not being rebuilt

    Hello,

    I need to know where the cache/modules/unified_search_modules.php file is being rebuilt every time is deleted, because i'm running SugarCRM PRO Version 5.2.0c (Build 5505) and if i delete the file is not being rebuilt if i do 'Quick Repair and Rebuild' or 'Clear Unified Search Cache'

    I found 2 references:
    - /modules/Administration/QuickRepairAndRebuild.php - clearSearchCache() which only unlinks the file
    - /modules/Administration/repairUniSearch.php - only unlinks the file

    Please help. Thanks.

  2. #2
    ivolator's Avatar
    ivolator is offline Sugar Community Member
    Join Date
    Sep 2006
    Location
    Dagobah
    Posts
    98

    Default Re: unified_search_modules.php not being rebuilt

    Quote Originally Posted by serbanghita View Post
    Hello,

    I need to know where the cache/modules/unified_search_modules.php file is being rebuilt every time is deleted, because i'm running SugarCRM PRO Version 5.2.0c (Build 5505) and if i delete the file is not being rebuilt if i do 'Quick Repair and Rebuild' or 'Clear Unified Search Cache'

    I found 2 references:
    - /modules/Administration/QuickRepairAndRebuild.php - clearSearchCache() which only unlinks the file
    - /modules/Administration/repairUniSearch.php - only unlinks the file

    Please help. Thanks.
    In modules/Home/UnifiedSearchAdvanced.php in the method buildCache();
    May the source be with you!

    A message from the Dark Side there is ...
    Be done in sugarcrm, no core changes should. Hmmmmmm.
    ...


    Teams For The Masses
    Video Demo of CETeams module

    SimpleCaptcha - A Captcha for SugarCRM 5.2.0x


    Password Resetting For SugarCRM CE PRO and ENT 5.2.0x

  3. #3
    serbanghita is offline Sugar Community Member
    Join Date
    Jan 2009
    Location
    Bucharest
    Posts
    42

    Post Re: unified_search_modules.php not being rebuilt

    Great, this brings me to my next problem.

    Since i deleted cache/modules/unified_search_modules.php i tried to use the unified search and search the string 'test' : http://sugarcrm.local/index.php?acti...ry_string=test

    I get the following error: Fatal error: Cannot instantiate abstract class DBHelper in D:\wamp\www\cvsroot\sugarcrm\htdocs\modules\Home\U nifiedSearchAdvanced.php on line 252

    Here is a debug_backtrace() for the error:
    Code:
    #0  UnifiedSearchAdvanced->buildCache() called at [D:\wamp\www\cvsroot\sugarcrm\htdocs\modules\Home\UnifiedSearchAdvanced.php:86]
    #1  UnifiedSearchAdvanced->search() called at [D:\wamp\www\cvsroot\sugarcrm\htdocs\modules\Home\UnifiedSearch.php:50]
    #2  require_once(D:\wamp\www\cvsroot\sugarcrm\htdocs\modules\Home\UnifiedSearch.php) called at [D:\wamp\www\cvsroot\sugarcrm\htdocs\include\MVC\View\SugarView.php:231]
    #3  SugarView->includeClassicFile(modules/Home/UnifiedSearch.php) called at [D:\wamp\www\cvsroot\sugarcrm\htdocs\include\MVC\View\views\view.classic.php:44]
    #4  ViewClassic->display() called at [D:\wamp\www\cvsroot\sugarcrm\htdocs\include\MVC\View\SugarView.php:111]
    #5  SugarView->process() called at [D:\wamp\www\cvsroot\sugarcrm\htdocs\include\MVC\Controller\SugarController.php:272]
    #6  SugarController->processView() called at [D:\wamp\www\cvsroot\sugarcrm\htdocs\include\MVC\Controller\SugarController.php:254]
    #7  SugarController->execute() called at [D:\wamp\www\cvsroot\sugarcrm\htdocs\include\MVC\SugarApplication.php:84]
    #8  SugarApplication->execute() called at [D:\wamp\www\cvsroot\sugarcrm\htdocs\index.php:35]
    

    When i manually copy an older backup file and copy it to cache/modules/unified_search_modules.php the search works.My testing machine is on Windows, so i have no permissions problem.Please help. Thanks!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2008-09-11, 07:31 PM
  2. The config.php could not be rebuilt.
    By Ericmuc in forum Help
    Replies: 2
    Last Post: 2006-02-08, 02:37 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
  •