JError was deprecated since 2017 (Joomla 3.7). Joomla error handling relies on throwing Exceptions. Getting an error about this class missing means that one of your extensions has not gotten the memo the past 5 years. Turn on Debug Site in Global Configuration. It will print a debug trace. You will see which extension it comes from. My guess is the template or a system plugin which has not been updated in ages. Since you can't access the Global Configuration you can edit the configuration.php file and set public $debug = true (right now it should be reading false).
> Then when I installed an extension from the web (Phoca Gallery) it produced another error: 404 Component not found. I don't know what I may have done wrong... but I obviously did something.
Fix the first problem before trying to install anything new. If it's a plugin causing the problem it is very likely it messes up the installation, causing it to die before Joomla gets the chance to record the installed extensions in the #__extensions table. Either that, or you accidentally disabled the Phone Gallery component in the System, Manage, Extensions page.
> Thanks for your encouragement to stick with it and persevere.
I am an engineer (Mechanical Engineer, more specifically) by formal education. We are used to things being broken and looking desperate. Our job is to figure out why and then how to put the project back on track. A certain mix of negative (“thinks will inevitably be broken”) and positive (“we can figure things out if we think hard about it”) attitude comes with that profession.
In the end of the day, you can always take a backup, start uninstalling extensions to end up with a mostly bare site and work your way up from there. If you mess up, well, you are in a much better place than me when I was handling construction projects in Athens in the early 00s. You can at least restore from a backup ;)
> I've been about ready to give up.
Never give up. It's computers. You can always beat them into submission. You have backups, nothing is lost.
> I like your wife's website! What template does she use?
She builds her own templates from scratch. She has a process. She starts with wireframes, sets up the overrides with the markup and then works her way through the CSS. She goes “outwards in”, starting by styling the common display elements (header, footer, navigation etc) then one page at a time.
I am nowhere near as good as her with CSS. I started this site's template by creating a child template of Cassiopeia and working my way through each page's design using Bootstrap 5 classes and a little bit of custom CSS for colours and fonts. So, even a decidedly non-designer like me can make a custom template. It's a matter of willpower and, of course, whether it makes practical sense. If you have the time, after you get your site up and running, you can give it a go. Depending on the use case it may even make more sense than using a page builder component.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!