Hello,
I get a specific error when activating either one of the compressor modules (CSS and/or JS)
It gives me a red line on every site which says:
Notice: Use of undefined constant PHP_VERSION_ID - assumed 'PHP_VERSION_ID' in require_once() (Zeile 8 von /home/www/web100/html/sites/all/modules/advagg/advagg_js_compress/advagg_js_compress.advagg.inc).
Notice: Use of undefined constant PHP_VERSION_ID - assumed 'PHP_VERSION_ID' in advagg_js_compress_get_enabled_compressors() (Zeile 230 von /home/www/web100/html/sites/all/modules/advagg/advagg_js_compress/advagg_js_compress.advagg.inc).
Any help would be appreciated!
Thanks in advance.
Comment | File | Size | Author |
---|---|---|---|
#5 | advagg-2495057-4-fix-if-statements.patch | 2.26 KB | mikeytown2 |
#2 | advagg-2495057-1-fix-php-5.2.patch | 2.62 KB | mikeytown2 |
Comments
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedApply this patch, use the latest dev or use a version of php that is 5.2.7 or higher.
Comment #3
uubu CreditAttribution: uubu commentedSorry, I updated to the new Version 7x-2xdev but did not have any success.
My Webhoster is using PHP Version 5.2.6-1+lenny16 unfortunately.
I think the error message changes a bit:
Warning: constant() [function.constant]: Couldn't find constant PHP_VERSION_ID in advagg_js_compress_get_enabled_compressors() (Line 230 of /home/www/web100/html/sites/all/modules/advagg/advagg_js_compress/advagg_js_compress.advagg.inc).
Any other ideas?
Many thanks for your fast response!
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedThanks for being on top of this bug report. Fixed a bug with a couple of the if statements. This should make it work for you.