I followed the Drupal 8 User Guide, creating the Anytown Farmers Market market scenario described here. I was halfway creating the site. Then I clicked on the "Logout" field and the entire site became a single page of TEXT ONLY:
The site is installed locally. I use XAMPP. I did not put the project in the XAMPP hdocs folder. Instead, I have:
D: WebDev XAMPP
D: WebDev Work Drupal FarmersMarket
Because of this, I configured virtual hosts in XAMPP apache conf extra httpd-vhosts.conf:
# This virtual host at the top of the list is also the default for *: 80.
ServerName localhost
DocumentRoot "D: / WebDev / XAMPP / htdocs"
Server_name drupal.farmersMarket
DocumentRoot "D: / WebDev / Work / Drupal / FarmersMarket / web"
Index of FollowSymLinks options
AllowOverride All
Order allow, refuse
Allow everyone
Require all granted
and in C: Windows System32 drivers etc hosts:
127.0.0.1 localhost
127.0.0.1 drupal.farmersMarket #farmersMarket
Finally, in
D: WebDev Work Drupal FarmersMarket Web Sites default settings.php
I have included:
$ parameters['trusted_host_patterns'] = table (
& # 39; ^ localhost $ & # 39;
& # 39; ^ drupal.farmersMarket $ & # 39;
)
None of that seemed like a problem until I clicked on "Logout". While I was working on the site, his URL read http: //drupal.farmersmarket/. I have tried various ways to reconnect to the site as an administrator, for example: http: //drupal.farmersmarket/? Q = admin / and http: //drupal.farmersmarket/user/login, to no avail.
Thanks in advance to anyone who can help me get my work back.