Skip to main content
mpdonadio's user avatar
mpdonadio's user avatar
mpdonadio's user avatar
mpdonadio
Moderator
  • Member for 13 years, 8 months
  • Last seen this week
  • Philadelphia, PA
comment
How can I purge a specific URL from varnish cache without making a curl request?
Image styles are served by Drupal when they are first created, but then saved on disk. So, the are served up by your webserver directly aferwards. That makes this more of a Varnish question, but I am leaving this open as it is a Drupal related quirk/issue with how image styles work and Varnish.
awarded
comment
In code, only create a revision if a field is changed
@greggles Yeah, updated the var name in the code.
revised
Loading…
Loading…
comment
CIDRAM on Drupal 7
hook_init() doesn't run on cached pages, but hook_boot() runs on all requests that get routed to Drupal.
comment
Why can't I update core from 8.6.16 to 8.7.1?
What is the output of composer why-not drupal/core:8.7.1 ?
comment
How can I upgrade ONLY Drupal core with composer?
@arnoldbird composer update drupal/core webflo/drupal-core-strict composer/installers --with-dependencies should do the trick.
awarded
revised
Loading…
comment
Site works ok but composer complains about unmet requirements. Do I have a problem?
Very odd. How about composer why drupal/core:8.2.x-dev? Since it isn't in your main composer.json, drupal/core:8.2.x-dev is somewhere in the dependency tree. You can also read the lockfile and search for that and see what section / package is listing it.
comment
Site works ok but composer complains about unmet requirements. Do I have a problem?
Temporarily removing drush and drupal console can also help.
comment
Site works ok but composer complains about unmet requirements. Do I have a problem?
Can you show what composer why-not drupal/core:8.6.13 lists? This may narrow the problem down better. As a side note, I suspect there is a Symfony related dependency problem. Personally I always use webflo/drupal-core-strict, pinned top the same version as core, which tends to prevent dependency problems.
comment
Site works ok but composer complains about unmet requirements. Do I have a problem?
@arnoldbird The number of dependencies that core brings in can expose bugs and other quirks in composer.
comment
Should I not update from 8.4.2 straight to 8.6.13?
Keep i mind that Drupal 8.4.2 predates SA-CORE-2018-002 and SA-CORE-2018-004. If your site is public, there is a chance it is compromised.
comment
awarded
comment
comment
composer won't update 8.6.13
Can you try editing composer.json and adding "webflo/drupal-core-strict": "8.6.13" as a requirement, and then doing composer update? If this works, I'll writeup a better answer about what may be going on.
comment
Why does updating break my site?
Out of curiosity, do you use the webflo/drupal-core-strict dependency?
1
6 7
8
9 10
249