Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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:
I have installed MAMP 7.2 and Drupal 11.1 on my Mac mini (OS 15).
I Followed the instructions from the MAMP website (straight installation, no modification of htaccess, etc.).
I had to uncheck js aggregation (?) otherwise the theme would not load.
I did not create any new content type; I only used the available Article and the default image styles.
I did create a file to store the images (created by Drupal with the upload of the first image).
I am trying to create a link to edit the current page, if the user is a content editor (as the bootstrap theme has removed the page "menu" bar that had view/edit/preview/revisions on it)
I have tokens and token_filter installed.
I added a new content block with [node:id] as a test
inserted the block in the layout
the node id is not showing.
[site:name] does work, however the node one doesn't.