Error saving aggregated files
thulstrup - June 1, 2009 - 19:59
| Project: | Javascript Aggregator |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I'm still seeing the error described in http://drupal.org/node/470734 with the 6.x-1.2 release.
When I enable "Optimize and Minify JavaScript files" I get this error:
"The selected file /home/drupal6/docs/sites/mysite.com/tmp/fileuXbZKo could not be uploaded, because the destination filesmin.js is not properly configured."

#1
For me filesmin.js is trying to save at the same directory level as files instead of inside.
The selected file /tmp/fileHlpymH could not be uploaded, because the destination sites/web608.org/filesmin.js is not properly configured.#2
I fixed this by changing line 88 of javascript_aggregator.module from:
<?php$jsmin_file = $aggregated_file .'min.js';
?>
to:
<?phpif (empty($aggregated_file)) {
$jsmin_file = '/min.js';
}
else {
$jsmin_file = $aggregated_file .'min.js';
}
?>
#3
#482002: The selected file /tmp/filetRzQRu could not be uploaded, because the destination sites/default/filesmin.js is not properly ...
#4