Activating this module change the normal link download to specific pattern define in modules.
But, the problem is all the link broken with error of Page not found.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | subdirectory_fix-1298712-5145236.patch | 4.2 KB | chromix |
Activating this module change the normal link download to specific pattern define in modules.
But, the problem is all the link broken with error of Page not found.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | subdirectory_fix-1298712-5145236.patch | 4.2 KB | chromix |
Comments
Comment #1
chromix commentedMy first thought is to say maybe you need to clear cache, although that's just a first guess. Can you tell me what URLs are now appearing when you try to click on a file link?
Comment #2
parasolx commentedhai.. already clear the cache (even my site did't activate the cache function).. still same.
the URL convert into this pattern: http://example.com/file/44/chowkit7.jpeg?redirect=node%2F255
end up with Error 404.
Comment #3
chromix commentedI've tried to recreate this on a number of my local sites and I haven't been able to. A few things:
Thanks for the feedback and I hope I can get this working for you soon!
Comment #4
parasolx commentedhi.. sorry for late reply.. since i though d.o will send me the email notification. myb i forgot to set it in my acc profile.
If you remove the ? and everything after it, is the link still broken?
Nope.still same. But it grab my main directory in front of url.
2. Is your site root "/" or is your site installed in a sub-directory?
yes, it is under sub-directory
3. When you switch the display formatters back to the non-tracking formatters, do your file links work, or are they still broken?
it back to normal.
Comment #5
chromix commentedOk good to know. I'm going to go out on a limb and guess that somewhere in my code I'm not taking into account the possibility of the site being in a subdirectory. I'll try creating a test site in a subdirectory to see if I can reproduce the problem. Thanks for the additional feedback!
Comment #6
chromix commentedI created a test site in a subdirectory and I was able to see the problems you described. I found a fix that definitely seems to work for me. If it works for you I'll go ahead and create a new release with this patch!
Comment #7
chromix commentedSorry... here's the actual patch.
Comment #8
parasolx commentedso far, it fixed the problem. i think it should push into new release.
Comment #9
chromix commentedThe new change should be released soon.