Drupal Blog

AllYearbooks is powered by the Drupal core. We try to give something back, and this page lists our latest Drupal-related activities.

Also see a staff blog, our latest news and our press releases.

Debug live errors more easily with debug_backtrace() output in error messages

Tailing my error log, I kept coming across annoying errors like this:


[Mon Nov 13 21:14:49 2006] [error] [client xx.xxx.xxx.xxx] PHP Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /path/to/drupal/includes/database.mysql.inc on line 350, referer: http://www.example.com/node/1234/edit

No matter how hard I tried, I couldn't reproduce the errors locally, but somehow real users could create them on the live server. I tried to track down the bug but could only go so far - yes, it was happening when a node was edited, and it was in a database query, but which query? There were too many to look at, so I needed more information.

Drupal Community Yearbook

In our effort to give something back to Drupal (the fantastic open source content management framework at the core of AllYearbooks), we're aiming to make a physical yearbook for members of the worldwide Drupal community.

Presuming all goes to plan and enough people join, the idea is to produce physical copies of the yearbook (as well as allowing PDF downloads). These will be provided free to Dries and the top 10 Drupal contributors. It may also be possible for other interested members to buy a copy, though this book isn't being run as a money-making venture.

If you're a Drupal developer or involved in Drupal in some other way, join the yearbook now. It only takes a few seconds to join, and you can come back any time before printing to update your yearbook entry and upload some gallery photos for collages and other such pages.

So far 8 Drupalites have joined the yearbook. We're hoping for at least 100 members for it to be worth printing.

If you have any suggestions, please get in touch.