I got
when trying to upgrade from 5.0.0i to 5.1.0b.Fatal error: Call to undefined method LoggerManager::getloggerrepository() in /srv/www/htdocs/SugarCRM/log4php/LoggerPropertyConfigurator.php on line 120
Reason were some older modules using a now outdated logging mechanism, while
the logging mechanisms received an update (BUMM).
I resolved the issue by commenting the following 5 lines in include/logging.php:
(The cleaner way would be to set $simple_log to something like true, but I did not take the timePHP Code:if (! isset($simple_log) || $simple_log == false) {
$config = new LoggerPropertyConfigurator();
$config->configure('log4php.properties');
}
to find out, how to do that).
This way I could upgrade without further problems and the module loader worked
for me, so I could upgrade the outdated modules as well.
Good luck I had a Xen VM to spare for this upgrade, so I was the only one, who invested time into this.
I hope this saves you some time
(the upgrade ruined a whole working day for me, just because the old modules wanted to have their log configured
and it was not just ZuckerReports in my case, but Queues and Rules used include/logging.php as well).
Regards,
Heiner
--
Heiner Westphal, www.verit.de


2Likes
LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks