1. #1
    Sencha User
    Join Date
    Apr 2012
    Location
    Orange Park, Fl
    Posts
    6
    Vote Rating
    0
    lrtyre is on a distinguished road

      0  

    Default Build Your First Desktop Application - Then Deploy to GoDaddy

    Build Your First Desktop Application - Then Deploy to GoDaddy


    Okay - probably because I'm a Newbie... but I've built the "Build Your First Desktop Application" deployed to a local directory (CarStoreWeb) as show below then copied all of that to my web hosting site (http://www.lakeridgesolutions.com/CarStoreWeb/app.html). The app runs but no data ever appears. Maybe a GoDaddy setting or is it just a newbie thing?

    Thanks
    ===================================================================================
    Directory of C:\inetpub\wwwroot\CarStoreWeb
    04/19/2012 03:32 PM <DIR> .
    04/19/2012 03:32 PM <DIR> ..
    04/19/2012 03:32 PM <DIR> app
    04/18/2012 11:56 AM 577 app.html
    04/18/2012 02:38 PM 876 app.js
    04/19/2012 03:31 PM 2,662 CarStore1.xds
    04/19/2012 03:32 PM <DIR> data
    3 File(s) 4,115 bytes
    Directory of C:\inetpub\wwwroot\CarStoreWeb\app
    04/19/2012 03:32 PM <DIR> .
    04/19/2012 03:32 PM <DIR> ..
    04/19/2012 03:32 PM <DIR> controller
    04/19/2012 03:32 PM <DIR> model
    04/19/2012 03:32 PM <DIR> store
    04/19/2012 03:32 PM <DIR> view
    0 File(s) 0 bytes
    Directory of C:\inetpub\wwwroot\CarStoreWeb\app\controller
    04/19/2012 03:32 PM <DIR> .
    04/19/2012 03:32 PM <DIR> ..
    04/18/2012 02:39 PM 1,218 MyController.js
    1 File(s) 1,218 bytes
    Directory of C:\inetpub\wwwroot\CarStoreWeb\app\model
    04/19/2012 03:32 PM <DIR> .
    04/19/2012 03:32 PM <DIR> ..
    04/18/2012 02:19 PM 787 CarChartModel.js
    04/18/2012 02:19 PM 1,077 CarDataModel.js
    2 File(s) 1,864 bytes
    Directory of C:\inetpub\wwwroot\CarStoreWeb\app\store
    04/19/2012 03:32 PM <DIR> .
    04/19/2012 03:32 PM <DIR> ..
    04/18/2012 02:26 PM 1,058 CarChartJson.js
    04/18/2012 02:19 PM 1,157 CarDataJson.js
    2 File(s) 2,215 bytes
    Directory of C:\inetpub\wwwroot\CarStoreWeb\app\view
    04/19/2012 03:32 PM <DIR> .
    04/19/2012 03:32 PM <DIR> ..
    04/18/2012 05:11 PM 5,369 CarListings.js
    04/18/2012 01:46 PM 698 Viewport.js
    2 File(s) 6,067 bytes
    Directory of C:\inetpub\wwwroot\CarStoreWeb\data
    04/19/2012 03:32 PM <DIR> .
    04/19/2012 03:32 PM <DIR> ..
    01/28/2012 04:28 PM 31,607 2004_Porsche_911_Carrera_type_997.jpg
    01/28/2012 04:28 PM 11,000 250px-2007_Audi_TT_Coupe.jpg
    01/28/2012 04:28 PM 13,275 250px-Audi_S5.jpg
    01/28/2012 04:28 PM 14,354 250px-BMW_M3_E92.jpg
    01/28/2012 04:28 PM 11,153 250px-Nissan_GT-R.jpg
    01/28/2012 04:28 PM 1,933 cars.json
    6 File(s) 83,322 byte

  2. #2
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    New Zealand
    Posts
    109
    Vote Rating
    15
    wayne.rudd will become famous soon enough

      0  

    Default


    GoDaddy won't serve up a .json file (for cars.json) - you can try changing the extension to .js or .txt

  3. #3
    Ext JS Premium Member corcoranp's Avatar
    Join Date
    Apr 2007
    Location
    Pleasant Grove, AL
    Posts
    25
    Vote Rating
    3
    corcoranp is on a distinguished road

      0  

    Default Modify your GoDaddy mime types

    Modify your GoDaddy mime types


    You might have to add .json to your hosting mime types.

    Windows Hosting:
    http://support.godaddy.com/help/6286?locale=en

    Linux Hosting:
    http://support.godaddy.com/help/article/375

    Hope that helps
    Peter M Corcoran

    ExtJs Developer since 2007
    www.corcoranp.com
    http://www.linkedin.com/in/corcoranp

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Location
    Orange Park, Fl
    Posts
    6
    Vote Rating
    0
    lrtyre is on a distinguished road

      0  

    Default


    Thanks corcoranp - you hit the nail on the head.

    Once I modified my web.config file on GoDaddy everything worked great. Here is what I added in <system.webServer>

    <staticContent>
    <remove fileExtension=".json" />
    <mimeMap fileExtension=".json" mimeType="application/x-javascript" />
    </staticContent>

    Hope this helps others.

  5. #5
    Sencha User
    Join Date
    Mar 2013
    Posts
    1
    Vote Rating
    0
    vijaybala is on a distinguished road

      0  

    Default Deploy to GoDaddy Unsuccessful

    Deploy to GoDaddy Unsuccessful


    Hello,

    I had a similar issue while deploying the Sencha Touch 2.1.1 examples to GoDaddy. The pages work perfectly on localhost after modifying web.config as described in the above thread. However, when deployed on GoDaddy.com, it redirects from the home page to "touch-2.1.1/examples/index.html", which renders as a blank page. All the other examples also render as blank pages.

    Any insight would be greatly appreciated.

    Regards,
    vijaybala

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi