It's been a long couple of weeks...
... long...
It's been a long couple of weeks...
... long...
Full disclosure -- I'm not a PHP developer. In all honesty, I am a front end dev who works mostly in SASS/CSS with the occasional foray into JavaScript and jQuery. So, I'll admit to starting this project with my feet firmly planted into the deep end of the PHP pool; I'm not really tall enough to keep my head above water. PHP, for me, is less about swimming and more about not drowning.
A little background: one of my clients recently put together a blog.
In Sass/Css, the rules of specificity allow us to create styling at a high level and then override it with minimal effort when it comes to more specific cases. For example, I could go into my site theme and write out a general rule: color all links red.
Quick note here: I'm working with Drupal 8--although, the process documented here is more or less the same for Drupal 7 or even Drupal 9...
I was doing some routine updates to Drupal modules today when I got a rather peculiar error: git was unable to create a file called 'index.lock'. I don't know what a lock file is, or why Git even needs to create one, so it caught me by surprise.
Let me qualify that, slightly: the risk of bringing your site down grows considerably when you're not constantly keeping up with updates. If you've neglected your updates for more than a few months or so, you may be inviting the WSOD (White Screen of Death--a digital grim reaper, of sorts) the next time you run your updates. Even without months of neglect, unless you're paying attention, updates can still be deadly to your site. Here's why:
Today I'd like to look at one of the most obvious, but least thought of, reasons for why sites stop working. Plain and simple--it's billing. Drupal may be free* (with an asterisk), but even with an open source CMS, you'll likely be signing up for any number of products and services in order to run your site. Your server, your domain, your SSL Certificate--these are all fundamental in your site's operations.
It's a question I imagine a lot of small businesses run into: we need to get our business on the web--should we go with a WordPress or Drupal CMS (Content Management System), or should we go with one of those online, out-of-the-box solutions like Wix, or Duda?