How to apply ssl to d8 site

Hello, 

I have my D8 site. I need to apply SSL to the site. 

Step 1: settings.php file, i have this:

//Use HTTPS for Drupal
$_SERVER['HTTPS'] = 'on';
$conf['https'] = TRUE;
$base_url = 'https://www.example.com/';

Step 2: root .htaccess file:

RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Uncommented:

Update from 8.7.10 to 8.8.1 fails

Hello,

After numerous more or less flawless updates before (up to 8.7.10) I am trying to update to 8.8.1. I now get this error:

Fresh Lightning install questions. Also composer question, re: installing and updating...

A few days ago, I did a fresh install of Lightning.
I also installed a fresh Drupal 8.8.1, so I could compare.
On my Linux Manjaro desktop using Composer.
I'm a newb re:Drupal, but have been webmastering since '95 using everything from hand written HTML to boxed CMS programs similar to Drupal.

I guess my first question should be, is there a better forum to get help with Lightning?

First problem: I can't install new modules through the web interface:

under admin/reports/updates/install

I've just started developing with Drupal

Hi everyone.

I've worked with Drupal as a content editor for several years and encouraged to learn developing sites with Drupal. Of course its to late considering my age, I'm excited anyway!

It seems complex for me, I hope you help me and ask my future simple/complex questions. I wrote this to show that I don't want to be a silent user here. So Welcome me here with a friendly and smoothly conversation. 

Thanks,
Serok

How to exclude a DIV with TWIG ?

I inserted a flag in my knot. I am trying to exclude part of the flag code.

flag--like-node.html.twig :

{{ content.flag_like_node }}

I want to exclude the following div and everything in it <div class="bs-field-like-link">

node--article--full.html.twig :

Upgrade with FTP from 8.3.7 to 8.8.1 not working

Hi,

as a newbie to Drupal I'm finding it very difficult to update a site which are having problems like:

Deprecated: assert() [function.assert]: Calling assert() with a string argument is deprecated

I tried to FTP update Core and Vendor folder but that did not solve the issues. The above error is presented very time I try to login to the site, so I'm not able to upgrade inside the Drupal site.

Can someone please advise me how to upgrade using FTP

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x