Jump to content

Recommended Posts

Posted

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

Posted

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
Posted

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

  • Administrators
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...