Closed (fixed)
Project:
Javascript Aggregator
Version:
6.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
1 Jun 2009 at 00:04 UTC
Updated:
8 Sep 2017 at 10:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedDrupal core optimize javascript also breaks swfobject, so thats one down. But its still strange the gzip function tries to put files outside server root.
Comment #2
Anonymous (not verified) commentedI was able to solve the problem by changing:
to
So by adding $_SERVER['DOCUMENT_ROOT'] . $path in front of $jsmin_file. That seems to be necessary to get the real absolute path to the files. Otherwise I get drupal error messages about open basedir restrictions (because '/js/' is outside the server root, it should be '/var/www/vhosts/xxx.com/httpdocs/sites/default/files/js').
Anyone know why? Is it only me? Strange stuff. Because it does work with the errors, js files are put in the right place. So why the error messages?
Comment #3
webavant commentedI am having the exact same error with the gzip function. It would probably be good to change the title and make a separate issue for the swfobject issue unless the two are related.
Comment #4
derjochenmeyer commentedCheck this patch. Its exactly what mxistence suggested.
If you try this patch please give feedback!
Comment #5
threading_signals commentedI'm using different ISP, and this problem says vaguely that:
* The selected file /tmp/filePG1ig9 could not be uploaded, because the destination is not properly configured.
* The selected file /tmp/filexotyGh could not be uploaded, because the destination is not properly configured.
Says it twice. The patch did not work for me, nor previous the solutions provided in duplicate thread.
This merits higher priority.
Comment #6
threading_signals commentedPatch at http://drupal.org/node/482002
works for 1.2
Comment #7
threading_signals commented