-
home page
-
vtenext - Official Forum
-
vtenext CE
-
BUG - Unified search blank page
BUG - Unified search blank page
Less
More
-
Posts: 56
-
Thank you received: 7
-
-
21 Sep 2015 13:34 #3337
by cpvt
Hi all, if you try to do a Unified search VTE return a blank page.
checking log there is a duplicate definition of same functions in include/utils/SearchUtils and modules/Home/Unifiedsearch.php, this functions are:
getSearchModules
getAllModulesForTag
twmporary workaround waiting for fix:
in modules/Home/Unifiedsearch.php enclose each function definition with this code
if(!function_exists(getSearchModules)){
function ......
}
and
if(!function_exists(getAllModulesForTag)){
function ....
}
Thank you
Please Log in to join the conversation.
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
25 Sep 2015 15:40 #3347
by raffaello.giarolo@crmvillage.it
Hi Lino,
try to insert into file called "config.inc.php" the following code rows:
error_reporting(E_WARNING);
ini_set('display_errors', 'On');
So , you can see errors .
Regards ,
Raffaello
Please Log in to join the conversation.
Less
More
-
Posts: 56
-
Thank you received: 7
-
-
28 Sep 2015 12:04 #3348
by cpvt
Hi Raffaello, I don't need the error reporting becouse I had run the application with php debugger and the error is due to a redeclaration of the same function that is a FATAL erorr in php (5.4.3). The VTE 1505 was an upgrade from VTE 4.5, the two functions are added to the include/utils/SearchUtils.php file (check the upgarde files) but not removed from modules/Home/Unifiedsearch.php (this file are not included into the upgrade zip so it remain the same).
So the question is can we comment the definition in modules/Home/Unifiedsearch.php becouse are not used anymore?
Thank you
Please Log in to join the conversation.
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
Less
More
-
Posts: 56
-
Thank you received: 7
-
-
30 Sep 2015 08:57 #3350
by cpvt
Hi Raffaello, I don't undestard If you are part of VTECRM developer team.
My question is directed to the developer team becouse they can say why they made this update to include/utils/SearchUtils.php.
I don't want to comment the declarations function in modules/Home/Unifiedsearch.php and hope that there is no other code that reference it.... It's for that that I wrote and explained my workaround that use the function_exists() php function.
thank you
Please Log in to join the conversation.
-
home page
-
vtenext - Official Forum
-
vtenext CE
-
BUG - Unified search blank page
Time to create page: 0.114 seconds