Assets manager gives empty file, no errors.

When I use the Assets manager on my local machine, everything works fine. When I use it on my production server, it produces an empty file without errors.

This is the code I use for testing: https://gist.github.com/Swader/6147905

Related feature request: https://github.com/phalcon/cphalcon/issues/993

What could be the cause for this, and how can I find out what's going on? The permissions are ok - the file gets created, it's just that it's empty. Also, same thing happens when I use local or remote resources, doesn't matter which type.

That's a bug in 1.2.1 and is fixed in 1.3.0

Hm. Well, in the meanwhile, I've made an alternative. See http://forum.phalconphp.com/discussion/707/alternative-assets-manager