[3.8.4+] Users get blank page when using search function

Re: [3.8.4+] Users get blank page when using search function

by Jeff Noel -
Number of replies: 0

BIIIIIIIIG progress today !

After my last post (below or above) where I found that there was millions of calls made to check user permissions... one of our team member though about /course/search.php.

We tried manually querying /course/search.php?q=search_term_whatever with the users experiencing timeouts and the results were instantaneous. 1.5 second load time.

Meanwhile, the page /search/index.php?q=search_term_whatever still does timeouts and takes forever to load... for users with the specific roles and permissions mentioned earlier.

I could bypass the global search terrible performance issues by running a javascript script that changes the form action in /course/search.php to /course/search.php (itself) instead of targetting /search/index.php. Results are lightning fast now.

Should I open a ticket about it ? Does that trigger any idea of what could be the issue ?
I'd still want to fix the global search performance for these people if feasible.

Jeff