-
26 Nov 2012 4:02 AM #1
Sencha Touch 2.0.1 problem on Windows 7 IIS7
Sencha Touch 2.0.1 problem on Windows 7 IIS7
This is strange - up until now I have used Version 2.0.1.1 without issue. As packaging doesn't appear to work using that version, I've downloaded 2.0.1 last night and browsing to any examples (kitchen sink, etc.) doesn't work. When creating a new app using "sencha generate app test ./test" command I also get the same error when browsing to "test". The details are below.
REQUIRED INFORMATION
Ext version tested:- Sencha Touch 2.0.1
- Google Chrome on Windows 7 (IIS7)
Description:- Previously I have used Sencha Touch 2.0.1.1 without issue on same machine. I downloaded and installed 2.0.1 version and now get errors
in console when browsing any examples, i.e. in my address bar is "http://localhost/sencha/examples/device", and I get:
"Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/sencha/examples/device/app.json
Uncaught SyntaxError: Unexpected token < index.html:1"
I need the latest install to fix bugs when packaging for iOS as I believe version 2.0.1.1 contains bugs when packaging. Pleas see my post
for more info http://lalexgraham.wordpress.com/201...ing-windows-7/
- Download and extract the latest Sencha Touch Commerical release, then browse to examples
HELPFUL INFORMATION
Operating System- Windows 7
-
26 Nov 2012 6:28 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
You are getting a 404 when the Ajax is fired for the app.json. Sencha Touch isn't firing the 404, the server is.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
29 Nov 2012 1:23 PM #3
thanks for that. Adding the mime type json to IIS fixed the issue.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote