Drupal missing modules and white screen of death

WSOD (white screen of death) can happen in drupal for different reasons. One is that you could be missing some files, probably modules. Maybe you moved something wrong when migrating, or you have wrong git branch or just delete module(s).

Reseting passwords in Drupal 7

Reseting drupal password with latest drupal version has become much harder task, before you could just MD5 user table and add new password, now the "salt" is added so it is a bit harder. There are two ways, with mysql and shell access, or with php file. First you can find here

Boost and Varnish and general tips and rants about Drupal caching

This topic has always been a big pain in the ass for me. Drupal takes a lot of resources, which means money for hosting, you should at least have VPS to have some decent hosting for drupal, but not to have OOMing and high CPU usage all the time, you should use different caching systems.

Boost

Varnish help

So Varnish is really good caching thingy if you use drupal (or other stuff) so to see what it is doing and how, you can login to your server and try this commands.

varnishlog - See what Varnish is currently processing, you will get complete header info I think

varnishstat - Shows various information about varnish

Add UTM tag to links, so other people know when users come from your site

So this is some marketing stuff I do, but it is useful. When you click a link on some site, to give some message to that site and owner or whoevere is taking care of marketing you can add some UTM tags to links so in their google analytics they see that message. So what do we do is I use display suite, create custom code field and use entity data to make new fields that look like this: