-
AuthorPosts
-
sharpdome Friend
sharpdome
- Join date:
- December 2010
- Posts:
- 247
- Downloads:
- 6
- Uploads:
- 4
- Thanks:
- 62
- Thanked:
- 5 times in 1 posts
May 15, 2011 at 5:05 pm #164029I’m running a live site now with JA Social which worked just fine in development but now under load after a few hours the entire CSS breaks. I’ve used Firebug and in viewing the joined CSS there are huge chunks of it that are missing. It looks like some of the CSS files are not being included when things break.
The problem seems to happen when I’ve left a browser window open on a page for some time and then reload it after an hour or so. Navigating to other pages in the site works fine. It only seems to be an issue on that one page that was left open. I’ve seen the issue occur using both Firefox and IE. It looks like the default JAT3 template is used and the JA Social template I’ve customized is missing.
Only clearing the cache in the backend makes the site render correctly again. This is a major bug. Please help!
I’ve attached a zip containing the broken and working version of the css.
http://2cg8axvm.esljobsworld.com/
sharpdome Friendsharpdome
- Join date:
- December 2010
- Posts:
- 247
- Downloads:
- 6
- Uploads:
- 4
- Thanks:
- 62
- Thanked:
- 5 times in 1 posts
May 17, 2011 at 2:54 pm #391645Any update?
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
May 18, 2011 at 1:53 am #391703Hi Sharpdome!
I don’t understand your bug clearly. I have checked your site and it works well now. Have you enabled cache?
sharpdome Friendsharpdome
- Join date:
- December 2010
- Posts:
- 247
- Downloads:
- 6
- Uploads:
- 4
- Thanks:
- 62
- Thanked:
- 5 times in 1 posts
May 18, 2011 at 3:21 pm #391832Both Joomla cache and JA Social cache are enabled.
The problem with the template not rendering correctly is not there when Optimize CSS is No or Linked Files. The problem only happens when Optimize CSS is Join & Minify or Join and Minify and Compress.
Also, when CSS is Join and Minify and Compress the backgrounds of JATypo buttons disappear.
I’ve attached a screenshot.
sharpdome Friendsharpdome
- Join date:
- December 2010
- Posts:
- 247
- Downloads:
- 6
- Uploads:
- 4
- Thanks:
- 62
- Thanked:
- 5 times in 1 posts
May 23, 2011 at 7:41 pm #392513Can someone please help?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 23, 2011 at 7:59 pm #392518I cannot replicate your problem. I am guessing that there may be 2 components interacting. I doubt it is because you have left a browser window open.
It is going to be almost impossible for us to diagnose intermittant problems especially when we cannot replicate it. Maybe we can narrow it down though.
Does this only occur on one specific page or on pages where a specific component is loaded?
If that is the case try adding exceptions to the css optimization just or that component.
sharpdome Friendsharpdome
- Join date:
- December 2010
- Posts:
- 247
- Downloads:
- 6
- Uploads:
- 4
- Thanks:
- 62
- Thanked:
- 5 times in 1 posts
May 24, 2011 at 4:44 am #392576Hi Phil,
1. The only other thing I’m running is your Job Board extension, which has its own cache. Is it possible that it’s conflicting with the JAT3 cache? I also saw this today in the error logs of my web server when the problem was happening:
[Mon May 23 11:30:53 2011] File does not exist: /home/esljw/public_html/2Cg8aXvM/t3-assets/css3d11b.css
That seems to link up with it being some sort of cache bug, where some part of the system thinks a .css is cached, but in fact it’s no longer there.
2. You should be able to replicate the missing button backgrounds. That happens every time when Optimize CSS is Join & Minify or Join and Minify and Compress.
Thanks for your help!
-David
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 24, 2011 at 7:17 am #392593It is possible. Try adding that to the exceptions list.
sharpdome Friendsharpdome
- Join date:
- December 2010
- Posts:
- 247
- Downloads:
- 6
- Uploads:
- 4
- Thanks:
- 62
- Thanked:
- 5 times in 1 posts
May 24, 2011 at 2:45 pm #392682Hi Phil, just to be clear, are you saying to add the JoomlArt Job Board extension to the exceptions list?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 24, 2011 at 7:06 pm #392717Yes, just the css files from that extension. If they are cached elsewhere it may be the cause of your problems.
sharpdome Friendsharpdome
- Join date:
- December 2010
- Posts:
- 247
- Downloads:
- 6
- Uploads:
- 4
- Thanks:
- 62
- Thanked:
- 5 times in 1 posts
May 24, 2011 at 7:44 pm #392723So put the Job Board css files into the Optimize Exclude box under Css & Javascript Compress? And leave Cache Exclude under System Settings empty?
Also, when I enable all the CSS/JS Join/Minify/Compress options, both Yahoo’s YSlow and Google’ Page Speed show a single css and a single js files but also report that are not getting gzip compressed. How do you get the gzip compression to work?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 24, 2011 at 8:22 pm #392728The gzip compression is enabled in the Joomla global settings but it will only work if your server supports it.
And yes to your first question.
sharpdome Friendsharpdome
- Join date:
- December 2010
- Posts:
- 247
- Downloads:
- 6
- Uploads:
- 4
- Thanks:
- 62
- Thanked:
- 5 times in 1 posts
May 26, 2011 at 12:10 am #392918OK, I’ve got the following css files now in the optimize exclude filter:
ja.jobboard.css
ja.job_filter.css
style.css
mod_jajobs_counter.css
ja.job_filter.css
ja.list_employers.css
ja.list_jobs.cssI’m also noticing 2 compressed css files in Firebug, one of which has a ?v=2 at the end of it. I’ve also seen it where it’s ?v=6. Should there be more than one compressed css file?
The template also still breaks. Looking in Firebug I can see two of the excluded .css files are missing which is causing the page to render incorrectly. These two css files are the ones that are being dropped:
<blockquote><link rel=”stylesheet” href=”/components/com_jajobboard/views/jaresumes/tmpl/themes/inline-light/style.css” type=”text/css” />
<link rel=”stylesheet” href=”/components/com_jajobboard/views/japrofiles/tmpl/themes/inline-light/style.css” type=”text/css” /></blockquote>And they definitely relate to the visual problems on the page. The rest of the page looks fine. It’s only these areas that rely on these css files that break.
Welcome your advice about how to move forward.
sharpdome Friendsharpdome
- Join date:
- December 2010
- Posts:
- 247
- Downloads:
- 6
- Uploads:
- 4
- Thanks:
- 62
- Thanked:
- 5 times in 1 posts
May 26, 2011 at 1:19 am #392921Did some digging in the Job Board files that call those css files. They’re both modules and had the css link directly in the code which put it in the middle of the BODY tag. I changed it to use JHTML::stylesheet to put it in the HEAD. Will let you know what happens.
sharpdome Friendsharpdome
- Join date:
- December 2010
- Posts:
- 247
- Downloads:
- 6
- Uploads:
- 4
- Thanks:
- 62
- Thanked:
- 5 times in 1 posts
May 26, 2011 at 4:22 am #392932The template still breaks on those two css files. What do you suggest? 🙂
AuthorPostsThis topic contains 20 replies, has 3 voices, and was last updated by Phill 13 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum