OdontonetEs Posted January 31 Share Posted January 31 Hello, the following happens to me: I have deployed a UNIGUI module for Apache on a Linux server, everything has worked fine, except that when I open the application, certain controls are not updated, such as the TUniDBGRID control. I have a small dataset that I insert data into in the click event of a TuniButton, and it is not reflected in the grid. Is it possible that I am omitting something when deploying to the Linux server? On the Linux server I have copied the unigui libraries as follows: Thanks Quote Link to comment Share on other sites More sharing options...
OdontonetEs Posted January 31 Author Share Posted January 31 The strange thing is that if I look at the module log (.so) I get this error: [uniGUIApacheHandler[IP My Linux Server]]:EUniSessionException : Invalid session or session Timeout. (Invalid URI: /HandleEvent ) : Addr: $00007FEBC4FE2AC5 But the application as such does not stop working Quote Link to comment Share on other sites More sharing options...
OdontonetEs Posted January 31 Author Share Posted January 31 same application in standalone executable version Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 31 Administrators Share Posted January 31 Hello, What is the URL which is used to load your web app? Quote Link to comment Share on other sites More sharing options...
OdontonetEs Posted January 31 Author Share Posted January 31 https://vps6.odontonet.es/agendaweb2 Thank for reply Quote Link to comment Share on other sites More sharing options...
OdontonetEs Posted January 31 Author Share Posted January 31 Press the button and the dataset is filled with 11 records but the grid does not show it Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 31 Administrators Share Posted January 31 25 minutes ago, OdontonetEs said: Press the button and the dataset is filled with 11 records but the grid does not show it It seems to be a bug here. Checking.... Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 31 Administrators Share Posted January 31 In file uniGUIApache.pas please make following change: (Replace below array) HTTPRequestHeaders : array [1..58] of string = ( 'A-IM', 'Accept', 'Accept-Charset', 'Accept-Datetime', 'Accept-Encoding', 'Accept-Language', 'Access-Control-Request-Method', 'Access-Control-Request-Headers', 'Authorization', 'Cache-Control', 'Connection', 'Content-Encoding', 'Content-Length', 'Content-MD5', 'Content-Type', 'Cookie', 'Date', 'Expect', 'Forwarded', 'From', 'Host', 'HTTP2-Settings', 'If-Match', 'If-Modified-Since', 'If-None-Match', 'If-Range', 'If-Unmodified-Since', 'Max-Forwards', 'Origin', 'Pragma', 'Proxy-Authorization', 'Range', 'Referer', 'TE', 'Trailer', 'Transfer-Encoding', 'User-Agent', 'Upgrade', 'Via', 'Warning', 'Upgrade-Insecure-Requests', 'X-Requested-With', 'DNT', 'X-Forwarded-For', 'X-Forwarded-Host', 'X-Forwarded-Proto', 'Front-End-Https', 'X-Http-Method-Override', 'X-ATT-DeviceId', 'X-Wap-Profile', 'Proxy-Connection', 'X-UIDH', 'X-Csrf-Token', 'X-Request-ID', 'X-Correlation-ID', 'Save-Data', '_s_id', 'Unisessionid' ); Quote Link to comment Share on other sites More sharing options...
OdontonetEs Posted January 31 Author Share Posted January 31 Thanks, I'll try it in a few minutes and let you know. it also happened to me with the items of a TUniTreeMenu control that I use in a RADCORE project, do you think it would be solved with this change too? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 31 Administrators Share Posted January 31 3 minutes ago, OdontonetEs said: Thanks, I'll try it in a few minutes and let you know. it also happened to me with the items of a TUniTreeMenu control that I use in a RADCORE project, do you think it would be solved with this change too? Yes, both are same issue. Quote Link to comment Share on other sites More sharing options...
OdontonetEs Posted January 31 Author Share Posted January 31 It turned out perfect, greetings and thank you very much 1 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.