Talking Drupal

Talking Drupal #133 - Debugging


Listen Later

In episode 133 we talk about something that everyone does when building and supporting websites, debugging.

Show Notes
  • Can you determine where the issue originates from? Is it front end, backup, css, or a module.
  • RIR Strategy - Reproduce, Isolate and Resolve.
  • Reproduce
    • Gather pertinent information to help resolve a bug quicker
    • Train your customer and provide a bug report form to help them provide you the best information.
    • When trying to reproduce an issue, make sure your development/QA enviroments mirror the production environment. For example, do you PHP version match? Listen to show #127 Local Development with Vagrant.
    • If an issue cannot be reproduced in a development environment, look at the server configuration and data.
  • Isolating
    • When the issue can be reproduced, isolating it is the next step.
    • Tools and techniques you can use to help
      • Drupal and server logs - check your log files first.
      • Turn on error reporting for PHP to display errors
      • Inspector - use the Console and Networking sections in the inspector. This will help identify front end issues. I common issue is javascript not loading from third parties.
      • What are the last things that changed? Looking back at the most recent code or configuration changes will uncover the source of a bug.
      • Peer Programming - work with someone else to resolve a problem. Often, just explaining it will help resolve it.
      • Walk Away - Taking a short break from a difficult bug will you have fresh perspective.
      • Note Pad - Take notes during the research will help you organize your isolation process.
  • Resolve
    • Fix it.
    • Think about how you can prevent this in the future.
    • Document it.
Module of the Week

Search API - https://www.drupal.org/project/searchapi

This module provides a framework for easily creating searches on any entity known to Drupal, using any kind of search engine. For site administrators, it is a great alternative to other search solutions, since it already incorporates faceting support and the ability to use theViews module for displaying search results, filters, etc. Also, with the Apache Solr integration, a high-performance search engine is available for this module.

Developers, on the other hand, will be impressed by the large flexibility and numerous ways of extension the module provides. Hence, the growing number of additional contrib modules, providing additional functionality or helping users customize some aspects of the search process.

Bonus Content

Download Sample Bug Report PDF and Webform version.

Hosts

Stephen Cross - www.ParallaxInfoTech.com @stephencross

John Picozzi - www.oomphinc.com @johnpicozzi

Nic Laflin - www.nLightened.net @nicxvan

 

...more
View all episodesView all episodes
Download on the App Store

Talking DrupalBy Talking Drupal Hosts

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

28 ratings


More shows like Talking Drupal

View all
Football Weekly by The Guardian

Football Weekly

2,512 Listeners

This American Life by This American Life

This American Life

90,648 Listeners

Marketplace by Marketplace

Marketplace

8,641 Listeners

Fresh Air by NPR

Fresh Air

38,223 Listeners

Planet Money by NPR

Planet Money

30,878 Listeners

Freakonomics Radio by Freakonomics Radio + Stitcher

Freakonomics Radio

32,227 Listeners

99% Invisible by Roman Mars

99% Invisible

26,138 Listeners

Pivot by New York Magazine

Pivot

9,120 Listeners

The Daily by The New York Times

The Daily

111,397 Listeners

Up First from NPR by NPR

Up First from NPR

56,020 Listeners

The Indicator from Planet Money by NPR

The Indicator from Planet Money

9,555 Listeners

Throughline by NPR

Throughline

15,956 Listeners

Against the Rules with Michael Lewis by Pushkin Industries

Against the Rules with Michael Lewis

9,525 Listeners

SmartLess by Jason Bateman, Sean Hayes, Will Arnett

SmartLess

57,901 Listeners

The Ezra Klein Show by New York Times Opinion

The Ezra Klein Show

15,207 Listeners