I kept getting things like this in my logs
page not found 2007-02-15 16:17 books/modules/amazontools/images/missingm.gif ... Anonymous
This is coming from a block I have on the books page.
The fix is to change every line that looks like this
$module_dir = drupal_get_path('module', 'amazon');
to this
$module_dir = base_path() . drupal_get_path('module', 'amazon');
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | amazon.module_3.patch | 2.01 KB | Timotheos |
Comments
Comment #1
Timotheos commentedOk here's a patch
Comment #2
mcurry commentedI'm getting these warnings, too - any chance we can get this committed to an official build?
Comment #3
Prometheus6 commentedYeah, I'll get to it tonight.
Comment #4
mcurry commentedThanks! I've applied the patch on one site so it's fixed for now.
I really like this module, and will be using it on several sites, so I just wanted to know if this was going to be part of an upcoming release, and, if the patch was officially 'blessed'. :D
Comment #5
Prometheus6 commentedBlessed, applied and released.