Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work locally #2

Open
prkos opened this issue Aug 23, 2010 · 8 comments
Open

Doesn't work locally #2

prkos opened this issue Aug 23, 2010 · 8 comments

Comments

@prkos
Copy link

prkos commented Aug 23, 2010

Hello!

Thank you for the very useful add-on!

Unfortunately it doesn't work on any of my local websites. I'm using LAMP. Why is that? Can I get it to work?

@auchenberg
Copy link
Owner

Hi,

Which browser are you using?

In Chrome urls that begins with file:// isn't working because the extension couldn't though the extension-validation. But since your are a local web-server, is shouldn't be this problem.

Can you provide me with an sample url?

Thanks,

-Kenneth

@prkos
Copy link
Author

prkos commented Aug 23, 2010

Hello!

Thank you for the quick reply!

I'm using Firefox.

I have setup my hosts file to look on my machine instead of internet for domains that have the extension .local. In apache setup I add virtual host for each website/local domain telling it which folder to use as root etc.

This means when I enter http://example.local in my browser it serves me my local website. This is where the extension doesn't work. On production sites hosted on the internet the same websites work. So this seems to be a local problem.

Is there anything else I can do to test?

Mihaela

@auchenberg
Copy link
Owner

Hmm, can you provide me with an URl to your stylesheet? It could contain some characters which is troubling for the script.

Seems weird since I'm appending a new querystring with a randon timestamp to ensure that it's a new url that hasn't been cached.

@prkos
Copy link
Author

prkos commented Aug 24, 2010

You can get to the online versions of my local websites: http://www.nordff.org - here CSS is compressed, may be a problem
http://prkos.biz/drupal

There's a lot of sheets on both sites (when uncompressed), maybe that's the problem. Can using @import be a problem? I think the this is used to make IE work because you can only link no more than 30 sheets in IE.

@auchenberg
Copy link
Owner

Ahhh, it's because of the @imports. The current version of the extensions is finding all tags and updating the urls. The stylesheets isn't parsed, and therefore @import's isn't updated.

Guess this should be on the roadmap.

@prkos
Copy link
Author

prkos commented Aug 31, 2010

That would be great!

Thanx

@e-anima
Copy link

e-anima commented May 31, 2011

agree. i have that problem too (see drupal7 (cms) stylesheet implementations ^^)

@alixaxel
Copy link

I'm not using @import and I also can't reload CSS files in Firefox 9.0.1 (using file:/// protocol).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants