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
> 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
On Wed, 4 Apr 2012, Christian Kranich wrote:
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
>
> > 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
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
> 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.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/CGI-under-Linux-using-F
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
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
On Wed, 4 Apr 2012, Leonardo M. Ramé wrote:
Another tip for linux/unix. Try to run the CGI program from the command line,
it should output something similar to this:
Exception at 00497B3A: Exception:
No REQUEST_METHOD passed from server.
Otherwise there's an error in your code.
Be
Another tip for linux/unix. Try to run the CGI program from the command line,
it should output something similar to this:
Exception at 00497B3A: Exception:
No REQUEST_METHOD passed from server.
Otherwise there's an error in your code.
Leonardo M. Ramé
http://leonardorame.blogspot.com
On Wed, 4 Apr 2012, Christian Kranich wrote:
Hello All,
I just started to use FPC in a project requiring a Webinterface.
When porting the Lazarus/Win32 fpc-web examples (worked fine)
to X86/Linux(Ubuntu) and Arm-Linux, I started to struggle.
Under Linux, the cgi program terminates w/o any o
Hello All,
I just started to use FPC in a project requiring a Webinterface.
When porting the Lazarus/Win32 fpc-web examples (worked fine)
to X86/Linux(Ubuntu) and Arm-Linux, I started to struggle.
Under Linux, the cgi program terminates w/o any output and w/o any
errormessages. So Apache complai
12 matches
Mail list logo