User login


Error when Drupal 8 class file is misplaced

The error is pretty straightforward but the sheer confusion of where to place class files in your module (first off, yes, they do go in your module) might make this a pretty commonly googled error.

Drupal may give an error like this:

The website has encountered an error. Please try again later.

Look in your logs for more detail:

tail -f -n100 /var/log/apache2/error.log

Here's the key problem:

Business without Bosses: Notes from a corporatizing tech conference

I'm very interested in non-corporate ways of getting things done, and DrupalCon North America 2014 (held in Austin June 2-4) provided a surprising amount of information applicable to what could be called non-capitalist production.

Two sessions worth watching:

Among other things, look for the part where she talks about asymmetric warfare...

Things you learn at a code sprint

Tab completion. I witnessed hugging and declarations of love based on learning this.


Drush. Install it with composer.

High I/O as possible source of Internal Server Error

We have Redmine running through Apache's mod_fcgid. I was seeing ruby processes using up to 100% of CPU and then getting errors in /var/log/apache2/error.log like "mod_fcgid: read data timeout in 40 seconds" and tracing that in /var/log/redmine/default/production.log to "ActionView::TemplateError (exit) on line #4 of app/views/issues/_action_menu.html.erb" which is only a safe-looking template line, "watcher_tag(@issue, User.current)". Moreover, the Internal Server Error didn't occur every time.

Which led me to look further to see what else was at play...

Virtual Machine Additions - sharing clipboard etc. between Vbox and Windows

Start up your Virtual Machine - You must be an administrator or a member of the Administrators group to install Virtual Machine Additions.

To find the Action menu, make sure you are not in "SCALE" mode or "FULLSCREEN"
Using the ctrl key to the RIGHT of the keyboard type the command ctrl+C

*By default, the ALT key to the right of the spacebar is the host key. Your keyboard may be different

Once out of SCALE mode, the Action menu of the virtual machine is located on the top left, click Install or Update Virtual Machine Additions.

Blank localhost page after installing D7 locally - check your Apache logs

Using Ubuntu 12.04 -

I created a vhost on Ubuntu 12.04 using a2ensite, then I editied the config file:

sudo vim /etc/apache2/sites-available/YOUR_SITE

After saving the file, the browser loaded a blank page. When this happens you can open your Apache error log and look for the exact path that Apache is trying to find.
( tail /var/log/apache2/error.log )

The logs revealed a typo in the path to the document root for my site.

The site resolved properly after fixing the typo and restarting Apache:
sudo service apache2 restart

Format image fields to use the title as a caption printed under the image

There's a module for that:


Found via the module creator's description of why and how... before turning it into a module by popular demand.

The client would like the alt text used also as the hover text now that the title is the caption; the module does not do this... yet.

Definitive Guide to Drupal 8 planning discussion

Modules from the contrib side.

Boz presenting plan:

40 topics in all. Views 3 topics. Theming 7 or 9 topics.

Forest has a horizontal list. Not quite ready to share it.

I have a vertical list, what kind of format.

Want to avoid authors doing a big chunk of work, and going cumplunk. Especially on the beginner side, taking a

Notes on presentation "How to Collaboratively Develop a Product in the Drupal Community"

NYC Camp 2014

Mohan Bunkars
CEO, Azri Solutions
How to Collaboratively Develop a Product in the Drupal Community
(marketing automation)
knew Ben, CEO at Vollaci
State Farm and Commerce Guys now using product.

Never thought far out, MVP was what can we make for the next stamp. Decide what to build, what has business value, will someone pay money for it.

When are you going to start paying money for it? If you are not willing to put dollars, you don't really perceive a value there.

Syndicate content