BUG - Unified search blank page

Di più
21/09/2015 13:34 #3337 da 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

Si prega Accedi a partecipare alla conversazione.

Di più
25/09/2015 15:40 #3347 da 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

Si prega Accedi a partecipare alla conversazione.

Di più
28/09/2015 12:04 #3348 da 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

Si prega Accedi a partecipare alla conversazione.

Di più
29/09/2015 13:10 #3349 da raffaello.giarolo@crmvillage.it
Hi Lino,

it could be a good idea. Try to do it and repost here :)

Regards

Si prega Accedi a partecipare alla conversazione.

Di più
30/09/2015 08:57 #3350 da 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

Si prega Accedi a partecipare alla conversazione.

Tempo creazione pagina: 0.159 secondi