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
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.
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
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"?
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.
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
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!
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
Most clear and articulate explanation of how to handle this error-thanks!
Heroic demonstration.
Thanks from France
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.
short and very well explained, keep up the good work.
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
Helped me a lot. Thank you!
Great thank you. You saved me a lot of time!
Thanks, I resolved my issue
how would these work if say you were running this on a raspberry pi4 without a home domain
Thank you very much, it work for me
Thank you. Your video was very helpful.
this doesn't work for me.
$settings['trusted_host_patterns'] = array(
'^drupal8\.thunderboltdesign\.be$',
);
What do I wrong?
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"?
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.
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
thank you very much! the www. was not working for me. saved an hour of troubleshooting!
Your welcome least managed to trouble shoot it and eventually found the resolve needed to fix to work on all url formats :)
Thank you so much you are the MAN!!!
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...
Thanks, this was a big help
Great info, Thanks!!
You can configure it to use both with www and without:
'^example\.com$',
'^www\.example\.com$',
Thank you for this video
Thanks
Thanks, bro!
Perfect, thnxs
That did it! Thanks!
nice work
Tx brother
got it. Thanks :)
Thank you very much! although the following is what worked for me:
$settings['trusted_host_patterns'] = array(
'^example\.com$',);
This worked for me:
'^example\.com$',
'^www\.example\.com$',
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!
Thanks