Stuck in Maintenance Mode

hi,

at the weekend i put in some basic websites and set them all into maintenace mode.

It looks like ALL of them refuse to come out of maintenance mode.

The sessions table is empty

using the following URLS just results in refreshing the maintenance mode screen and NOT displaying any login prompt

 http://www.example.com/?q=user

http://www.example.com/admin

tried using different browsers / machines etc

How can I make this Drupal 8 custom module compatible with Drupal 9?

I am using a custom module to add an extra field to breadcrumbs, which was based on the accepted answer in this post on Drupal Answers.

I made a couple of changes to make the module Drupal 9-compatible, which I have marked by comments in the code below. As it stands, this modified mod ule still runs in Drupal 8.9, but it still will not work in Drupal 9.1. Can anyone spot why? 

Is it possible to move release tag in git?

Hi,

I've created a tag in git 8.x-1.0 and added a release to it. Is it possible to move this tag to the latest commit of 8.x-1.x?

I've tried:

git tag --force 8.x-1.0 <latest-commit-id>
git push --force --tags

remote: The tag 8.x-1.0 is tied to a release on Drupal.org, and cannot be relocated or deleted.
remote: error: hook declined to update refs/tags/8.x-1.0

Using Cache more efficient: How to fill Cache automatically?

Hey there,

i want to higher the speed of durpal8 by filling the cache automatically. Has anyone an idea for a strategie?

First i developed custom module by clearing cache automatically.

drupal_flush_all_caches();

The cache will be cleared by my module. But the problem is, that pagespeed is very slow for the user who starts a site first. so i want to fill the cache automatically.

How to stop images being viewed at their file location and only viewable when on a page?

Hi

Is there anyway to stop a user accessing sites/default/files/images/myimage.png

And only have the image load when it is part of the site, so cant be viewed stand alone?

Just wondering if this is a thing?

Thanks

Library, how to have higher weighting than theme?

I have a module which has created a library. I've attached that library to a library and the css files are loaded when the template is loaded.

But the css styles are being overrided with the themes css stles.

For example the css file in my library will have button { padding: 5px; }, but my theme css will have button { padding: 10px; }, and the button gets padding 10px from theme instead of 5px from library.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x