Doesn't support installations in sub-directories
SestuDeus - August 23, 2009 - 10:32
| Project: | Chords |
| Version: | 6.x-1.0-unstable1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | usonian |
| Status: | closed |
Jump to:
Description
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")
| Attachment | Size |
|---|---|
| chords | 11 KB |
| phpinfo | 45.86 KB |

#1
Hi,
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
#2
Hello 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.
#3
#4
#5
Good 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
#6
Automatically closed -- issue fixed for 2 weeks with no activity.