How to Fix the Trusted Host Settings Error After Installing Drupal 8

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 38

  • @jonedmundvikan1141
    @jonedmundvikan1141 4 роки тому

    I dont comment often on the videos here, but yours was so clear and easy to follow, and the best thing it solved my problem. Hope you keep up the good work by making more easy to follow videos for Drupal

  • @MarcoMartinezLanzarin
    @MarcoMartinezLanzarin 8 років тому

    Most clear and articulate explanation of how to handle this error-thanks!

  • @paganaye
    @paganaye 4 роки тому

    Heroic demonstration.
    Thanks from France

  • @DavidKHill
    @DavidKHill 6 років тому

    This resolved my issue!!! Thanks! I use eclipse remote system explorer. For some odd reason I didn't have to change the permission on the default directory.

  • @partinijeton
    @partinijeton 6 років тому

    short and very well explained, keep up the good work.

  • @rarespetrusamartean5433
    @rarespetrusamartean5433 2 роки тому

    for those hosting locally, simply enter " '^localhost$' " without the quotation marks and spaces instead of what they had in the video and you are good to go

  • @zemtata
    @zemtata 3 роки тому

    Helped me a lot. Thank you!

  • @richardwestcott2458
    @richardwestcott2458 4 роки тому

    Great thank you. You saved me a lot of time!

  • @wmoreno3370
    @wmoreno3370 3 роки тому

    Thanks, I resolved my issue

  • @jonny777bike
    @jonny777bike 3 роки тому

    how would these work if say you were running this on a raspberry pi4 without a home domain

  • @bobbyryandra
    @bobbyryandra 3 роки тому

    Thank you very much, it work for me

  • @ericnicholls3955
    @ericnicholls3955 7 років тому

    Thank you. Your video was very helpful.

  • @KoenJoos
    @KoenJoos 5 років тому

    this doesn't work for me.
    $settings['trusted_host_patterns'] = array(
    '^drupal8\.thunderboltdesign\.be$',
    );
    What do I wrong?

  • @josecastro4626
    @josecastro4626 4 роки тому

    thanks a lot problem resolved!

  • @ΝίκοςΑλμπανόπουλος

    This was great, I fixed this error message and many thanks to you.
    Q: After I made the settings.php code change, I went back to change permissions and saw that permissions were already automatically back to r-x, r-x, r-x. Is it actually done by the editors... these days, after you click "save"?

    • @DrupalTutor
      @DrupalTutor  7 років тому

      It's done by Drupal when you reload the page. Drupal checks to make sure settings.php is set to read-only, unless you have disabled that feature, which is common during development.

  • @dailycrypto
    @dailycrypto 8 років тому +1

    Just a heads up might want to change as it only workd for www. use
    $settings['trusted_host_patterns'] = array(
    '^example\.com$',
    '^.+\.example\.com$',
    will use all types address like www. and so on

    • @RogerFleenor
      @RogerFleenor 7 років тому

      thank you very much! the www. was not working for me. saved an hour of troubleshooting!

    • @dailycrypto
      @dailycrypto 7 років тому

      Your welcome least managed to trouble shoot it and eventually found the resolve needed to fix to work on all url formats :)

  • @mikegrant9531
    @mikegrant9531 7 років тому

    Thank you so much you are the MAN!!!

  • @nikospala
    @nikospala 5 років тому

    So, if our website is for example, www.test.gr, we replace everything in www.example.com accordingly? If so, it's not working for me...

  • @KieronBrewer
    @KieronBrewer 6 років тому

    Thanks, this was a big help

  • @DanaLeeGibson
    @DanaLeeGibson 8 років тому

    Great info, Thanks!!

  • @MightyTheWolf
    @MightyTheWolf 6 років тому +1

    You can configure it to use both with www and without:
    '^example\.com$',
    '^www\.example\.com$',

  • @OctavianMagaleas
    @OctavianMagaleas 7 років тому

    Thank you for this video

  • @giagiakaka
    @giagiakaka 3 роки тому

    Thanks

  • @Goldman5800
    @Goldman5800 5 років тому

    Thanks, bro!

  • @mvl718
    @mvl718 6 років тому

    Perfect, thnxs

  • @MrHaupt
    @MrHaupt 5 років тому

    That did it! Thanks!

  • @WakgariBaja
    @WakgariBaja 7 років тому

    nice work

  • @onionstuff
    @onionstuff 7 років тому

    Tx brother

  • @mustafa.m544
    @mustafa.m544 7 років тому

    got it. Thanks :)

  • @RogerFleenor
    @RogerFleenor 7 років тому +1

    Thank you very much! although the following is what worked for me:
    $settings['trusted_host_patterns'] = array(
    '^example\.com$',);

    • @MightyTheWolf
      @MightyTheWolf 6 років тому

      This worked for me:
      '^example\.com$',
      '^www\.example\.com$',

  • @pikadroo
    @pikadroo 5 років тому

    2019 and this simply does not work. I can't get this to stop throwing an error. it's so stupid. Nothing I put in there makes a difference.
    UPDATE: NOBODY NO PLACE EVER SAID PUT THIS AT THE BOTTOM OF THE FILE EXCEPT HERE! THANKS DRUPAL FOR THE GARBAGE DOCUMENTATION!

  • @JaydenLawson
    @JaydenLawson 5 років тому

    Thanks