Project:Javascript Aggregator
Version:6.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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."

Comments

#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

Status:active» needs review

I fixed this by changing line 88 of javascript_aggregator.module from:

<?php
      $jsmin_file
= $aggregated_file .'min.js';
?>

to:
<?php
   
if (empty($aggregated_file)) {
     
$jsmin_file = '/min.js';
    }
    else {
     
$jsmin_file = $aggregated_file .'min.js';
    }
?>

#4

Status:closed (duplicate)» closed (fixed)
nobody click here