Jump to content

LJDP

Members
  • Posts

    23
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

LJDP's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. LJDP

    Grid multiline

    Thanks Zilav.
  2. LJDP

    Grid multiline

    How I can use multiline (Multiline in row) and formated text in Grid. If the solution is to use html grid in frame: How I can call a Delphi function from <a href...> tag? Sencha sample: http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/grid/paging.html thks.
  3. LJDP

    Deploying on IIS

    True, in iis 7 I put the "Process Model -> Idle Time out (minutes)" with 0.
  4. Solved !!!! thanks for your help and fantastic work. The problem was in the database connection components (IbObjects) with ISAPI. They need to use TIB_Session component. For future searchs: http://www.ibobjects.com/ibo_help/useiboinanisapimodule.htm http://tech.groups.yahoo.com/group/IBObjects/msearch?query=isapi&submit=Search&charset=ISO-8859-1
  5. Have a bug in blog: "0.87.0" uniGUI Version 0.87.0 is available for public download.
  6. I change //UniSession.AddJS('location.href=''http://google.com'''); for uniapplication.terminate; and the result is slightly better but still failed. To give you an idea of ​​the problem I sent an email to info@unicui.com with pdf with the events that occurs on the server. You can see them and give me your opinion? Thx.
  7. Sometimes yes and sometimes not. But the error always occurs at startup. It has happened: localhost be working normally. On a client has error on startup and this client can not work until you restart the isapi. I'm still working normally on localhost and only I have problems if I close the application and try open it again. It's very strange... It takes 4 days trying to fix it but ...
  8. It is possible that if the user re-enters the page before of time out produce the error I'm trying to solve? I do not mean to use the Back button, but by directly entering the url or clicking on a link from another page. This is the log: [Wed Jan 25 10:05:34 2012] [error] [client 192.168.4.4] Premature end of script headers: Programa.dll [Wed Jan 25 10:05:34 2012] [warn] [client 192.168.4.4] ISAPI: HSE_STATUS_ERROR result from HttpExtensionProc(): C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/Programa.dll [Wed Jan 25 10:06:03 2012] [error] [client 80.24.113.46] Premature end of script headers: Programa.dll [Wed Jan 25 10:06:03 2012] [warn] [client 80.24.113.46] ISAPI: HSE_STATUS_ERROR result from HttpExtensionProc(): C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/Programa.dll [Wed Jan 25 10:07:13 2012] [error] [client 127.0.0.1] Premature end of script headers: programa.dll, referer: http://localhost/cgi-bin/programa.dll [Wed Jan 25 10:07:13 2012] [warn] [client 127.0.0.1] ISAPI: HSE_STATUS_ERROR result from HttpExtensionProc(): C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/programa.dll, referer: http://localhost/cgi-bin/programa.dll
  9. I'm doing tests and refactor the application entry, so far with little success, but still trying ... One question: With this method close sessión an redirect or session stop when timeout? procedure TMainForm.UniButton2Click(Sender: TObject); begin UniSession.AddJS('location.href="http://www.google.com"'); end;
  10. Besides, after this errror 500 I need Restart the web server (IIS 7 or Apache 2.2) because I get the message: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
  11. My scenario is: 1. User close sesión and redirect to an other url. With this method close sessión an redirect or session stop when timeout? procedure TMainForm.UniButton2Click(Sender: TObject); begin UniSession.AddJS('location.href="http://www.google.com"'); end; 2. User want return to de unigui page. It´s needed manual start new session or it´s automatic? In case of manual start: where and how I can start a new sessión. In this second point I get the random error of first post. Not always, only sometimes.
  12. This close actual session?. It´s a safe method for terminate user session? About this: You must start a new session. With that method, and that unit: Main.oncreate, MainModule.oncreate? Thx.
  13. Continuous random problem when close session and reopen it. Try close sesión with: UniSession.AddJS('location.href=''http://google.com'''); because need redirect navigation to an other page and with UniApplication.Terminate('Closed application'); I try windo3s2088 server with IIS7 and Apache 2.2. An random problem persist with this log: From Unigui: ProgramWeb: 000003B0: 14:33:48HttpExtensionProc:EAccessViolation : Access violation at address 01B6E044 in module 'ProgramWeb.dll'. Read of address 0000005C From Apache 2.2 server [Mon Jan 23 14:26:31 2012] [notice] Parent: Received restart signal -- Restarting the server. [Mon Jan 23 14:26:31 2012] [notice] Child 2852: Exit event signaled. Child process is ending. httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.3.2 for ServerName [Mon Jan 23 14:26:31 2012] [notice] Apache/2.2.21 (Win32) configured -- resuming normal operations [Mon Jan 23 14:26:31 2012] [notice] Server built: Sep 9 2011 10:26:10 [Mon Jan 23 14:26:31 2012] [notice] Parent: Created child process 228 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.3.2 for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.3.2 for ServerName [Mon Jan 23 14:26:32 2012] [notice] Child 228: Child process is running [Mon Jan 23 14:26:32 2012] [notice] Child 228: Acquired the start mutex. [Mon Jan 23 14:26:32 2012] [notice] Child 228: Starting 64 worker threads. [Mon Jan 23 14:26:32 2012] [notice] Child 2852: Released the start mutex [Mon Jan 23 14:26:33 2012] [notice] Child 2852: All worker threads have exited. [Mon Jan 23 14:26:33 2012] [notice] Child 2852: Child process is exiting [Mon Jan 23 14:26:33 2012] [notice] Child 228: Starting thread to listen on port 80. [Mon Jan 23 14:27:36 2012] [error] [client 192.168.4.4] C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico is not executable; ensure interpreted scripts have "#!" or "'!" first line, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:27:36 2012] [error] [client 192.168.4.4] (9)Bad file descriptor: don't know how to spawn child process: C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:27:38 2012] [error] [client 192.168.4.4] C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico is not executable; ensure interpreted scripts have "#!" or "'!" first line, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:27:38 2012] [error] [client 192.168.4.4] (9)Bad file descriptor: don't know how to spawn child process: C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:27:38 2012] [error] [client 192.168.4.4] C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico is not executable; ensure interpreted scripts have "#!" or "'!" first line, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:27:38 2012] [error] [client 192.168.4.4] (9)Bad file descriptor: don't know how to spawn child process: C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:27:42 2012] [error] [client 192.168.4.4] C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico is not executable; ensure interpreted scripts have "#!" or "'!" first line, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:27:42 2012] [error] [client 192.168.4.4] (9)Bad file descriptor: don't know how to spawn child process: C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:27:43 2012] [error] [client 192.168.4.4] C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico is not executable; ensure interpreted scripts have "#!" or "'!" first line, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:27:43 2012] [error] [client 192.168.4.4] (9)Bad file descriptor: don't know how to spawn child process: C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:28:00 2012] [error] [client 127.0.0.1] C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico is not executable; ensure interpreted scripts have "#!" or "'!" first line, referer: http://localhost/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:28:00 2012] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico, referer: http://localhost/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:28:02 2012] [error] [client 192.168.4.4] C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico is not executable; ensure interpreted scripts have "#!" or "'!" first line, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:28:02 2012] [error] [client 192.168.4.4] (9)Bad file descriptor: don't know how to spawn child process: C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico, referer: http://192.168.3.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:30:12 2012] [error] [client 127.0.0.1] C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico is not executable; ensure interpreted scripts have "#!" or "'!" first line, referer: http://localhost/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:30:12 2012] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/img/80.ico, referer: http://localhost/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:30:19 2012] [error] [client 192.168.4.4] Premature end of script headers: ProgramWeb.dll [Mon Jan 23 14:30:19 2012] [warn] [client 192.168.4.4] ISAPI: HSE_STATUS_ERROR result from HttpExtensionProc(): C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:30:23 2012] [error] [client 192.168.4.4] Premature end of script headers: ProgramWeb.dll [Mon Jan 23 14:30:23 2012] [warn] [client 192.168.4.4] ISAPI: HSE_STATUS_ERROR result from HttpExtensionProc(): C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:31:08 2012] [error] [client 192.168.4.4] Premature end of script headers: ProgramWeb.dll [Mon Jan 23 14:31:08 2012] [warn] [client 192.168.4.4] ISAPI: HSE_STATUS_ERROR result from HttpExtensionProc(): C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:31:18 2012] [error] [client 192.168.3.2] Premature end of script headers: ProgramWeb.dll [Mon Jan 23 14:31:18 2012] [warn] [client 192.168.3.2] ISAPI: HSE_STATUS_ERROR result from HttpExtensionProc(): C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/ProgramWeb.dll [Mon Jan 23 14:31:18 2012] [error] [client 192.168.3.2] File does not exist: C:/Archivos de programa/Apache Software Foundation/Apache2.2/htdocs/favicon.ico [Mon Jan 23 14:31:21 2012] [error] [client 192.168.3.2] File does not exist: C:/Archivos de programa/Apache Software Foundation/Apache2.2/htdocs/favicon.ico I see this thred about ISAPI / Multi processor problem and I do not know if this may be the cause: http://www.delphigroups.info/2/5/337564.html I use IbObjects. See http://www.ibobjects.../ibowhatis.html What's your opinion. Thanks.
  14. I had a bug in my code: sleep(0) Sorry for my mistake and thanks for your help.
  15. I've done. View dfm: object Espera: TUniScreenMask AttachedControl = BCorreo Enabled = True DisplayMessage = 'Enviando eMail' Left = 218 Top = 72 end
×
×
  • Create New...