Results 1 to 3 of 3

Thread: Sencha Touch 2.0.1 problem on Windows 7 IIS7

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User
    Join Date
    Mar 2011
    Location
    Birmingham, UK
    Posts
    46
    Vote Rating
    1
      0  

    Default 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

    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/201...ing-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

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha Premium User
    Join Date
    Mar 2011
    Location
    Birmingham, UK
    Posts
    46
    Vote Rating
    1
      0  

    Default

    thanks for that. Adding the mime type json to IIS fixed the issue.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •