Gauravk Posted June 12, 2020 Posted June 12, 2020 Our website is down for few hours and upon cpanel investigation they have found that site software resulted in errors. Has anyone of you ever received this with IPB core or redis? Any clue how to immediately fix it to bring back the site? Thanks in advance. _________________________________________ Hello again,Thank you for your patience while I reviewed your support request. Upon review of your reported issue, this problem does not appear to be related to or caused by cPanel or by the basic configuration of the cPanel-bundled software.The particular error you are receiving is one born from an issue with the site's actual coding, rather than a server-generated error. I initially found that the site was attempting to load a PHP module that was not presently installed on the server. However, this did not fix the site but did remove one of the errors.With that being said, I took some time to compile some information and resources for you regarding your site's errors and found some log information that may be able to point you in the right direction: [08:28:52 server root@93497801 /home/carnity/public_html/carnity.com]cPs# tail -n5 error_log [12-Jun-2020 04:28:48 UTC] PHP Fatal error: Class 'IPS\Theme\Cache\class_core_front_global' not found in /home/carnity/public_html/carnity.com/system/Theme/Theme.php(894) : eval()'d code on line 11 [12-Jun-2020 04:28:50 UTC] PHP Warning: Module 'redis' already loaded in Unknown on line 0 [12-Jun-2020 04:28:50 UTC] PHP Fatal error: Class 'IPS\Theme\Cache\class_core_front_global' not found in /home/carnity/public_html/carnity.com/system/Theme/Theme.php(894) : eval()'d code on line 11 [12-Jun-2020 04:28:51 UTC] PHP Warning: Module 'redis' already loaded in Unknown on line 0 [12-Jun-2020 04:28:51 UTC] PHP Fatal error: Class 'IPS\Theme\Cache\class_core_front_profile' not found in /home/carnity/public_html/carnity.com/system/Theme/Theme.php(894) : eval()'d code on line 5 You or your developer will want to review the coding and ensure that it properly works for the PHP version that you have selected. Please don't hesitate to let us know if you're facing any issues with the cPanel installation on this server, and I hope you have a great rest of your day!Sincerely, --
Daniel F Posted June 12, 2020 Posted June 12, 2020 [12-Jun-2020 04:28:51 UTC] PHP Warning: Module 'redis' already loaded in Unknown on line 0 Seems to be an issue in your php conf where the module is loaded twice? That's something your webhost should be able to address
Gauravk Posted June 12, 2020 Author Posted June 12, 2020 Just now, Daniel F said: [12-Jun-2020 04:28:51 UTC] PHP Warning: Module 'redis' already loaded in Unknown on line 0 Seems to be an issue in your php conf where the module is loaded twice? Thanks Daniel, please help in advising how to fix this?
Gauravk Posted June 12, 2020 Author Posted June 12, 2020 Remove redis cache from backend and updated constant.php still seeing cache message. Should I fix the source file and db...? Ticket #49866 please help Please help
Gauravk Posted June 12, 2020 Author Posted June 12, 2020 I have replaced those above files, fix the DB, disable all apps and plugin and still site is not reaching. Cache is fully disabled, tried filesystem (no redis) and db (no cache) but still site is not reaching. Hoping IPB support ticket will do some miracle now.
Sonya* Posted June 12, 2020 Posted June 12, 2020 Have you tried to upload this file and see whether there are any configuration errors?
Gauravk Posted June 12, 2020 Author Posted June 12, 2020 Support is there to rescue now. Started seeing new error on front end now Fatal error: Class 'IPS\Theme\Cache\class_core_front_global' not found in /home/carnity/public_html/carnity.com/system/Theme/Theme.php(894) : eval()'d code on line 11
DawPi Posted June 12, 2020 Posted June 12, 2020 Do you have access to ACP? If yes disable (if enabled) this option: Enable template disk caching? (it's under Advanced Configuration) G17 Media 1
Gauravk Posted June 12, 2020 Author Posted June 12, 2020 3 minutes ago, DawPi said: Do you have access to ACP? If yes disable (if enabled) this option: Enable template disk caching? (it's under Advanced Configuration) MANY THANKS DAWPI This option worked and brought our site back. GOD BLESS YOU. ITS A SHAME HOW IPB SUPPORT "TRAINED" TO POINT FINGERS ON EACH OTHER THAN HELPING ITS TROUBLED CUSTOMERS. I got a nasty email from Marc, that this theme is customized and hence we cannot support. Where as we are using 100% stock them and not a third party theme, truly dissapointing. If @DawPi frequent contributor can figure out the cause from these screen grabs, then support should have done too by having whole backend access. G17 Media, AlexJ, VaBeach_Guy and 1 other 3 1
DawPi Posted June 12, 2020 Posted June 12, 2020 9 minutes ago, Gauravk said: @DawPi frequent contributor It's my job by years. 😛 Gauravk 1
Gauravk Posted June 12, 2020 Author Posted June 12, 2020 Can you please explain too, what must have happen and how all of sudden site went down after a server restart last night? We have not done any code changes, custom app or plugin recently. We have just installed drip campaign email app two weeks back and nothing before that in the last couple of months. And what is this template disk caching doing? And why cPanel support pointed on redis misconfiguration? Why all cache were showing errors all of sudden?
DawPi Posted June 12, 2020 Posted June 12, 2020 I don't have enough informations to predict what might happen.
Makoto Posted June 12, 2020 Posted June 12, 2020 I've had this happen before. Template caching can get bugged like that sometimes. Not sure exactly what causes it but maybe restarting the server interrupted IPS in the middle of generating new template caches, and there's currently no mechanism to detect when this happens and repair it. G17 Media, Gauravk and Sonya* 2 1
AlexJ Posted June 16, 2020 Posted June 16, 2020 On 6/12/2020 at 4:08 AM, Makoto said: I've had this happen before. Template caching can get bugged like that sometimes. Not sure exactly what causes it but maybe restarting the server interrupted IPS in the middle of generating new template caches, and there's currently no mechanism to detect when this happens and repair it. @DawPi - How do you clear redis cache? Moved to new machine and site has been down.
DawPi Posted June 16, 2020 Posted June 16, 2020 Just now, AlexJ said: How do you clear redis cache? Once I used Support tool in the ACP to check everything the issue was gone too. 😇
AlexJ Posted June 16, 2020 Posted June 16, 2020 Just now, DawPi said: Once I used Support tool in the ACP to check everything the issue was gone too. 😇 Can't access ACP. 😞 Any other option?
DawPi Posted June 16, 2020 Posted June 16, 2020 It's from an init.php file: // Recovery mode // Will turn off third party customisations if one is causing an issue that prevents // accessing the AdminCP. See https://remoteservices.invisionpower.com/docs/recovery_mode 'RECOVERY_MODE' => FALSE, Add it of course: \define( 'RECOVERY_MODE', true );
Recommended Posts