1. #1
    Sencha User
    Join Date
    Apr 2010
    Location
    Brazil
    Posts
    13
    Vote Rating
    0
    andre_mendesc is on a distinguished road

      0  

    Default My applications doesn't load in firefox

    My applications doesn't load in firefox


    Good morning everyone.


    My app doesn't load in firefox, when I visit the app URL, nothing pops out to screen and if I try do load the page with Firebug activated, it crashes firefox!


    Firefox version: 13.0
    Firebug version: 1.10.4


    My html headers:


    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
            <meta http-equiv="content-type" content="text/html; charset=utf-8" > </meta>
            <title></title>
            <link rel="stylesheet" type="text/css" href="./extjs/resources/css/ext-all.css"/>
            <script type="text/javascript" src="./extjs/ext-debug.js"></script>
            <script type="text/javascript" src="App.js"></script>
    </head>
    <body>
    
    
    
    
    <div id="chamada" align="center"> </div>
    <br /> <br />
    <div id="alunos"> </div>
    </body>
    </html>

    And it works just fine in Chrome 21.0.1180.89
    Does anyone has a hint about what could be causing this?


    Thanks!

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,873
    Vote Rating
    439
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Do you receive any error in the console? How about in Chrome .. any errors?

    Posting your HTML does not really provide any details into the reason your app does not load.
    Try using ext-dev.js instead ext-debug.js and check your console.

    Have you checked for syntax errors (extra / missing comma, etc) ?

    Scott.

  3. #3
    Sencha User
    Join Date
    Apr 2010
    Location
    Brazil
    Posts
    13
    Vote Rating
    0
    andre_mendesc is on a distinguished road

      0  

    Default


    Hello Scott, thanks for the reply.
    I receive no error in Google Chrome. In Chrome my app works perfectly.
    In Firefox, it crashes the whole browser if Firebug is activated when I load the application so, i have no idea if would display any error message. The same happens if I try to load Firebug after firefox start loading my page.

    The situation is: Fine in Chrome. Blank in Firefox if Firebug is off. Crashes the whole thing if Firebug is on.

    I'm not at work now but tomorrow I will try ext-dev..

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Location
    Moscow
    Posts
    8
    Vote Rating
    0
    digcode is on a distinguished road

      0  

    Default


    Try to remove console.log warn etc

  5. #5
    Sencha User
    Join Date
    Apr 2010
    Location
    Brazil
    Posts
    13
    Vote Rating
    0
    andre_mendesc is on a distinguished road

      0  

    Default I figured out

    I figured out


    Hello guys, I figured out, the problem was happening because I was loading data to store before onReady gets fired.
    So I just put the stores code inside onReady function and now it works perfectly on both Firefox and Google Chrome.
    Seems like I need to get rid of this old-style programming..


    Thanks!

Thread Participants: 2

Tags for this Thread