Closed (fixed)
Project:
Zenophile
Version:
6.x-1.1-beta6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2009 at 23:08 UTC
Updated:
4 Sep 2009 at 22:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
Garrett Albright commentedHmm. What are you using as the parent theme? I can't recall ever having a problem like this when using STARTERKIT or Zen Midnight.
Zenophile uses some not-so-clever regular expressions on the contents of the parent theme's .info file to try to find where it should add its sidebars.css file (and theme-fresh.css file, if you're using that option), so if the parent theme's .info file is substantially different from STARTERKIT's, there may be some trouble there…
Comment #2
traviscarden commentedI use STARTERKIT every time. A little testing reveals that the problem only occurs when I check the Zen theme out of CVS with Windows line endings. I have a suspicion, then, that the problem exists in the regular expression in zenophile.module between lines 563 and 567:
Comment #3
Garrett Albright commentedHmm. Perhaps the preg library can't handle Windows line endings. I'm not really sure what to do about that.
Comment #4
Garrett Albright commentedI did some research on this, and it turns out there might be a fairly easy fix. Can you apply patches? If so, could you try applying this patch and let me know if it fixes things?
EDIT: Oops. Try the patch in the next comment.
Comment #5
Garrett Albright commentedOops. Forgot about the whole directories/paths thing when creating patches (again). You should have better luck with this one.
Comment #6
traviscarden commentedGood job, Garret! #5 did the trick! Thank you very much.
Comment #7
Garrett Albright commentedExcellent. Thanks for testing that. I'll get it committed soon.
Comment #8
Garrett Albright commented