1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    13
    Vote Rating
    0
    utkarshk.leeway is on a distinguished road

      0  

    Default Answered: namespace is undefined EXTJS4

    Answered: namespace is undefined EXTJS4


    Hi,

    i am facing problem "namespace is undefined" after uploading my working application from localhost to hostgator account. The complete application is working fine on my localhost however once uploded to proper hosting server, it is failing to load. I have uploaded all necessary files to be uploaded for EXTJS. my extjs version is 4. Please Help

    Regards
    UT

  2. PHP Code:
    xtype'ComboBox' 
    This widget not defined in you app.

  3. #2
    Sencha User
    Join Date
    Dec 2009
    Location
    Enschede, The Netherlands
    Posts
    327
    Answers
    16
    Vote Rating
    13
    flanders will become famous soon enough

      0  

    Default


    This is way to little information to even start helping you. Best guess would be that one of the javascript files is not getting loaded, but really an guess

    Since you say it is online, maybe you can post the url? If the code isn't minified yet, people can take a look

  4. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    13
    Vote Rating
    0
    utkarshk.leeway is on a distinguished road

      0  

    Default


    hi,

    thanks for your quick reply, here are the credentials for the application.

    http://www.leeweb20.com/appsystem/login.php
    username: admin@leewayhertz.com
    password:1234

    you can check it here.

    I have updated the latest working code from the local repo. Please see and suggest that what is missing.

    Thanks in advance.
    Regards
    UT

  5. #4
    Sencha User
    Join Date
    Nov 2011
    Posts
    13
    Vote Rating
    0
    utkarshk.leeway is on a distinguished road

      0  

    Default


    an update- i tried removing ext-debug-all.js and replacing with ext-all.js now it says "g is undefined"

  6. #5
    Sencha User
    Join Date
    May 2011
    Location
    Ukraine, Rivne
    Posts
    250
    Answers
    44
    Vote Rating
    42
    redraid has a spectacular aura about redraid has a spectacular aura about redraid has a spectacular aura about

      0  

    Default


    PHP Code:
    xtype'ComboBox' 
    This widget not defined in you app.

  7. #6
    Sencha User
    Join Date
    Nov 2011
    Posts
    13
    Vote Rating
    0
    utkarshk.leeway is on a distinguished road

      0  

    Default


    hi redraid,

    thanks for the reply, can you please tell me which .js file i have missed to define the xtype if you have found any particular js file

    THanks

  8. #7
    Sencha User
    Join Date
    Nov 2011
    Posts
    13
    Vote Rating
    0
    utkarshk.leeway is on a distinguished road

      0  

    Default


    Thanks a zillion redraid, it just worked. please tell me how u did debug it. that will be really great help.