AnsweredAssumed Answered

Cannot rebuild config file on 7.5.0.1

Question asked by KarlMetum KarlMetum on Mar 6, 2015
Latest reply on Mar 9, 2015 by sugar.dennis
On Version 7.5.0.1
When running "Recreate config file" I get the following error message:

PHP Fatal error: Call to undefined method ModuleInstaller::handlePortalConfig() in /var/www/sugarcrm7/modules/Administration/RebuildConfig.php on line 51, referer: 
https://xxxxxxxxxx/index.php?module=Administration&action=RebuildConfig

I have looked inside ModuleInstaller and it is correct that there is no "handleBaseConfig()" function defined inside of it. 

I tried contacting the support but they gave me this wierd answer:
could you check your php setting, whether you put the right path in the include_path setting. In you case, it should be /var/www/sugarcrm7/ then the sugar shoould find the right file 'ModuleInstall/ModuleInstaller.php' and load the function. 


Why should I have to put my entire sugarcrm folder in the include_path? This should be handled automatically by sugar's autoloader.

Is anyone else able to repair the config file through Admin > Repair > Rebuild config file?

Outcomes