Re: Line 414 error shuts down site continuously. Help?
Posted 11 years 1 month ago
Hi MrT,
Are you still trying to help with our problem? I just tested it again to see if anything had changed and it has not. My test consisted of;
1- Logging in to the front end of the site USING MY SMART PHONE
2- Clicked the link to open the mobile text chat from the page it took me to.
3- I picked a room, this time was the youth bullying room
4- I posted 6 messages and all SEEMED OK
5- So I clicked the button called "Leave Chat" and the site went dead and had that same error;
Fatal error: Call to a member function isEnabled() on a non-object in /home/removech/public_html/libraries/gantry/core/gantry.class.php on line 414
6- USING MY LAPTOP I then logged in to the back end of the site using the special admin link I gave you
7- I re-installed Gantry 4.1.7 so the site would restart and logged out of the admin back-end.
8- I refreshed the page on my smart phone to see if it came back AND to see if I was still logged in.
9- I WAS still logged in so I logged out but this time the site staid live.
We REALLY need your help on this. If people log in to the site using their cell phones we want them to be able to get the help they came for. Thank you so much!
Re: Line 414 error shuts down site continuously. Help?
Posted 11 years 1 month ago
Please PM FTP logon, password and FTP URL. I need to look at you cache files.
Also, can you try disabling mijosef completely and seeing if it still does it then.
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: Line 414 error shuts down site continuously. Help?
Posted 11 years 1 month ago
OK Mark,
All info you requested was just FTPed
and as I said there, I tried a fresh test n removingchains.org using our Institutional Abuse chat room this time and with MijoSEF turned off and it still happened. So I reinstalled Gantry to re-activate the site. I noticed that MijeSEF has a brand new upgrade as of yesterday but I did not upgrade so as to not complicate the issue we are trying to fix.
Re: Line 414 error shuts down site continuously. Help?
Posted 11 years 1 month ago
Can I just confirm that when you disabled mijosef that you:
1. disabled all mijosef components in extension manager > manage
2. cleared server cache before testing again...
I will look at site using FTP creds now...
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: Line 414 error shuts down site continuously. Help?
Posted 11 years 1 month ago
Mark, as more of a novice at all of this the answer is NO. I just disabled it at on the component itself. And I did not clear any caches afterward. I am sorry I did not know to do that.I have to leave to get my wife to a pain management specialist a few hours away. I hope you can continue even though I did not do that, or that you can re-disable the Mijo extensions in the way that you said.
I am sorry I did not completely understand.
Blair
"Can I just confirm that when you disabled mijosef that you:
1. disabled all mijosef components in extension manager > manage
2. cleared server cache before testing again..."
Re: Line 414 error shuts down site continuously. Help?
Posted 11 years 1 month ago
Ok I haven't done anything with mijosef because..
I tried your site several times (on iphone5) and did not get this issue so please can you clear your browser cache and remove any site cookies too. This may actually be a problem on your PC rather than anything to do with the site. I used "welcome lobby" and "demo" rooms. I also went on desktop and did a chat session there too without any issue.
I think that maybe your phone browser has cached something that needs clearing.
I will comment that the chat extension you are using appears to have a few issues on mobile though... chat text not refreshing... inability to scroll down all the "rooms" and several other issues - but obviously that's for you to discuss with the developer of the extension...
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: Line 414 error shuts down site continuously. Help?
Posted 11 years 2 weeks ago
Mark,
This is still a problem. It had stopped, or so I thought, when I did a test from my cell phone. I had the chat manufacturers tech people look all through everything but since the error code comes from Gantry he said it is out of his hands and does not feel good about messing with Gantry code.
But the site keeps coming up crashed when I go to it at times and I get the same error every time with line 414. I was going to attach an image below but I don't see a way to do that. regardless I can't leave the site crashed just so we can see it. So I did a few things. First, here is the error to refresh your memory;
Fatal error: Call to a member function isEnabled() on a non-object in /home/removech/public_html/libraries/gantry/core/gantry.class.php on line 414
OK so I did some research before I fixed it the last time. I copied the appropriate lines in the code for those surrounding this line 414. It turns out they stay the same both during and after the error. Nothing changes at all. I have them all below. Can you or some Gantry people tell us what those lines are for? It must be something in there that needs changing so this stops, right? Those lines 409 to 416 reads as follows;
$cache = GantryCache::getInstance();
// Init all features
foreach ($this->getFeatures() as $feature) {
$feature_instance = $this->getFeature($feature);
if ($feature_instance->isEnabled() && method_exists($feature_instance, 'init')) {
$feature_instance->init();
}
I can't leave the whole site crashed so I am going to re-upload Gantry 4.1.17 again so it will be fixed again.
Thanks, Blair
Re: Line 414 error shuts down site continuously. Help?
Posted 11 years 1 week ago
Blair - I have now raised a bug ticket to hand this over to the DEVS because I have no idea what is causing this - but it should not be necessary to reinstall gantry - at worst all you should need to do is clear cache. Let's see what the DEVS say.
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: Line 414 error shuts down site continuously. Help?
Posted 11 years 1 week ago
Thank you mark. It is very frustrating as the site went down with this same error late yesterday afternoon and stayed down for roughly 12 hours until HostGator could do a site restore. Probably because my internet was having a VERY slow day, the re-upload of Gantry would not fix it this time.
Re: Line 414 error shuts down site continuously. Help?
Posted 11 years 1 week ago
This has all the hallmarks of a cache issue for me... are you sure that you are not using a CDN (like cloudflare etc- if you are disable it and clear it's cache).
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.