Sometimes you find just the right resources that fulfill certain need and nothing much should be added to them, in those cases I will just collect them on this page and add short comment why is this so.
Sometimes you find just the right resources that fulfill certain need and nothing much should be added to them, in those cases I will just collect them on this page and add short comment why is this so.
Do this on your local or virtual enviroment, depending where do you want to have it
mkdir ~/drush10
cd ~/drush10
composer require "drush/drush:10.*"
this will install drush10 to that directory and now you just need to add alias
I finally converted this old blog from drupal 6 to drupal 8. Good starting point is this page
https://www.drupal.org/docs/8/upgrade/upgrading-from-drupal-6-or-7-to-d…
watchdog('debug',kprint_r($var, TRUE, NULL));
When debuging enteties normal dpm with devel module just wont do you any good. So use this
http://drupal.stackexchange.com/questions/33473/is-there-a-good-way-to-…
and this for debugging or introspecting wrappers
If you are running into this error while using drush
Directory ..../drush/cache/default exists, but is not writable. [error] Please check directory permissions.
Run this to solve it
sudo drush version
sudo chown -R $USER ~/.drush
Recently I got to fix some older Drupal 6 site.
If you are using FB connect module and its Invite friends submodule or making your own invite FB friends submodule (which is easy). You could probably get into a problem of having no notifications sent to user when you do click Invite in FB dialog box.
Sometimes you will have a WSOD and nothing to show for. One simple solution to get what is a problem is to insert the following lines into the Drupal's index.php, that should set PHP to report all errors.
I was going nuts over how to install CURL on 64 bit windows. I need it for some module and just enabling it from Wamp panel didn't work. So I searched for solutions and there are quite a few combos and solutions offered online but the only thing that worked for me and what was needed is