Hi, I was trying to create a simple EmbWeb project to test debugging but it hangs when I call a method from the browser.
To install embweb I did this:
fppkg update
fppkg install embweb
This creates the /.fppkg/lib/fpc/2.5.1/units/x86_64-linux/embweb and ~/.fppkg/lib/fpc/2.5.1/units/x86_64-linux/lnet directories containig compiled versions of embweb and lnet respectively.
After that, I opened Lazarus and added the package embweb, then rebuild.
The next step was going to Project -> New Project -> Web Application. Then, I added a new Web Module, an action (marked as default), compiled and run.
My project's name was "webproject1", the module "TFPWebModule1" and the action "TFPWebAction0", so, when called from the webbrowser I type this:
http://localhost:7004/webproject1/TFPWebModule1/TFPWebAction0
But instead of replying with the Response.Contents text I assigned to the Action, it hangs (enters into an infinite-loop). What can be causing this?.
If I type something wrong, for example http://localhost:7004/foo, I get this:
<html><head><title>404 Not Found</title></head><body> <h1>Not Found</h1>
<p>The requested URL was not found on this server.</p> </body></html>
Later I found This message is handled by lNet's http server.
I attached the test project I used for this test.
BTW. I'm using Ubuntu 11.04 - 64bits, with FPC and Lazarus from SVN trunk updated yesterday.
