Closed (fixed)
Project:
Textimage
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2010 at 01:11 UTC
Updated:
16 Aug 2012 at 18:21 UTC
I encountered the situation described here: #893682: DBLog errors with certain user entries. Apparently this happens when messages without links appear in the logs. In my case, the "toxic" messages were generated by textimage.
In function textimage_build_image in textimage.module, watchdog is used like this:
watchdog('textimage', $message, WATCHDOG_ERROR);
That's the old Drupal 5 way of calling it. In D6 and D7 it should be something like this:
watchdog('textimage', $message, array(), WATCHDOG_ERROR);
| Comment | File | Size | Author |
|---|---|---|---|
| textimage-watchdog.patch | 994 bytes | SeanA |
Comments
Comment #1
SeanA commentedTo duplicate this bug, make a textimage call containing a preset that doesn't exist. This will generate a watchdog entry and the problem (php warnings) will show up in the logs on pages where the textimage log entry appears.
print theme('textimage_image', 'nonexistent', $text, array(), 'png', $text, $text);Comment #2
wundo commentedFixed