Hello,
I'm trying out Sugar, with an installation of 4.5.1a (patch installed) running on RedHat 9 / Apache 1.3 / PHP 5.2. When I upload a document, it works OK, but when then try to download a document, I invariably get this error:
Fatal error: Call to a member function getLocaleFormattedName() on a non-object in /home/cehelp/public_html/sugar/modules/Users/User.php on line 645
Here's the method in User in which the error occurs:
/**
* Generate the name field from the first_name and last_name fields.
*/
function _create_proper_name_field() {
global $locale;
$full_name = $locale->getLocaleFormattedName($this->first_name, $this->last_name);
$this->name = $full_name;
$this->full_name = $full_name;
}
If I modify that method to just concatenate first_name & last_name, the errors get yet more interesting.
So, anyone have a suggestion on how to fix this? Document management is one of the main features we're interested in. Thanks in advance.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks