trentrichardson / cakephp-shrink

Shrink is a CakePHP plugin to Compile, Combine, Compress js, css, less, sass, coffee assets
16 stars 9 forks source link

Can't find ShrinkCompiler? (CakePHP 2.8.4) #8

Closed VaelVictus closed 1 year ago

VaelVictus commented 8 years ago

I follow the (simple) installation instructions and when executing the following line:

<?=$this->Shrink->css(['chosen.min.css'], false, 'link'); ?>

I get these errors:

Warning (2): include_once(ShrinkCompiler\ShrinkCompiler.php): failed to open stream: No such file or directory [APP\Plugin\Shrink\Lib\ShrinkType\ShrinkType.php, line 70] 

Warning (2): include_once() [function.include]: Failed opening 'ShrinkCompiler\ShrinkCompiler.php' for inclusion (include_path='.;C:\php\pear') [APP\Plugin\Shrink\Lib\ShrinkType\ShrinkType.php, line 70] 

Notice (8): Trying to get property of non-object [APP\Plugin\Shrink\View\Helper\ShrinkHelper.php, line 216]

It will reference a css/shrink_xxxxxxx file, but the file will not have actually been created.