[fpc-pascal] Re: CGI under Linux using FCL-Web

2012-04-04 Thread Christian Kranich
Case closed I simply was not aware that a certain amount of objects must be alive in an application to use FCL-WEB / CGI. If based (again) on the Lazarus samples and a Lazarus created 'CGIApplication' (with a Webmodule Form) - then it works just fine :-) Thx again for the fine support

[fpc-pascal] Re: CGI under Linux using FCL-Web

2012-04-04 Thread Christian Kranich
> You need to fill DataModuleRequest with code; It should put something in > response, and then call Response.SendResponse. If you don't, nothing will > happen. The source of the problem might be located in the unit between my ears ;-O Looks as if I misunderstood something. - FCL-Web is a Lazar

[fpc-pascal] Re: CGI under Linux using FCL-Web

2012-04-04 Thread Christian Kranich
> > > If I had debug writelns in the code, it complained about misformed > header format - showing the first debug output line) > > michael said: > * Do not attempt I/O to standard input/output/error. > Hello, Thx for the hint: I have already removed the writelns. (I was already aware that st

[fpc-pascal] Re: CGI under Linux using FCL-Web

2012-04-04 Thread Christian Kranich
Hello All, 1) Sorry, I posted no follow ups but fress posts (twice) before noticing. Will not repeat this. 2) just tried testcgiapp --input=mycgi.cgi This also returns silently w/o any other output. The path to the htmls is also valid. Where and how is the CGI input processed? I see only a TFPW

[fpc-pascal] CGI under Linux using FCL-Web

2012-04-04 Thread Christian Kranich
Hello Michael, Hello Leonardo, Thx for further suggestions: - I did this already (starting from commandline): In windows it came with an exception (like in leonardo's post) Under Linux it returns w/o _any_ output (not even an errormessage) At first I suggested any not compatible unit and com

[fpc-pascal] CGI under Linux using FCL-Web

2012-04-04 Thread Christian Kranich
Michael, Thank you for the fast response! and Many thanks for the _lots_ of work you have done for the project!! (Have the Lazarus and FPC books asside, but want to use the first direct contact for a BIG thank you...) The apache error log said Premature end of script headers (because the script

[fpc-pascal] CGI under Linux using FCL-Web

2012-04-04 Thread Christian Kranich
wheel... Currently I started copying the fcl-web sources to project folder and pinpointing with writelns to crosscheck what is running and what is not. Kind Regards, Christian Kranich ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.or