Archived

This topic is now archived and is closed to further replies.

  • 0

IE 8 crashes

Question

Posted · Report post

I'm using Pagelines Framework with the iBlog Pro 5 child theme. I recently noticed that my site in IE8 will crash the browser if I add any code to the footer.php or the header & footer plugin that launches a JavaScript or if I put a plugin that ads a JavaScript code (like a Google Adsense Ad into a Post).
 
I also noticed that the IBlog Pro child theme doesn't display properly if viewed in WIn7 IE8 (testing from my PC at work) or in IE9 in IE8 simulated mode (tested by a commission house that was trying to troubleshoot why their JavaScript was crashing).
 
If I disable iBlog Pro it doesn't crash.
 
Using latest Framework and latest iBlog Pro 5 (5.2.5).  Latest version of WP (3.5.1)
 
Example page with issues (any page that is a post should do the same thing, though):
 
 
Thanks in advance,
-g

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Hi,
 
There is no need to edit any of the core files, this is something we do not recommend nor support. If you wish to add Javascript to the theme, then add the code here:
 
PageLines > Site Options > Custom Code > HeaderScripts
 
Before you edited the core files such as footer.php etc... did iBlogPro 5 crash ?
 
Would it be possible for you to provide the javascript that is causing the crash and also enable PageLines debug mode.
 
PageLines > Site Options > Advanced > Debug.

Share this post


Link to post
Share on other sites

Posted · Report post

I put the code in footer.php as a troubleshooting measure, before I used a third party plugin called headers and footers.  I just placed it in the footers section using your above suggestion with the same results.

 

Before I edited the core file footer.php iBlogPro did not crash.

 

Here is a javascript that is having an issue, but so is the Google AdSense one and the InfoLinks one.  Seems any JavaScript that I add is having an issue.  The three that are having problems are ones that monetize my site.

 

<script type="text/javascript" src="http://www.avantlink.com/ale/ale.php?ti=833&amp;ctc=FUNREVIEWS"></script>
 
I already have Pagelines Debug mode enabled.
be sure to use /funreviewsnet after my domain name.  I have the site offline while I'm working on it, it is not configured to be the default site in the root directory right now.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

As I mentioned above, we do not recommend editing the core files nor we do provide support when users have. You mention yourself that before editing the core files, iBlogPro didn't crash.

When you say you edited the footer.php file, I assume you're referring to the footer.php file in PageLines Framework ?

Share this post


Link to post
Share on other sites

Posted · Report post

OK.

 

I added javascript code via a plugin called "header and footer".  The browser crashes

 

Upon suggestion from a vendor's support team, they wanted me to try to add it via the footer.php.  I did to appease them, the browser crashes.

 

Using your recommendation (PageLines > Site Options > Custom Code >) I added it to the footer section.  Browser crashes.

 

If I remove the javascript the browser does not crash.  If I disable the theme, the browser does not crash.

 

I also noticed that the iBlog theme isn't displaying correctly on IE8.  I used a PC at work (WIn7 IE8), my brother's PC (XP x64 IE8) and one of the affiliate houses used Win7 IE9 in IE8 compatibility mode.  I see none of these issues on Firefox or Chrome.  However, I see a LOT of visitors using IE so I can't ignore the issue.  :)

 

Thanks,

-gw

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there

 

IBlog uses css3, a majority of which isn't supported by IE8 unfortunately, things like border-radius, gradients etc, so it will look different to the standard layout. The gradients might default to a block color, the rounded corners will be square etc.  

 

There's a thread which will explain the css3/ie debate in more depth here http://www.pagelines.com/forum/topic/20111-new-navbar-in-2-2-1-not-displaying-in-ie8/

 

I've pasted your script in to the standard framework and yes, it does break the site layout. You'll need to talk to the script author to see if they can offer an edit or a workaround to get it to work as intended.

Share this post


Link to post
Share on other sites