Drupal 7 Bootstrap 3 failing to load the following jsDelivr asset...
(link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@unicorn-fail/drupal-bootstrap-styles@0.0.2/dist/3.3.1/7.x-3.x/drupal-bootstrap.css" media="all")
...happened right after a manual cron run.
What's the best way to get Drupal start loading this again? Clearing cache doesn't work
Comments
Comment #2
thebigcat commentedDrupal 7 Bootstrap 3 failing to load the following jsDelivr asset...
...happened right after a manual cron run.
What's the best way to get Drupal start loading this again? Clearing cache doesn't work
Comment #3
cavla commentedSame problem here. Design is impacted.
And i can't change the jsdelivr version anymore from theme settings.
My temporary fix : load manually the css of https://cdn.jsdelivr.net/npm/@unicorn-fail/drupal-bootstrap-styles@0.0.2/dist/3.3.1/7.x-3.x/drupal-bootstrap.min.css
Comment #4
asb commentedConfirming, same issue here for a couple of days.
In my case, the issue occured after and/or in connection with updates of the modules 'entity', 'file_entity', 'field_group_table', 'notify'.
At the same time, the 'admin_menu' toolbar dissapeared.
Partial fix is to go to
./admin/appearance/settings/{mysubtheme}and set "CDN provider" in "Advanced" to "Custom". Though, this has some disadvantages, and it does not fix the issue with 'admin_menu'.Comment #5
thebigcat commentedFollowing up on what cavla mentioned last month, the temporary fix (#3) is still the only option for this issue. Not sure why theme settings still can't resolve that specific jsdeliver URL.
Can confirm with asb (#4) that the issue appeared around the time of one/any of those module updates. Reverting back to the previous versions of those modules produced no change to the issue.
Comment #6
antonyanimator commentedI've been using bootswatch so I need this to work with JSdeliver selected.
Comment #7
keithn commentedI had a similar problem with that bootstrap JS file not loading.
I also noticed this in my site's log files:
Undefined index: js in bootstrap_get_cdn_assets() (line ....There is an easier solution at https://www.drupal.org/project/bootstrap/issues/3175750#comment-14063281 which worked for me.
Cheers,
Keith
Comment #8
montogro commentedIn my case I had to put proxy URLs for http and https in settings.php (sites/default/settings.php) on my dev server. Had issues with site crashing after loading bootstrap theme with jsDelivr CDN, couldn't even get into theme settings, but now everything is back to normal.
These records shouldn't be overwritten now.
Comment #9
philsward commentedHTTPRL was causing the issue for me.
I disabled it, fixed the version in the bootstrap theme and re-enabled it.
Update: It looks like "Use httprl to handle drupal_http_request." might be the culprit causing the issue with HTTPRL.