Browser Issue
Posted: 09 October 2010 10:24 AM   [ Ignore ]
Wallflower
Avatar
Rank
Total Posts:  8
Joined  2010-09-29

Well for me anyway.  I have a form that renders as it should in Safari and Firefox but does not render the safecracker output in Internet Explorer 8.  In IE the page renders with the following error: Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Sat, 9 Oct 2010 05:20:15 UTC


Message
: Syntax error
Line
: 57
Char
: 58
Code
: 0
URI
: http://www.belmontss.eq.edu.au/ee/index.php/site/class_data


Message: 'EE' is undefined
Line
: 63
Char
: 136
Code
: 0
URI
: http://www.belmontss.eq.edu.au/ee/index.php/site/class_data


Message: Object doesn't support this property or method
Line: 16
Char: 5
Code: 0
URI: http://www.belmontss.eq.edu.au/ee/index.php/site/class_data 

The URL to the page in question is as above.  The code produced in the IE output is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html >
<
head>
<
title>Belmont State School</title>
<
meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<
link rel='stylesheet' type='text/css' media='screen' href='http://www.belmontss.eq.edu.au/ee/index.php?css=site/stylesheet.v.1286410309' />
<!-- include 
jQuery library -->
[removed][removed]
 
<!-- include Cycle plugin -->
[removed][removed]
 
<!--  initialize the slideshow when the DOM is ready -->
[removed] 
$(document).ready(function() {
    
$('.slideshow').cycle({
        fx
: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
    
});
});
[removed]
<style type="text/css"> 
body { background:#FFF (http://www.belmontss.eq.edu.au/ee/images/interface/bg.gif) repeat-x;}
</style>
</
head>
<
body>
<
div id="container">
  <
div class="resaise">
    <
div class="header">
      <
div class="logo_menu">
        <
div class="logo">
          <
h2>Belmont SS</h2>
          <
div class="desc">Strive to Excel</div>
        </
div>
        <
div class="menu">
        <
ul><li><a href='http://www.belmontss.eq.edu.au/ee/index.php'>Home</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/welcome/'>Information</a><ul><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/school_profile/'>About The School</a></li><li><a href='/contact_us/'>Contact Us</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/welcome/'>From the Principal</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/school_history/'>School History</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/AutoIndex' target='_blank'>Newsletters</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/wiki'>Wiki</a></li></ul></li><li><a href='http://www.belmontss.eq.edu.au/ee/calendar' target='_blank'>Calendar</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/pandc/'>Community</a><ul><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/under_construction/'>Our P and C</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/oshc/'>OSHC</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/tuckshop'>Tuckshop</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/under_construction/'>Uniform and Bookshop</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/under_construction/'>Fundraising</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/under_construction/'>Showtime Carnival</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/under_construction/'>Buildings and Grounds</a></li></ul></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/welcome/'>Enrolment</a></li><li><a href='http://www.belmontss.eq.edu.au/ee/index.php/forums' target='_blank'>Forums</a></li></ul>
        
 
          <
div class="cls"></div>
        </
div>
      </
div>
 
<
br /><br /><br /><br />
<
div align="center"><h2>Belmont State School</h2>
<
h3>Parent Consideration Request Form</h3>
<
h4>Student Placement 2011</h4>
</
div>
<
p>Parents are invited to provide information to the school they feel relevant to the placement of their child in 2011.  Please note, the provision of this information will be used by the school in conjunction with all other sources of information, including relevant Education Queensland requirements in the forming of classes in 2011.</p>
<
p>The completion of this form is purely voluntary and does not imply that requests will or can be met.</p>
<
link href="http://www.belmontss.eq.edu.au/ee/index.php/css/_ee_saef_css" type="text/css" rel="stylesheet" media="screen" />
[removed][removed]
[removed][removed]
<class="safecracker">
<
div id="safecracker">
[removed] 
// <![CDATA[
$(document).ready(function() {
    
if (typeof SafeCracker == "undefined" || ! SafeCracker) };}
    
$.datepicker.setDefaults();
    $.
datepicker.setDefaults();
});
// ]]>
[removed]
<style tyle="text/css">.hasDatepicker{background:#fff url(http://www.belmontss.eq.edu.au/ee/themes/cp_themes/default/images/calendar_bg.gif) no-repeat 98% 2px;background-repeat:no-repeat;background-position:99%;}</style>[removed]$.createDatepickerTime=function(){a=new Date();b=a.getHours();c=a.getMinutes();if(c<10){c="0"+c;}if(b>12){b-=12;d=" PM";}else{d=" AM";}EE.date_obj_time=" '"+b+":"+c+d+"'";};$.createDatepickerTime();[removed]
</class>
</
div> 

Any pointers?

Cheers

Steve

Profile
 
 
Posted: 12 October 2010 01:34 AM   [ Ignore ]   [ # 1 ]
Wallflower
Avatar
Rank
Total Posts:  8
Joined  2010-09-29

Hello?

Profile
 
 
Posted: 12 October 2010 02:28 AM   [ Ignore ]   [ # 2 ]
Absolute Heartthrob!
Avatar
RankRankRankRankRank
Total Posts:  10369
Joined  2008-09-29

Aplogies. Rob usually monitors this forum and he gas been out of town for a few days. I will review the above and get back to you tonight. I’m currently out at dinner, but I will review and respond today.

Sorry again. We are usually very responsive.

 Signature 
Profile
 
 
Posted: 12 October 2010 04:53 AM   [ Ignore ]   [ # 3 ]
Wallflower
Avatar
Rank
Total Posts:  8
Joined  2010-09-29

Thanks Chris—appreciate your time and am impressed with the support smile

Cheers

Steve

Profile
 
 
Posted: 12 October 2010 07:23 AM   [ Ignore ]   [ # 4 ]
Absolute Heartthrob!
Avatar
RankRankRankRankRank
Total Posts:  10369
Joined  2008-09-29

Have you seen this post,

http://barrettnewton.com/forums/viewthread/971/

and this bug report?

http://expressionengine.com/bug_tracker/bug/14013/

 Signature 
Profile
 
 
Posted: 12 October 2010 08:23 AM   [ Ignore ]   [ # 5 ]
Wallflower
Avatar
Rank
Total Posts:  8
Joined  2010-09-29

Hi Chris

Thank you for the response.  I did have debug output set to 0 and changed it to 1.  Still seem to have the same issue i.e. form displays as it should in anything but IE 7 or 8.  Would love to tell my users to ditch IE big surprise but know that it won’t happen!  I will keep testing different options.

Steve

Profile
 
 
Posted: 12 October 2010 08:55 AM   [ Ignore ]   [ # 6 ]
Absolute Heartthrob!
Avatar
RankRankRankRankRank
Total Posts:  10369
Joined  2008-09-29

I’d try dumping the cache, restarting the browsers.

 Signature 
Profile
 
 
Posted: 12 October 2010 03:49 PM   [ Ignore ]   [ # 7 ]
Wallflower
Avatar
Rank
Total Posts:  8
Joined  2010-09-29

That appears to have done the trick, thank you smile

Profile