Download & Extend

May 20th Dev - $htaccess variable not set; $aggregated_file empty

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

Issue Summary

The selected file /tmp/fileoVC51r could not be uploaded, because the destination sites/default/filesmin.js is not properly configured.

This error doesn't appear when logged in.

Comments

#1

Title:May 20th Dev - Anonymous User Bug» May 20th Dev - $htaccess variable not set
Status:active» needs review

$htaccess is not set with the latest dev

AttachmentSize
javascript_aggregator.module.patch 416 bytes

#2

$aggregated_file can be empty sometimes; this is what was causing the error.

AttachmentSize
javascript_aggregator.module.patch 2.62 KB

#3

Title:May 20th Dev - $htaccess variable not set» May 20th Dev - $htaccess variable not set; $aggregated_file empty

#4

Thanks a lot for testing and the patch. I splitted the minification and gzip/.htaccess stuff in the latest dev which is unneccessary. These errors were introduced by this split. I reverted some of these changes in the current dev (http://drupal.org/cvs?commit=215416).

#5

Status:needs review» fixed

#6

The 2 above patches made the split work correctly. Why did u revert the changes back? I thought the code was cleaner with the split.

#7

Because there were other errors in my split. The htaccess was not deleted if gzip compression was disabled.

#8

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.