View Full Version : Another Fatal error message...
ByrdieRose
11-06-2017, 01:41 AM
Hello all. I've fixed various problems with "class_initializer" file, but am now having some trouble with the registry...
I keep running into an error message that looks like this:
Fatal error: Class 'Registry' not found in /home/critterr/public_html/classes/class_initializer.php on line 106
Would anyone happen to have a quick fix? I'm using FileZilla for files and Mysidia host for hosting.
Dinocanid
11-06-2017, 05:47 AM
Any errors related to class_initializer are pathing issues, which is actually located in class_path. Can you show what that file looks like?
I would actually recommend re-installing, since I've never run into those issues on mysidiahost unless I forgot something during installation. You could also PM HoF if all else fails.
ByrdieRose
11-06-2017, 06:24 PM
Here's the file. Thank you so much for trying to help out.
Dinocanid
11-06-2017, 06:38 PM
So for class_initializer, it should be restored to its default (so just replace it with a fresh one from the mysidia zip file)
If possible, could you restore the files you changed back to default (you can backup the changed ones) and show me what those other errors were? Or you can just type them up if you remember. Like I mentioned above, even though it seem strange, you shouldn't have to edit those files to fix anything, so the problem is usually elsewhere.
ByrdieRose
11-09-2017, 06:57 PM
The other error that keeps popping up is
Warning: require(../inc/config.php): failed to open stream: No such file or directory in /home/critterr/public_html/classes/class_initializer.php on line 97
Warning: require(../inc/config.php): failed to open stream: No such file or directory in /home/critterr/public_html/classes/class_initializer.php on line 97
Fatal error: require(): Failed opening required '../inc/config.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home/critterr/public_html/classes/class_initializer.php on line 97
This is why I had to edit the class_initializer file... Should I have gone about it another way? I've already restored the file back to default and it keeps coming up with this message again...
Dinocanid
11-09-2017, 08:12 PM
Did you rename "config_adopts" in the inc folder to "config"?
If you did then the problem is in class_path. Try and see if this fix works if the above isn't the issue: http://www.mysidiaadoptables.com/forum/showthread.php?t=4763
ByrdieRose
11-09-2017, 08:24 PM
I have renamed the file. I tried the above fix as well, but I still keep coming up with the same error message...
Dinocanid
11-09-2017, 08:35 PM
I think you should send a private message to Hall of Famer, since he owns mysidiahost. I use mysidiahost too, and I've never had that, so you might have to see if it's just you.
ByrdieRose
11-09-2017, 08:39 PM
Alright. Thank you for your help. Sorry we couldn't resolve it...:desudesudesu:
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.