benjamin-vauchel / SmartOptimizer

This extra is a MODx version of SmartOptimizer by Ali Farhadi (http://farhadi.ir/works/smartoptimizer), a PHP library that enhances your website performance by optimizing the front end using techniques such as minifying, compression, caching, concatenation and embedding.
5 stars 0 forks source link

errors: filemtime(): stat failed for config.php #4

Closed yogoo closed 12 years ago

yogoo commented 12 years ago

SmartOptimizer expects to find two files that don't exist:

and throws the following errors:

[2012-02-29 16:12:29] (ERROR @ path_to_modx/assets/components/smartoptimizer/connector.php : 124) PHP warning: filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for config.php
[2012-02-29 16:12:29] (ERROR @ path_to_modx/assets/components/smartoptimizer/connector.php : 124) PHP warning: filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for index.php

It can be fixed by creating those two [empty] files. Can you add them to the transport package so they will be created when installing smartOptimizer ?

benjamin-vauchel commented 12 years ago

Thanks yogoo. It's fixed and can be download from MODx package manager.

yogoo commented 12 years ago

Awesome, thanks!