Hello,
I have Sugar 5.0.0.e installed SecuritySuite and Process Manager and I am getting the following error when I try to create contacts, leads, accounts ...
Fatal error: Call to undefined method MysqliManager::truncate() in /var/www/.../data/SugarBean.php on line 1462
I have gone into the code and had a look. It seems to be testing a field for integer but I at a loss beyond that.
//added check for ints because sql-server does not like casting varchar with a decimal value
//into an int.
if(isset($value['type']) and $value['type']=='int') {
$query .= $field."=".$this->db->quote($this->$field);
} elseif ( isset($value['len']) ) {
$query .= $field."='".$this->db->quote($this->db->truncate(from_html($this->$field),$value['len']))."'";
} else {
$query .= $field."='".$this->db->quote($this->$field)."'";
}
I have tried repairing repairs and looked through the forums for sugar and the added modules without luck.
Help!
Many thanks in advance for any assistance.
Regards
Brenton![]()


LinkBack URL
About LinkBacks




Reply With Quote
Bookmarks