Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: seadhna on October 01, 2019, 12:05:42

Title: CMS search has slowed down
Post by: seadhna on October 01, 2019, 12:05:42
Hi there,
just wondering if there might be something I can do to speed up the CMS search? Recently, when I search for an article within the CMS, it takes much longer than it used to - e.g. 45 seconds to return the results. I'm wondering if this is because of the number of articles, or perhaps modules slowing it down? Or perhaps something else? We currently have 1448 articles (in three languages) and 91 modules.
Title: Re: CMS search has slowed down
Post by: seadhna on October 01, 2019, 13:48:52
Oh - this regards an installation of version: phaethon 4.6 - not 5.0.
Title: Re: CMS search has slowed down
Post by: webgift on October 01, 2019, 14:24:19

Debug is the process that will return us the reason for that delay. This is what you
need.
Title: Re: CMS search has slowed down
Post by: seadhna on October 28, 2019, 18:30:31
Hi webgift, this is what appears on the frontend if I turn on debug:

ERROR in file [...]/includes/loader.php line 168
Class "elxisAPC" could not be autoloaded by the Elxis loader
Title: Re: CMS search has slowed down
Post by: webgift on October 28, 2019, 19:06:06
APC has been deprecated as of Elxis 5.0. Which version of Elxis do
you use?
Title: Re: CMS search has slowed down
Post by: seadhna on October 28, 2019, 19:41:39
This is in Elxis 5.0.
I replaced the file includes/loader.php in case there was an issue with the file (from a fresh version) but the same error appears.
Line 168 of the file in question is: trigger_error('Class "'.$class.'" could not be autoloaded by the Elxis loader', E_USER_ERROR);

Lines 148 and 149 are commented:
//require(ELXIS_PATH.'/includes/libraries/elxis/apc.class.php');//deprecated as of Elxis 5.0
//elxisAPC::init();
Title: Re: CMS search has slowed down
Post by: datahell on October 28, 2019, 20:50:11
Most probably you use a third party extension which tries to load APC. If you performed an update rom 4.x to 5.x then maybe some extension (eg module) is not compatible to Elxis 5.x) and tries to load APC. First make sure all your extensions are up-to-date. If you need more help copy-paste here the exact URL that is slow at your site, it might helps.
Title: Re: CMS search has slowed down
Post by: seadhna on October 28, 2019, 20:59:31
Hi datahell,
I will check the modules now. But just to clarify one point - it is not anything on the front-end that is slow - it is the search engine inside the CMS. When I am logged in to the CMS and search for an article in order to edit it - this now takes between 45 - 60 seconds. It used to be instant.
Title: Re: CMS search has slowed down
Post by: seadhna on October 28, 2019, 21:03:06
Also, the issue started occurring in Elxis 4.6. I upgraded the CMS hoping this would solve the problem but the problem is still there.
Title: Re: CMS search has slowed down
Post by: seadhna on October 28, 2019, 21:15:01
Installed version:    Elxis 5.0 Stable [Uranus] rev2299
No extensions need update.
However, I have this extension installed: Professional Form Manager. This is coloured yellow.
Purchased from here: https://www.elxis.net/edc/communication/96.html
I don't need this anymore. However, I can't see how to uninstall it. If I click on anything related to this component, I just get a white screen.
"Professional Form Manager" is its own item in the CMS sidebar.
Is there a way to force-uninstall this component?
e.g. Can I just delete that directory via FTP?
Title: Re: CMS search has slowed down
Post by: seadhna on October 28, 2019, 21:17:27
Ah - I figured out how to uninstall it. It's gone now but the CMS search engine is still slow :-(
Title: Re: CMS search has slowed down
Post by: datahell on October 29, 2019, 06:47:50
Send of you wish a personal message with admin login and ftp to check it. Maybe access to phpmyadmin too.