PDA

View Full Version : Sencha Touch 2.0.1 problem on Windows 7 IIS7



lalexgraham
26 Nov 2012, 4:02 AM
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

Browser versions tested against:

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/2012/11/21/packaging-a-sencha-touch-app-for-ios-using-windows-7/

Steps to reproduce the problem:

Download and extract the latest Sencha Touch Commerical release, then browse to examples





HELPFUL INFORMATION




Operating System

Windows 7

mitchellsimoens
26 Nov 2012, 6:28 AM
You are getting a 404 when the Ajax is fired for the app.json. Sencha Touch isn't firing the 404, the server is.

lalexgraham
29 Nov 2012, 1:23 PM
thanks for that. Adding the mime type json to IIS fixed the issue.