[Vtigercrm-developers] White screen when converting as a plain user a lead assigned to a group
Uma S
uma.s at vtiger.com
Fri Oct 3 09:33:10 GMT 2014
Hi,
We are not able to reproduce this issue on current vtiger 6.1.0. Could
please share on which version of vtiger you are facing this problem?
On Mon, Sep 29, 2014 at 6:13 PM, O <orepas at yahoo.gr> wrote:
> When a user (not an admin) Converted a Lead to an opportunity that was
> assigned to a group
> and left it as is you get a white screen of death.
> Turning on error reporting you get :Fatal error: Call to undefined
> function get_group_options() in C:\Program
> Files\vtigerCRM610\apache\htdocs\vtigerCRM\include\Webservices\Utils.php on
> line 87:
>
> So no get_group_options ! I assume it was a function from an earlier
> version.
>
> A workaround I did is : I went to apache\htdocs\vtigerCRM\ include\utils\
> CommonUtils? <http://trac.vtiger.com/cgi-bin/trac.cgi/wiki/CommonUtils> .
> php where a lot of the functions
> are declared and added this chunk of code in line 429:
>
> function get_group_options() {
>
> global $log;
> $log->debug("Entering get_group_options() method ...");
> global $adb, $noof_group_rows;
> ;
> $sql = "select groupname,groupid from vtiger_groups";
> $result = $adb->pquery($sql, array());
> $noof_group_rows = $adb->num_rows($result);
> $log->debug("Exiting get_group_options method ...");
> return $result;
>
> }
>
> That fixed it.
>
> _______________________________________________
> http://www.vtiger.com/
>
--
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141003/97a84a50/attachment.html>
More information about the vtigercrm-developers
mailing list