IE9 refresh problem from Suffusion v4.0.3 - 4.0.6

Reports about issues that you encounter in Suffusion
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

IE9 refresh problem from Suffusion v4.0.3 - 4.0.6

Postby ethanicjournal » 15 Apr 2012, 06:12

I have a photoblog using Suffusion (www.basicshine.com).

I first noticed this refreshing issue after updating to version 4.0.5.
When I first enter my site, everything are okay an normal. But, after clicking on refresh button for a few times will cause:
a) navigation buttons below header: dropdown button missing
b) featured post slider: image and index number missing, only the empty frame plus next previous button remain.

If I click on the home button again, these element will be load properly again.
I then delete the theme and test again on older versions (from 4.0.4, to 3.9.6) and confirmed that it only happen from 4.0.3 onwards. No problem on version 4.0.2 and below.
I’ve run the test on three separate PCs (one running windows vista while the two other on windows 7). And by far, both PCs show the same issue on ie9 but not observed while using Google Chrome or Firefox.

I then installed Suffusion 4.0.6 and after testing it for over a day, I still found the same refresh issue on IE9.
After testing again with most of the settings in the theme option, I've found "Auto-generate CSS file for customization options" options will help reducing the rate of my site not loading properly.
I then tried to quantify the occurance rate (by pressing refresh button 30 times and note how many time the site will load properly), and below are my findings:

2/30 success for "Auto-generate the CSS and include it as a linked file".
4/30 success for "Auto-generate the CSS and link it as a file".
0/30 success for "Don't auto-generate the CSS, and link it in the HTML".
11/30 success for "Auto-generate the CSS and print it in the HTML source".
23/30 success for "Don't auto-generate the CSS, and print it in the HTML source".

I then remove the my additional stylesheet link from custom includes and re-run the test, resulting in:

12/30 success for "Auto-generate the CSS and include it as a linked file".
5/30 success for "Auto-generate the CSS and link it as a file".
12/30 success for "Don't auto-generate the CSS, and link it in the HTML".
23/30 success for "Auto-generate the CSS and print it in the HTML source".
25/30 success for "Don't auto-generate the CSS, and print it in the HTML source".

Is there anyway to force IE9 to load my site properly when clicking refresh button?

Thank you.
ethanicjournal
 
Posts: 14
Joined: 15 Apr 2012, 05:48

Re: IE9 refresh problem from Suffusion v4.0.3 - 4.0.6

Postby sayontan » 15 Apr 2012, 10:56

When you refresh do you do an F5 or a Ctrl + R? Do you see the same issue for my site on IE9? I checked your site on IE8 and saw no issues there (I don't have IE9 on this computer).

The type of problems you are describing lead me to suspect that some JS is not loading up correctly in IE9. If you check the diffs between 4.0.2 and 4.0.3, the only things that changed in suffusion.js are pertaining to the automatically calculated widths: http://themes.trac.wordpress.org/change ... ffusion.js. I seriously doubt that will cause this effect.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: IE9 refresh problem from Suffusion v4.0.3 - 4.0.6

Postby ethanicjournal » 15 Apr 2012, 23:36

Dear Sayontan,

I've been comparing between 4.0.2, 4.0.3 and 4.0.6.

I then notice that by replacing header.php with 4.0.2's the loading of navigation bar and slider controls are now much better (with 98/100 successive loads, while setting to the default Auto-generate the CSS and link it as a file (Low load on server, elegant page source code)).

A detailed comparison on the header.php codes show that the original <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> were replaced by the following since 4.0.3:

<!--[if IE 6]>
<html id="ie6" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 7]>
<html id="ie7" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html id="ie8" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<!--<![endif]-->

What does these codes will actually do?
If my understanding to php codes are correct, the first three parts of the codes says if ie X, then html id="ieX" and xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); respectively.
Then the last part say <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> if not ie7, 8 or 9.
Hence, these should be more like a html id assigning functions, right?

By replacing the version 4.0.2 header codes into 4.0.6 theme, will you expect any problem when there's no id="ie6, ie7 or ie8 in the header.php?
Or is there is other files that links to these id that I need to change to make the themes consistent?

Thank you.
ethanicjournal
 
Posts: 14
Joined: 15 Apr 2012, 05:48

Re: IE9 refresh problem from Suffusion v4.0.3 - 4.0.6

Postby sayontan » 16 Apr 2012, 00:35

Yup, these are strictly id assigning functions. In fact, for IE9 the first three conditions shouldn't hold and only the last one should be executed, which happens to be the exact same code as present in 4.0.2.

However, since you brought it up, I did notice a rather obtuse piece of coding:
Code: Select all
<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<!--<![endif]-->


Try changing it to:
Code: Select all
<!--[if !(IE 6) & !(IE 7) & !(IE 8) ]><!-->
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<!--<![endif]-->


Let me know if this improves things.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: IE9 refresh problem from Suffusion v4.0.3 - 4.0.6

Postby ethanicjournal » 16 Apr 2012, 09:24

Dear Sayontan,


The & version of the codes did not work...
I'm thinking, since no matter which ie were used the result will always be xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>

I then began testing with modified codes, but both still not working:

Test 1 (not working):
<!--[if IE 6]>
<html id="ie6" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 7]>
<html id="ie7" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html id="ie8" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<![endif]-->
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

Test 2 (not working):
<!--[if IE 6]>
<html id="ie6">
<![endif]-->
<!--[if IE 7]>
<html id="ie7">
<![endif]-->
<!--[if IE 8]>
<html id="ie8">
<![endif]-->
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

So far, it only wokr properly when no if functions.

Thank you.
ethanicjournal
 
Posts: 14
Joined: 15 Apr 2012, 05:48

Re: IE9 refresh problem from Suffusion v4.0.3 - 4.0.6

Postby sayontan » 16 Apr 2012, 15:06

Can you tell me what happens if you try loading my site? Try the Suffusion home page, as that has featured content.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: IE9 refresh problem from Suffusion v4.0.3 - 4.0.6

Postby ethanicjournal » 16 Apr 2012, 18:53

Dear Sayontan,

No problem when loading you site.
But, since you did not use featured slider, I can only confirm based on navigation bars.

Another thing I notice is that it seems to be related to my server loads since the css generation / handling options in site optimization will impact the loading.

Btw, I've now set to the last option ( "Don't auto-generate the CSS, and print it in the HTML source". ) while having custom css file link inserted into the first link in custom includes.
Using the 4.0.2 header.php file, this custom include + site optimization settings seems to give consistently very fast load speed for my site.
However, the custom include tab in the suffusion option remarks that I should set one of the three options that auto generate css.

I wonder any other thing went wrong on my settings? Because, my included css file should have no effect when I select "Don't auto-generate the CSS" options, right?

Thank you.
ethanicjournal
 
Posts: 14
Joined: 15 Apr 2012, 05:48

Re: IE9 refresh problem from Suffusion v4.0.3 - 4.0.6

Postby sayontan » 16 Apr 2012, 19:01

Well, I do use the featured slider on the Suffusion theme page.

ethanicjournal wrote:Because, my included css file should have no effect when I select "Don't auto-generate the CSS" options, right?

That is correct.

I believe you might want to try a caching plugin. For that you have to use the "generate CSS as a file" (the default option in 4.0.6). Maybe that will take care of things at your end.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: IE9 refresh problem from Suffusion v4.0.3 - 4.0.6

Postby ethanicjournal » 16 Apr 2012, 20:00

Dear Sayontan,

Thank you for the fast reply.
So, it does seems something strange when my .css file is working while on the don't generate css option?

And, any cache plugin that you would recommend which should work best with Suffusion?

And if all is still not working, what are the other files that I need to modify to remove dependency on html id?


Thank you again.
ethanicjournal
 
Posts: 14
Joined: 15 Apr 2012, 05:48


Return to Bug Reports

Who is online

Users browsing this forum: Google [Bot] and 1 guest