- Issue created by @wmfinck
You could export the configurations and compare them.
Which site is showing the problem? I guess it is the Plesk site based on how this is written.
- πΊπΈUnited States wmfinck
Thank you for your reply.
Yes, the Plesk based site has the problem, but last night I installed a site on a Rocky 9 server I configured myself, so that I could try out some themes, and it also has the same problem! Two weeks ago I configured the Alma 8 and Rocky 9 servers side-by side, preparing for Centos 7 EOL so that I can prepare for Drupal 7 EOL.
So I downloaded the configurations from both sites, extracted them into different folders and ran diff against the folders. But I cannot see anything of substance, except that one site has a couple of modules, blocks and themes which are not installed on the other. I will upload that diff file here.
https://www.drupal.org/files/issues/2024-02-21/site_config_diff.txt β
I opened all of the system.menu.*.yml files and compared them visually. The only differences are UUIDs.
Looking for documentation, I did learn that the missing toolbar is called the "Shortcut Bar". But comparing the two sites, I do not see any differences in the menu systems or core modules, or anything else which might give me a clue. I have been at this on and off for days. Now I am going to try to find out which YML files stores the admin bar configuration, if it is not those I have just mentioned.
Thanks!
- πΊπΈUnited States wmfinck
I hate to be a pest.
I think this problem might have to do with not displaying dropdown or responsive menus. Out of the 3 websites, the one that does not have this shortcut bar problem is only the only one on which Adaptive's responsive menu is properly functioning.
My entire Status report on all three servers is positive, with all issues and recommendations having been satisfied. So I cannot imagine what I might be missing.
- πΊπΈUnited States wmfinck
This is on a perfectly clean install, and my logs are filled with errors. I had not checked the logs, because I would not have expected this on clean installs... these were rather immediate, may have even been at installation time.
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: The theme must be passed as a query argument in Drupal\system\Controller\AssetControllerBase->deliver() (line 132 of /var/www/.../testing/web/core/modules/system/src/Controller/AssetControllerBase.php).
a few of these later... ("testing" is only a subdomain name on the server, I am not a developer)
Deprecated function: Creation of dynamic property Drupal\at_core\Layout\Layout::$layout_path is deprecated in Drupal\at_core\Layout\Layout->__construct() (line 27 of /var/www/.../testing/web/themes/contrib/adaptivetheme/at_core/src/Layout/Layout.php)
I have two pages of these, on a fresh install, and the Symfony errors are much more numerous. The site I installed where the menus are functioning have no such errors. Now maybe I know what to look for. But this is definitely a core install problem.
I am running Composer version 2.7.1.
- πΊπΈUnited States wmfinck
I found and solved the problem. Cloudflare. FOr some reason, one site out of three was not effected.
I disabled Cloudflare proxy, the menus appeared immediately. I enabled it, and the menus are still there. For how long, I wonder, but at least I know what the problem is.Sorry if I bothered anyone, but maybe it will help someone down the road. Thanks!
- Status changed to Closed: outdated
10 months ago 2:09pm 22 February 2024