Recent

Author Topic: TModuledCGIApplication Error  (Read 4398 times)

RudieD

  • Full Member
  • ***
  • Posts: 234
TModuledCGIApplication Error
« on: February 13, 2006, 06:48:20 pm »
Hi,

Have any one tried the TModuledCGIApplication yet ?

I have Created a new TModuledCGIApplication and specified a OnCGIRequest event (and now even in the OnCreate I also set it again), but I keep getting the following error :
Code: [Select]

Error: : No CGI request handler set.
Stack trace:
$004015A2 TCGIDATAMODULE__HANDLEREQUEST, line 120 of cgiModules.pas
$00401443 TMODULEDCGIAPPLICATION__DORUN, line 93 of cgiModules.pas
$0043F827 TCUSTOMAPPLICATION__RUN, line 208 of inc/custapp.pp


I have traced it and it fails where it try to evaluate the OnCGIRequest that I have now set twice already.

Any Ideas why it keep on giving the error ?  :shock:
The FRED Trainer. (Training FRED with Lazarus/FPC)

RudieD

  • Full Member
  • ***
  • Posts: 234
RE: TModuledCGIApplication Error
« Reply #1 on: February 15, 2006, 04:03:22 pm »
It seems to me that the TCGIDataModule is not created correctly. If I specify a OnCreate or OnCGIRequest event, neither are assigned or executed.

I also noticed that in the cgiModules.pas the initialization section the Application is created and also in the project file that Lazarus has created.

Is there any one that can help my to get a sample CGI Application running under Lazarus ?
Pleeeeaaaassssseeee ?
The FRED Trainer. (Training FRED with Lazarus/FPC)

 

TinyPortal © 2005-2018