dionel1969 Posted June 27, 2011 Share Posted June 27, 2011 Hello !!! I have deploy an 1/3 of an application and I want to show final client how it is working to test it and to continue deployment. I was watching On-line help but I could not obtain good results. I have the following: In the Server: 1- IIS v6.0 2- d:\inetpub\wwwroot\extjs -> Ext JS library folder 3- d:\CoinMax -> Application runinng on port 62000 What I have to write in the ExtRoot property of ServerModule and ServerRoot ???? PS: When I try to stay property in blank state it become to "ext-x.y.z\" Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 27, 2011 Administrators Share Posted June 27, 2011 is it d:\inetpub\wwwroot\extjs or d:\inetpub\wwwroot\extjs\ext-3.3.0 Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 27, 2011 Author Share Posted June 27, 2011 is it d:\inetpub\wwwroot\extjs or d:\inetpub\wwwroot\extjs\ext-3.3.0 ext-3.3.0 is the same that extjs, I just rename it when I copy to the server folder (d:\inetpub\wwwroot). Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 28, 2011 Administrators Share Posted June 28, 2011 Then set ExtRoot -> d:\inetpub\wwwroot\extjs\ Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 Then set ExtRoot -> d:\inetpub\wwwroot\extjs\ I just did it, but it does not work. I inspect "page source" and I found this: <head> <title>Administración de Máquinas Tragamonedas</title> <meta http-equiv="content-type" content="charset=utf-8" /> <meta http-equiv="cache-control" content="no-cache" /><meta http-equiv="pragma" content="no-cache" /> <link rel=stylesheet href="ext-3.3.0/resources/css/uni-ext.css" /> <link rel=stylesheet href="ext-3.3.0/resources/css/ext-all.css" /> <script src="ext-3.3.0/adapter/ext/ext-base.js"></script> <script src="ext-3.3.0/ext-sync-1.2.3-min.js"></script> <script src="ext-3.3.0/ext-all.js"></script> <script src="ext-3.3.0/examples/ux/ux-all.js"></script> <link rel=stylesheet href="ext-3.3.0/resources/css/xtheme-blue.css" /> <link rel=stylesheet href="ext-3.3.0/examples/ux/css/ux-all.css" /> <style>body { background: #004080; }</style> <script src="ext-3.3.0/ext-unigui-1.2.3-min.js"></script> </head> As you can see the source for ExtRoot is still pointing to "ext-3.3.0/..." Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 I copied the folder extjs to inside the folder of application, I renamed it to ext-3.3.0, and recompile the program after change the property ExtRoot to "ext-x.y.z\" and does not work too. The application show the first "Loading..." but the background of web is always blue and the main application form does not appear. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 28, 2011 Administrators Share Posted June 28, 2011 I just did it, but it does not work. I inspect "page source" and I found this: As you can see the source for ExtRoot is still pointing to "ext-3.3.0/..." Actually not. "ext-3.3.0" is a signature used to detect ext js files. It is translated internally and will point to whatever path you assigned in ExtRoot. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 28, 2011 Administrators Share Posted June 28, 2011 I copied the folder extjs to inside the folder of application, I renamed it to ext-3.3.0, and recompile the program after change the property ExtRoot to "ext-x.y.z\" and does not work too. The application show the first "Loading..." but the background of web is always blue and the main application form does not appear. What is the ServerRoot parameter? Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 What is the ServerRoot parameter? ServerRoot is empty. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 28, 2011 Administrators Share Posted June 28, 2011 Is your app accessible from a global IP? If yes post the link so I can see what's the problem. Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 1- Let assume that I will put ext-3.3.0 inside the app folder, what I have to write in the ExtRoot property??? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 28, 2011 Administrators Share Posted June 28, 2011 I assume you have the following folder structure: c:\myapp\uniguiapp.dll <--- your application c:\myapp\ext-3.3.0 c:\myapp\ext-3.3.0\ext-all.js c:\myapp\ext-3.3.0\ext-unigui-1.2.5-min.js . . . In this case: ExtRoot -> ext-x.y.z\ ServerRoot -> blank Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 Let see: 1- http://gamera.no-ip.biz:85/coinmax <- A test page 2- http://gamera.no-ip.biz:85/coinmax/ext-3.3.0/index.html <- an index to ext js 3- http://gamera.no-ip.biz:62000 <- The App url PS: Also, when I trying to access inside the server with the address: http://localhost:62000 it does not work. From my machine work, also from other workstations. Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 I assume you have the following folder structure: c:\myapp\uniguiapp.dll <--- your application c:\myapp\ext-3.3.0 c:\myapp\ext-3.3.0\ext-all.js c:\myapp\ext-3.3.0\ext-unigui-1.2.5-min.js . . . In this case: ExtRoot -> ext-x.y.z\ ServerRoot -> blank I change it all to d:\inetpub\wwwroot\, but inside is "ext-3.3.0" folder as is and the properties are as you indicated. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 28, 2011 Administrators Share Posted June 28, 2011 I found the problem: file ext-unigui-1.2.3-min.js is missing. Probably you're using ext-3.3.0 folder from an older uniGUI distribution. Please copy the ext-3.3.0 folder from correct uniGUI version. Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 I found the problem: file ext-unigui-1.2.3-min.js is missing. Probably you're using ext-3.3.0 folder from an older uniGUI distribution. Please copy the ext-3.3.0 folder from correct uniGUI version. Ok, I saw it. I'm copying all the files again from my machine. Let me see. Thank you Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 Yes, it was the problem. It is working now. Must be in a week I will come to the end of this work, and it will my first app written in Delphi using UniGUI Framework. Thank you. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 28, 2011 Administrators Share Posted June 28, 2011 Good to hear. Btw, I see that you're using an older versiion of uniGUI. 0.85.0 is the current version and recommended for all new developments. Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 Good to hear. Ok Btw, I see that you're using an older versiion of uniGUI. 0.85.0 is the current version and recommended for all new developments. This is the string that I have in the UniGUIVersion of ServerModule: 0.85.0 build 862. I think that I have the last version, because two weeks a ago I change it using your recomendations. May be the copy of extjs is not the last. I just copied all files. How to know what version I have in the server???? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 28, 2011 Administrators Share Posted June 28, 2011 newest buiild is: 0.85.0.874 Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 newest buiild is: 0.85.0.874 You wrote this in the Beta Release Thread: There is no 0.86 build available for download yet, but I plan to release the first build in few days. So, may be I will wait "few days" to update to 0.86???? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 28, 2011 Administrators Share Posted June 28, 2011 Maybe, but first builds of 0.86 may not be stable for production use. Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 Maybe, but first builds of 0.86 may not be stable for production use. From where can I download the latest 0.85 version???? I was looking in the beta release thread and I did not find it. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 28, 2011 Administrators Share Posted June 28, 2011 From same link you downloaded 0.85 Quote Link to comment Share on other sites More sharing options...
dionel1969 Posted June 28, 2011 Author Share Posted June 28, 2011 From same link you downloaded 0.85 I just recompiled the framework packages and obtain some error also related to some uniguixxx.dll. Then when I recompiled the same app, I obtain this warnings: (see attachment) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.