Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I am getting this error on my status page, and I haven't been able to fix it, no matter what I do. It doesn't give any hints on how I can fix it, and I'm really not sure what I should be looking for. Any assistance is appreciated.
I don't know if it's needed, but the asynchronous debug info is as follows:
stdClass Object (
[request] => GET /sites/default/files/advagg_css/css_missing7585322451320316874_0.css HTTP/1.0
Host: www.jaypan.com
User-Agent: Drupal (+http://drupal.org/)
Connection: close
[data] => <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL was not found on this server.</p><p><a href="/">Home</a></p><!-- advagg_missing_fast404 --></body></html>
[protocol] => HTTP/1.0
[status_message] => Not Found
[headers] => Array (
[Date] => Thu, 03 Nov 2011 10:41:14 GMT
[Server] => LiteSpeed
[Connection] => close
[X-Powered-By] => PHP/5.2.17
[Set-Cookie] => SESSafa69c10d7411c4e93715b64c48981fc=0a7abe4de0585b38ec1039cc9a59a5ea; expires=Sat, 26-Nov-2011 14:14:34 GMT; path=/; domain=.jaypan.com
[Expires] => Sun, 19 Nov 1978 05:00:00 GMT
[Last-Modified] => Thu, 03 Nov 2011 10:41:14 GMT
[Cache-Control] => post-check=0, pre-check=0
[Content-Type] => text/html; charset=utf-8
[X-AdvAgg] => Failed Validation. Wrong Pattern.
[Content-Length] => 307
)
[error] => Not Found
[code] => 404
[timer] => Array (
[count] => 1
[time] => 304.17
)
)
Comment | File | Size | Author |
---|---|---|---|
#19 | advagg-1330340-19-fix-https.patch | 837 bytes | mikeytown2 |
Comments
Comment #1
Jaypan CreditAttribution: Jaypan commentedI should add, this file doesn't exist on my server:
/sites/default/files/advagg_css/css_missing7585322451320316874_0.css
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedInside of advagg_js_compress.module on line 393 is the function advagg_js_compress_test_file(). There is a watchdog debug there; uncomment it and tell me what it outputs to watchdog after running the status report again.
Comment #3
Jaypan CreditAttribution: Jaypan commentedThis is bizarre. I just re-enabled the module, and it's working fine now. I had previously disabled, uninstalled, and removed all traces of the module from my database, and then re-installed, and kept getting the same error. I disabled it until I got a response from this thread - and now it's working fine.
Thanks for your willingness to help! It all seems to be good now though. Regards.
Comment #4
asb CreditAttribution: asb commentedI had this message on one of my sites:
Similar like mentioned in #1,
./admin/settings/advagg/info
reported a missing file; I resolved this with a "Master Reset" plus "Clea all caches" (e.g. withdrush cc
+ "All"). Also I installed the C complied version of JSMin, as suggested at./admin/settings/advagg/js-compress
, and I didn't encounter any issues anymore.I'd suggest to close this issue.
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedComment #6
jvieille CreditAttribution: jvieille commentedSame problem, master reset and clear cache did not help
Debug message:
Thansk for help
Comment #7
jvieille CreditAttribution: jvieille commentedComment #8
mikeytown2 CreditAttribution: mikeytown2 commented@jvieille
have you tried installing the php c extension?
PHP 5.2 or lower: http://wayback.archive.org/web/20150912020924/http://www.ypass.net/softw... https://github.com/mfacenet/php-jsmin
PHP 5.3 and higher: https://github.com/sqmk/pecl-jsmin
Comment #9
jvieille CreditAttribution: jvieille commentedYes, when I read this thread, I installed Jsmin for php 5.3 (not the one directly accessible through the link, but the 1.1.0 version)
That did not help.
Comment #10
jvieille CreditAttribution: jvieille commentedI don't know if it is related, but there is no aggregation anymore.
I did a master reset, but no files are created when pressing "cache rebuild".
files/avagg directories are empty.
Comment #11
mikeytown2 CreditAttribution: mikeytown2 commented@jvieille
In this case I'd guess that you have aggregation disabled. If you can provide me the steps needed to reproduce this issue on a new D6 install that is the first step into solving the issue.
Comment #12
jvieille CreditAttribution: jvieille commentedI really don't know how this happened.
It use to work for years but failed recently while I was struggling with some performance improvement, touching some memcached settings.
I don't see what else could be involved.
I uninstalled and reinstalled the modules completely, wich did not help ( the settings were kept in the process, so the unistall does not seem to erase everything).
No aggregation occur at all. However, my views can be edited with Advagg enabled, which is not possible when it is not, even with core's aggregation disabled (my other post)
I don't know if the JS Compress - Callback testing problem appeared at the same time.
Where should I look in the code to debug that?
Thanks you very much for taking care of resisting D6 users.
Comment #13
jvieille CreditAttribution: jvieille commentedEverything resume to work : the compress call back error has gone, aggregation operates.
Nothing has changed.
I have no clue what was messing up.
Comment #14
mikeytown2 CreditAttribution: mikeytown2 commentedClosing out as no good way to reproduce this
Comment #15
jvieille CreditAttribution: jvieille commentedI am hit again by this issue.
I used to solve through master reset and cache clearing.
Now nothing happens.
The function advagg_js_compress_test_file is not called at all, so nothing to debug.
I tried triggering the function using the menu url advagg/js_compress_test_file' and got this
Array#012(#012 [q] => advagg/js_compress_test_file#012)#012
Thanks for help
Comment #16
jvieille CreditAttribution: jvieille commentedI found the problem.
the callback is harcoded for http, making this feature not working on https only web sites.
I modified this function as follow
ALso need to change IP Address to send all asynchronous requests to : -1 in order to properly honor https certificates
Comment #17
jvieille CreditAttribution: jvieille commentedComment #18
Jaypan CreditAttribution: Jaypan at Jaypan commentedSetting status to active as it needs to be committed to code to be fixed.
Comment #19
mikeytown2 CreditAttribution: mikeytown2 commented