Drupal is up and running but how do I ...?

Admin can't login

Hello! 

Our company uses Drupal for our Intranet. My account was given administrative capabilities, however I can no longer log in for unclear reasons. I have tried for different devices to make sure it wasn't an IP issue, to no avail.
Since I am currently the only individual with admin capabilities, this is a bit of an issue.
It has been suggested that the main admin password could be reset through the server itself. However, I do not possess the Linux knowledge in order to do so. Would anyone be aware of commands that could be used to help with that? 

Natalie

#prefix and #suffix with style

I have many custom forms that I'm moving from Drupal 7.  Could anyone tell me a way to include a style attribute in the #prefix or #suffix of a form?

$form["#suffix"]="<span style='font-weight:bold'>test</span>"

Just returns <span>test</span>

I've also tried $form["#suffix"]=Markup::create("<span style='font-weight:bold'>test</span>");

No luck there either.

Full Calendar View: HTML Yearless date is mm/dd, need dd/mm (UK/AU)

Hi All

Running Drupal 10.3 with the latest version of Full Calendar View module.

The Weekly calendar option is showing the days as mm/dd (USA style), e.g. 01/08 for 8th Jan
Here in Australia we use the UK date format (dd/mm/yy) so this format can be confusing for us Australians.
Especially so when the dates are close (e.g. 2/1 for 1st February).

After upgrading to drupal-10.4.0 broken links apparance, modules

ERROR

  • Route "update.module_install" does not exist."

BEFORE

  • Drupal Version 10.3.10
  • PHP  8.1.30

AFTER

  • Drupal Version 10.4.0

UPDATE MODE

  1. Upload drupal-10.4.0.tar.gz downloaded from https://www.drupal.org/project/drupal/releases/10.4.1
  2. Execute www.my-site.com/update.php - no error
     

PROBLEMS

The links

"Install new module" link missing from Modules page D10

Hallo.

My situation is 

  • Drupal Version 10.4.0 
  • PHP 8.3.14

I've the same problem like https://www.drupal.org/forum/support/post-installation/2010-11-13/instal...

[Solved] Headless Drupal - how to confirm maintenance mode

Hi All, it seems I get HTTP status 503 when my app fetches data from Drupal and Drupal is in maintenance mode. Can I be sure that Drupal is in maintenance mode when I get HTTP status 503? How can I get the maintenance display message using fetch from the app? I tried a custom module but so far with no luck. Any help is appreciated. Regards Thomas S

Sorry - it seems I can just call my_site.com/user/login_status?_format=text to get the needed info! When I get HTTP status 503 I make one more call to confirm maintenance mode:

Pages

Subscribe with RSS Subscribe to RSS - Post installation