On a pasted snippet the third script tag was generated by context_addassets module. You see, the src attibute is filled with the absolute unix path.
<script type="text/javascript" src="http://3w-site.maus/misc/jquery.cookie.js?v=1.0"></script>
<script type="text/javascript" src="http://3w-site.maus/sites/all/modules/panels/js/panels.js?lp1laz"></script>
<script type="text/javascript" src="/home/maus/www/3w-site.ru/sites/all/libraries/assets/ahahify.js?lp1laz"></script>
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1232330_context_addassets_filepath_fix.patch | 696 bytes | akamaus |
Comments
Comment #1
akamaus commentedI'm not sure, whether is it a correct fix, especially for multi-site configurations, but it works for me.
Comment #2
philipz commentedI tried that in multisite environment.
First I cleared and set up Assets configuration. Then I removed assets reactions from my context. Finally just to be sure I cleared cache... and it worked. Thanks!
Comment #3
clint.beacock commentedThanks for this great module. If this gets fixed, it will definitely become my preferred method for managing assets.
I can confirm the problem, and that this patch has worked for me. Please consider committing it.
Comment #4
progzy commentedWorks for me too (single website).
Actually the above patch fixes 2 issues:
- regex delimiter warning issue : http://drupal.org/node/1335430 (beta 1 version but apply to dev version too)
- current issue
Could you consider commiting then release beta 2 please?
Comment #5
zabelc commentedI had the exact same issue with CSS imports (so I updated the title to include that).
This patch accurately fixed it in a single site install. Thanks for the great work akamaus!
Note though, as philipz says, after you apply the patch you must:
I skipped a couple steps above, and so I thought the patch didn't work for me (oops).
With all that said, I think this patch is ready for committing. With it, this module is going to be a great help at cleaning up my site styles!
Comment #6
ryanwebpage commentedThanks for the patch akamaus, I will apply it as soon as I get a chance. Does anyone want to join the project and be a co-maintainer? Spare time has been extremely hard to find and there are a couple things on the roadmap that would be nice to implement.
Comment #7
nor4a commentedThe #1 solved my issue! Thanks!
As far as I remember - in the dev version - everything was fine
Comment #8
lazysoundsystem commentedPatch in #1 solves the issue for file paths only - for assets in modules, see patch #3 in #1393184: Mask for the modules file search - and patch offered. And thanks @zabelc for the steps in #5 - that other patch only worked when I followed those.
Comment #9
chrisjlee commented