Support:Unknown Error with PRO-ENT Editions

From dispage wiki

Jump to:navigation, search
INFO
Bug
dispage extension ModuleSurfer
extension release1.0.03
priority{{{priority}}}
SugarCRM version
SugarCRM editionsPRO, ENT
Server OS
PHP version
DB Engine
MySQL version
Fix version1.1.00


The following message may appear in some modules of SugarCRM PRO / ENT:

Error.png


The fix, scheduled for the next 1.0.04 release, is the following.


File: “<your_sugar_dir>/custom/include/ModuleSurfer/SugarUsers.php” - line 157:


Replace

 $pattern = \'/\s(ORDER|GROUP) BY.*/is\';  // ignores the case

with

$pattern = \'/\s(ORDER|GROUP) BY[^)]*$/is\';  // ignores the case
Navigation
dispage support
Toolbox