1. #1
    Sencha User
    Join Date
    Aug 2012
    Location
    Skopje, Republic of Macedonia
    Posts
    3
    Vote Rating
    0
    icemanblas is on a distinguished road

      0  

    Default Unanswered: Problem with Container.js

    Unanswered: Problem with Container.js


    Hi,

    I need little help, I'm developing simple Login app. Everything was OK, then suddenly the app won't run in any browser. Here is the error log (Google Chrome):

    [COLOR=red !important]Failed to load resource: the server responded with a status of 404 (Not Found[/COLOR]

    http://localhost:46333/Lib/ST2/src/app/Container.js?_dc=1345118598760
    [COLOR=red !important]
    Uncaught Error: [Ext.Loader] Failed loading 'http://localhost:46333/Lib/ST2/src/app/Container.js', please verify that the file exists [/COLOR]
    sencha-touch-debug.js:7908


    I'm using Lib/ST2 folder as framework location. I'm new to Sencha Touch 2 and I don't know what is the cause, I assume there is no 'Container.js' file in src/app directory. Any help is appreciated.

    Thanks in advance

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,154
    Vote Rating
    475
    Answers
    685
    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


    Have you checked the path, it is valid?
    What changed to make it quit working?

    You had to have changed something for 'suddenly' to happen.

    Scott.

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Location
    Skopje, Republic of Macedonia
    Posts
    3
    Vote Rating
    0
    icemanblas is on a distinguished road

      0  

    Default


    I did too many changes, I even don't know what might be causing the error. I checked, the path to the framework folder is valid, but the file itself is missing. I'll keep looking for the possible reason, but thanks anyway.

  4. #4
    Sencha User
    Join Date
    Aug 2012
    Location
    Skopje, Republic of Macedonia
    Posts
    3
    Vote Rating
    0
    icemanblas is on a distinguished road

      0  

    Default


    Oh boy, in one of the .js files I somehow managed to type "extend: Ext.app.Container", instead of "extend: Ext.Container", so i figured out this is causing the problem, that's why browsers keep looking for ".../src/app/Container.js" and the file does not exist.

    So I guess this post is closed.

  5. #5
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,154
    Vote Rating
    475
    Answers
    685
    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


    It is always the simply things that cause the most headaches .

    Thanks for the update.

    Scott.

Thread Participants: 1