Drupal 8

Error: MYTHEME.xxx Already Exists in Active Configuration

Received this error on "Business" theme after moving a site from standalone to multisite config in Drupal 8:

"... already exists in active configuration"

I don't think it matters which theme (or module ??) it was. Just the fact that I couldn't get a contributed theme to RE-install on my site. Even clearing cache and other tricks I've learned along the Drupal path... didn't work.

Drupal 8 - Override Base Theme CSS

Used to be that you could simply override a stylesheet by simply removing it from your .info file (Drupal 7).
Drupal 8 has an entire new set of rules for this. Stylesheets, by default, load because it's part of your base - makes sense. At least until you want to eliminate that stylesheet in favor of your own theme's styles.

In Drupal 8, you now have a concept of libraries... which basically tells Drupal which set of tools are required to build your site. Hidden deep (not really that deep) in this toolbox is a theme.info.yml directive:

libraries-override

Drupal 8 Multisite - End Your Startup Confusion

In the previous versions, you could simply create the necessary directories (site.example.com/settings.php and files/ for instance) in order to get Drupal to look for the proper config and files for the correct multisite currently requested in the browser.

In Drupal 8.2.6, there's a "required" sites.php file that must exist in order for any of this to work. In my opinion (I'm sure someone somewhere has the same opinion), this file should NOT be required... but it is. Let's look at an excerpt:

Drupal 8 Install Error - Important Links and Roles Disappear

Playing with a Drupal 8 install for the first time, I decided to just go the "grungy" route and do the minimal install. After all, I'm a DRUPAL Developer.. and I know the ins and outs of it. Not just a PHP Developer that supposedly knows everything...

Whatever, the nightmare started when I made that decision.

Subscribe to RSS - Drupal 8