Pink-El Posted March 11, 2016 Posted March 11, 2016 Hello, Build 1273 What is happened with paths? I copied my application to the server and it does not work. In the log: webwaiter.exe: 00000EDC: 18:43:46 [TUniServerModule]:Server First Init. webwaiter.exe: 00000EDC: 18:43:46 [TUniServerModule]:Erasing Cache Folder... webwaiter.exe: 00000EDC: 18:43:46 [TUniServerModule]:Cache Folder Erased. <0> Files deleted. webwaiter.exe: 00000EDC: 18:43:46 [TUniServerModule]:HTTP Server Started. webwaiter.exe: 000007E8: 18:43:55 []:TUniThemeProps: File not found: C:\unim\css\uni-sencha-touch.css webwaiter.exe: 000007E8: 18:43:55 [HandleFileRequest[127.0.0.1]]:File not found: C:\unim\css\uni-ext.css webwaiter.exe: 00000AC8: 18:43:55 [HandleFileRequest[127.0.0.1]]:File not found: C:\uni\ext-unicommon-min.js webwaiter.exe: 00000530: 18:43:55 [HandleFileRequest[127.0.0.1]]:File not found: C:\unim\locale\ext-lang-ukr.js webwaiter.exe: 0000062C: 18:43:56 [HandleFileRequest[127.0.0.1]]:File not found: C:\uni\ext-sync-min.js webwaiter.exe: 00000BD4: 18:43:56 [HandleFileRequest[127.0.0.1]]:File not found: C:\unim\touch-unigui-min.js Settings: ExtRoot:='.\[ext]'; UniRoot:='.\[uni]\'; UniMobileRoot:='.\[unim]\'; TouchRoot:='.\[touch]\'; unim and uni are located in the server root folder I tried to set path directly for Uniroot and Unimobileroot on my computer UniRoot:='c:\temp\uni\'; UniMobileRoot:='c:\temp\unim'; and I found in the log; webwaiter.exe: 000038C4: 18:48:52 []:TUniThemeProps: File not found: C:\Program Files (x86)\FMSoft\Framework\unigui\unim\css\uni-sencha-touch.css webwaiter.exe: 000038C4: 18:48:52 [HandleFileRequest[127.0.0.1]]:File not found: c:\temp\touch\resources\css\sencha-touch.css webwaiter.exe: 0000033C: 18:48:52 [HandleFileRequest[127.0.0.1]]:File not found: c:\temp\touch\sencha-touch-all.js webwaiter.exe: 000053A8: 18:48:52 [HandleFileRequest[127.0.0.1]]:File not found: C:\Program Files (x86)\FMSoft\Framework\unigui\unim\css\uni-ext.css webwaiter.exe: 00007878: 18:48:52 [HandleFileRequest[127.0.0.1]]:File not found: C:\Program Files (x86)\FMSoft\Framework\unigui\uni\ext-unicommon-min.js webwaiter.exe: 000054D8: 18:48:52 [HandleFileRequest[127.0.0.1]]:File not found: C:\Program Files (x86)\FMSoft\Framework\unigui\uni\ext-sync-min.js webwaiter.exe: 00004CF0: 18:48:52 [HandleFileRequest[127.0.0.1]]:File not found: C:\Program Files (x86)\FMSoft\Framework\unigui\unim\locale\ext-lang-uk.js webwaiter.exe: 00006290: 18:48:52 [HandleFileRequest[127.0.0.1]]:File not found: c:\temp\touch\packages\sencha-touch-grid\build\sencha-touch-grid.js webwaiter.exe: 00005024: 18:48:52 [HandleFileRequest[127.0.0.1]]:File not found: C:\Program Files (x86)\FMSoft\Framework\unigui\unim\touch-unigui-min.js How to fix it? Dmytro Quote
Administrators Farshad Mohajeri Posted March 11, 2016 Administrators Posted March 11, 2016 Hi Where do you set these paths? At deigner? Quote
Administrators Farshad Mohajeri Posted March 11, 2016 Administrators Posted March 11, 2016 Please review the new PDF. ".\[uni]\" = current app folder\uni- Quote
Administrators Farshad Mohajeri Posted March 11, 2016 Administrators Posted March 11, 2016 I will change this behavior so when "uni-\" folder is not found it will set to folder "uni\". Quote
Pink-El Posted March 11, 2016 Author Posted March 11, 2016 Hi Where do you set these paths? At deigner? No. Runtime procedure TUniServerModule.UniGUIServerModuleBeforeInit(Sender: TObject); begin ExtRoot:='.\[ext]'; UniRoot:='.\[uni]\'; UniMobileRoot:='.\[unim]\'; TouchRoot:='.\[touch]\'; end; I found problem. The name of the folder has to be uni-0.99.80.1273 and not depend what I wrote in UniGUIServerModuleBeforeInit event. I can not found a goal of this behavior. Dmytro Quote
Pink-El Posted March 11, 2016 Author Posted March 11, 2016 I will change this behavior so when "uni-<uniGUI version>\" folder is not found it will set to folder "uni\". yes you right but why c;\uni\? has to be uniroot\uni right? for example c:\temp\uni if UniRoot:='c:\temp\' Dmytro Quote
Administrators Farshad Mohajeri Posted March 11, 2016 Administrators Posted March 11, 2016 yes you right but why c;\uni\? has to be uniroot\uni right? for example c:\temp\uni if UniRoot:='c:\temp\' Dmytro I can not reproduce this. Above syntax should work. If you give a full path it will directly look under that path. Quote
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.