BUGFIX 364-02: CSS Compression does not happen if 'Allow debugging?' is 'Yes'
1 Attachment(s)
NOTE: This fix is not needed if you apply BUGFIX 364-03 since it is included in that fix.
UPDATED 2/27/11 - was missing some code change at the end - the ZIP file reflects the additional changes Thanks to mdmower for noticing this (note: this is NOT a critical fix it is cosmetic) Due to changes in the code in 3.6.x, if you set the 'ATO->Configure CSS & JS->Configure CSS & JS' option to 'Yes', the 'CSS: Compress' option will be ignored. To fix this, edit CSS.php and find line 11 which should be HTML Code:
!( isset($bfa_ata_debug) AND $bfa_ata['allow_debug'] == "Yes" ) ) { HTML Code:
!( $bfa_ata_debug == 1 AND $bfa_ata['allow_debug'] == "Yes" ) ) { HTML Code:
if ( $bfa_ata['css_compress'] == "Yes" AND HTML Code:
if ( $bfa_ata['css_compress'] == "Yes" AND |
I had high hopes for this but it didnt work. Im still getting this errror:
http://www.shelememorial.com/bug.png |
Your site is displaying perfectly for me. I'm using IE and FireFox.
|
lbleier - you have a different issue, do a forum search on 'suhosin'
|
Thank you, Juggledad
Much appreciated. |
BUGFIX 364-02 in css.php line 11 breaks the zebra striping in tables. (No alternate stripes)
Zebra striping works fine with the former code. |
The Zebra striping works fine with the new version.
|
Quote:
LAN |
Implemented
Quote:
and I now have the following..... <style type="text/css"><br>/*=========================================<br>isse t($bfa_ata_debug)=1<br>$bfa_ata_debug=<br>======== =================================<br>*/body{text-align:center;margin:0;padding:0;font-family:verdana,arial,sans-serif;font-size:13px;line-height:1.4;color:#333333;background:#0B3861;paddin g-top:20px;padding-bottom:20px}a:link,a:visited,a:active{color:#24006 B;font-weight:bold;text-decoration:none;}a:hover{color:#468F30;font-weight:bold;text-decoration:underline}ul,ol,dl,p,h1,h2,h3,h4,h5,h6{ margin-top:10px;margin-bottom:10px;padding-top:0;padding-bottom:0;}ul ul,ul ol,ol ul,ol ol{margin-top:0;margin-bottom:0}code,pre{font-family:"Courier New",Courier,monospace;font-size:1em}pre{overflow:auto;word-wrap:normal;padding-bottom:1.5em;overflow-y:hidden;width:99%}abbr[title],acronym[title]{border-bottom:1px dotted}hr{display:block;height:2px;border:none;mar gin:0.5em auto;color:#cccccc;background-color:#cccccc}table{font-size:1em;}div.post,ul.commentlist li,ol.commentlist li{w In Page Source View....... and Now W3C Validation shows 13 <br>isset($bfa_ata_debug)=1<br>$bfa_ata_… Errors What's happening :confused: |
BODY STYLE background colors are now (having only recently, today, created new STYLE site!) disabled and the font sizes have changed - reduced!!!!
All was fantastic - until uploaded and installed the above css.php.zip The BODY STYLE background colors now remain void. |
In the meantime, I have restored back to previous ATA 3.5.3. version and then deleted 3.6.4.
Re-installed 3.6.4. Voila!! Back to "normal" All in a jiffy :) I won't be re-installing this css.php fix |
I bad :(, that was caused by some debugging code I forgot to take out (sigh). I've removed it and this fix should be good. Not if you apply BUGFIX: 365-03 you don't need to apply this one since 365-03 includes this fix (and there is no debugging code in it :o)
Thanks Berean for picking up on that. |
Quote:
Thanks, Juggledad, :) I will take a look at 364-03 |
All times are GMT -6. The time now is 05:18 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.