im-richard / Scaffold

Extend, combine and compress CSS
http://github.com/IAMRichardT/Scaffold/wiki
161 stars 19 forks source link

Can't get Scaffold to work on windows #13

Closed jvdh closed 14 years ago

jvdh commented 14 years ago

No success in Apache on windows, scaffold just spits out the original css file.

anthonyshort commented 14 years ago

Can you post your configuration file?

jvdh commented 14 years ago

My apache config or Scaffolds parse.php?

anthonyshort commented 14 years ago

The scaffold configuration. I'll take that and try it on my windows setup.

If its just outputting the CSS and not throwing errors, it sounds like no extensions are enabled.

jvdh commented 14 years ago

These past few days I've been trying to get Scaffold to work on my development system (windows). I tried different Scaffold releases and different config files (original and un-edited). To pinpoint the problem I moved my test to our hosting environment (Linux) and that worked.

To narrow it down: The latest development version of 0.22 with an original, unedited parse.php works on Linux but not Windows. Variables, nesting, compression etc. all work on our Linux hosting environment but not on my Windows development system.

Same parse.php on my Windows production server spits out the un-parsed css.

anthonyshort commented 14 years ago

Hrm, interesting. I'll take a look at it and get back to you.

jvdh commented 14 years ago

Ok, let me know if I can help in any way.

jvdh commented 14 years ago

Tested on a secondary windows machine.....no luck. :(

anthonyshort commented 14 years ago

It's weird that's is actually parsing the CSS, just not putting it through the extensions. What version of PHP are you using the windows machine? It requires at least PHP 5.

I'll get a windows machine setup and test it properly over the weekend.

jvdh commented 14 years ago

PHP 5.2 and 5.3 on win7 and winXP both fail. PHP 5.2 on Linux works.

Actually, Scaffold requires at least 5.2: error_get_last in Environment.php is PHP 5 >= 5.2.0

Thanks for looking into this. Scaffold is absolutely brilliant but I'm stuck using an old copy of CSSCaffold for production. :(

anthonyshort commented 14 years ago

I'll track down this problem today :)

jvdh commented 14 years ago

That would be great!

jvdh commented 14 years ago

Any luck with this? Wanna get my scaffolding on! :)

anthonyshort commented 14 years ago

Working on it right now actually :)

anthonyshort commented 14 years ago

Try the latest tag and let me know how it goes. I was able to get it working.

jvdh commented 14 years ago

Woohoo! Working...thnx!