Closed (fixed)
Project:
Chords
Version:
6.x-1.0-unstable1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
23 Aug 2009 at 10:32 UTC
Updated:
19 Nov 2009 at 20:40 UTC
Trying the module, I was able to select all options in the page /chords but, as I click "GO", the image of the chord is substituted by a graphical "?" (look at the attachment "chords".
I checked my GD Library and it's ok (phpinfo tells me I have the "bundled (2.0.34 compatible)" version, with everything enabled etc. - attachment "phpinfo")
Comments
Comment #1
SestuDeus commentedHi,
I've noticed just now that there are plenty of little nice png chords files in /sites/default/files evidently generated by the chords module.
The problem is the module don't put theese png in the result page.
How is that?
please help
Comment #2
SestuDeus commentedHello everybody (me),
the problem here is the chords module doesn't recognize subpaths installation, eg.: www.mysite.com/subpath as root drupal path site.
I found this by checking the address of the "?" linked to the chord finder page after the rendering.
Let me describe my specific case:
my root drupal site is: www.example.com/web/
then my "files" path is: www.example.com/web/sites/default/files/
the link provided by chords module is: www.example.com/sites/default/files/
and this is wrong.
I've noticed this discrepancy, but I cannot go far away cause I'm not a programmer, so please somebody helps me.
Comment #3
usonian commentedComment #4
usonian commentedComment #5
usonian commentedGood catch - the img tag path had been hard-coded assuming a root-relative directory. If you download the latest code from the DRUPAL-6--1 branch it will include the fix. (I'm looking into a couple of other improvements before doing another official release.)
Thanks!
-Andy