User login


Social Media Profile Links as a field type for Drupal 7 content

What we're looking for is a way to automatically display links on a Drupal site to people's profiles on known social media sites in the way they expect, e.g. @mlncn for Twitter, +ben.agaric for Google Plus, and whatever the heck for Facebook. Icons a plus.

Evaluated and was not impressed at all; both the inputter's user interface and the display are sorely lacking.

Vagrant box check update configuration error (resolved: upgrade Vagrant)

Vagrant box check update configuration error

The following settings don't exist: box_check_update

Commenting out this made it work fine:

# config.vm.box_check_update = true

But the better solution is to upgrade Vagrant.

The reason for the error is that Vagrant version 1.2.2, rather than 1.5 or 1.6, simply didn't know about that configuration setting, and complained, and quit.

Shared, co-working, and community spaces that may work for DropLabs Boston

DropLabs, in Los Angeles, offers coworking in a learning- and working-conducive space. A key feature is people supportive of their fellow coworkers' technical growth.

Krash "is an immersive co-living experience for entrepreneurs, hackers and doers." BOS/CHI/LA/NYC/DC

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

Syndicate content