-
16 Aug 2012 4:17 AM #1
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
-
16 Aug 2012 1:15 PM #2Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,185
- Vote Rating
- 194
- Answers
- 433
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.
-
16 Aug 2012 11:24 PM #3
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.

-
16 Aug 2012 11:47 PM #4
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.
-
17 Aug 2012 7:21 AM #5Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,185
- Vote Rating
- 194
- Answers
- 433
It is always the simply things that cause the most headaches
.
Thanks for the update.
Scott.


Reply With Quote