There is some information on what Michael mentions below here:
http://forum.lazarus.freepascal.org/index.php/topic,13312.15.html
It might help a little. The linked post has some explanation on the
different (3 ways) FCGI solutions with apache and fpc/lazarus.
AB
On 7/26/2014 05:47, Michael
Windows 8 64bit
Latest Lazarus SVN
1. make all (works OK)
2. make install
gives error when the copying of startlazarus.exe, lazbuild.exe,
lazarus.exe comes, because it tries to copy these files without
extension and that does not exist.
Renaming them to do not have extension fixes the issue
Thanks, this helped.
Using this disassembly-flavor variable I found this old thread on the
forums
http://www.lazarus.freepascal.org/index.php?topic=8741.0
and from there I was able to figure it out and set this in
Lazarus - Tools - Options - Debugger - General
The Debugger_Startup_Options
Is there a way to see the assembler debug window in Intel format instead
of ATT?
It seems the code is always displayed in ATT syntax.
Tried in Win32/Win64, latest SVN Lazarus and FPC build.
--
___
Lazarus mailing list
I did not check this, but is it possible that - due to fpc.cfg or
directory ordering, etc. - on Linux it pulls httpd from the wrong directory?
There are multiple httpd directories in FPC packages for different
Apache versions. You should delete all but the one you actually need so
the
michael.vancann...@wisa.be schrieb:
Javascript is not something you can avoid. People have come to expect a
certain functionality from a website, which can only be delivered with
Javasvript. If you don't provide it, your product will not sell. It's as
simple as that.
I doubt that. Just the
...snip...
Because I use the watch window. I display:
.
And the output looks quite good as well
The Watch List window is rather broken as far as I'm concerned.
http://bugs.freepascal.org/view.php?id=20230
http://bugs.freepascal.org/view.php?id=18380
On 8/11/2011 13:38, Marc Santhoff wrote:
Am Donnerstag, den 11.08.2011, 21:04 +0200 schrieb Marc Santhoff:
I know from memory there are some rich
client support techniques, but I forgot the names.
Found it it is ExtJS / ExtPascal.
Since I'm planning a program being some sort of feasibility
On 7/25/2011 16:57, silvioprog wrote:
Hi.
I'm trying to compile the fileupload demo of package fpweb, but I
have the following error:
-
webmodule.pas(133,11) Error: Identifier not found Template
-
My environment:
Lazarus 0.9.31 r31782 FPC 2.5.1
On 7/25/2011 18:21, silvioprog wrote:
2011/7/25 ABorkafpc-de...@aborka.com:
On 7/25/2011 16:57, silvioprog wrote:
Hi.
I'm trying to compile the fileupload demo of package fpweb, but I
have the following error:
-
webmodule.pas(133,11) Error: Identifier not found Template
On 6/15/2011 12:09, silvioprog wrote:
Oops, the correct title is:
GetTempDir return a partial path.
2011/6/15 silvioprogsilviop...@gmail.com:
Hi.
I trying to use the GetTempDir, but I get only partial result, e.g.:
\xampp\tmp\
Was to be:
C:\xampp\tmp\
How to I get the complete path of
...SNIP...
I trying to use the GetTempDir, but I get only partial result, e.g.:
\xampp\tmp\
Was to be:
C:\xampp\tmp\
How to I get the complete path of temp dir of server (Apache)?
GetTempDir returns the contents of the TEMP or TMP environment variable.
If you get one without drive, it is
...snip...
It is removed here.
Linux x86_64/qt, fpc 2.5.1, lazarus 31233.
ps: Sorry my google english (hehehe)
Mattias
Win32 has the problem here with latest SVN FPC and Lazarus.
AB
--
___
Lazarus mailing list
Back to the problem, using relative URL is not a solution as well. When I do
http://localhost/proj/proj.cgi/module/action then if somewhere I put
public/style/style.css then the link becomes:
http://localhost/proj/proj.cgi/module/public/style/style.css, regardless of
the webapp type (at least on
Set it in some constant? When the webmodule still wasn't working good
enough, I used defines with a constant.
I use an .ini file, but the same idea. There can be a lot of things that
a web app needs as a constant.
static paths, email server settings, template paths, url generation
parameters
I found the same bug in the LazSolutions, and i reported to the
developer,
who has answered me.
http://code.google.com/p/lazsolutions/issues/detail?id=22
He said, that bug is a IDE bug.
It is not a bug. It is correct behaviour.
The LazSolutionsRT should have the 'add to uses clause' flag not
On 6/2/2011 10:46, Leonardo M. Ramé wrote:
Michael, I added a webmodule to testhttp and got two problems.
1 - Could not determine HTTP module for request . Even if I call it
the same way as I use with fpCGI and fpEmbWeb.
This error usually happens when the project main program does not have
On 6/2/2011 10:46, Leonardo M. Ramé wrote:
Michael, I added a webmodule to testhttp and got two problems.
1 - Could not determine HTTP module for request . Even if I call it
the same way as I use with fpCGI and fpEmbWeb.
This error usually happens when the project main program does not have
On Fri, 3 Jun 2011, ABorka wrote:
On 6/2/2011 10:46, Leonardo M. Ramé wrote:
Michael, I added a webmodule to testhttp and got two problems.
1 - Could not determine HTTP module for request . Even if I call it
the same way as I use with fpCGI and fpEmbWeb.
This error usually happens when
On 6/2/2011 10:46, Leonardo M. Ramé wrote:
Michael, I added a webmodule to testhttp and got two problems.
1 - Could not determine HTTP module for request . Even if I
call it
the same way as I use with fpCGI and fpEmbWeb.
This error usually happens when the project main program does not
have
It will not fix your crash, but you are missing
Handled:=True;
from your action handler.
AB
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
On 5/26/2011 09:30, silvioprog wrote:
Hi.
I could never run a FastCGI module. :(
My steps (without success):
1. Download and install lasted XAMPP;
2. Download http://www.fastcgi.com/dist/mod_fastcgi-2.4.6-AP22.dll;
em copy to C:\xampp\apache\modules\mod_fastcgi-2.4.6-AP22.dll;
3. Edit the
On 5/26/2011 10:28, silvioprog wrote:
2011/5/26 ABorkafpc-de...@aborka.com:
[...]
For now, I suggest you use the FastCgiExternalServer way on Windows and
specify a port in your FCGI app/Apache conf. You need to start the FCGI
application before sending the requests to it though because this way
On 5/26/2011 11:44, silvioprog wrote:
2011/5/26 ABorkafpc-de...@aborka.com:
1. Specify a port number in your project main file (.lpr)
...snip...
Application.Title:='My FCGI Application';
Application.Port:=2015;//Port the FCGI application is listening on
Application.Initialize;
On 5/26/2011 12:35, silvioprog wrote:
2011/5/26 ABorkafpc-de...@aborka.com:
Try
http://127.0.0.1:8080/myfcgi/index
instead, because that is why we did the ScriptAlias, so the calling URL is
simpler.
Same error. x(
Please, see:
http://imagebin.org/155296
OK, here is what I did to make
What is it used for?
--
Warm Regards,
Lee
There can be many uses for it, but not always necessary of course.
It is basically a way to pass the action name to fpweb as a parameter.
From the simplest query parameter passing the action name, to the more
difficult way of handling encrypted
What is the typical strategy to server up static content with fpWeb? JS,
css files, given that its handler centric.
Create a default handler that checks for file extension in the .PathInfo?
--
Warm Regards,
Lee
Why would you need fpweb to serve static content? Your web server does that.
Hi all,
I'm trying to get fcgi setup and running on my windows box so I can test
some of modules and I'm still try to figure out what I need to do.
A sample fcgi project produces an exception when run Failed to open
input handle passed from server. Socket error 10038..
I had thought that the
Hi all,
I'm trying to get fcgi setup and running on my windows box so I can test
some of modules and I'm still try to figure out what I need to do.
A sample fcgi project produces an exception when run Failed to open
input handle passed from server. Socket error 10038..
I had thought that the
Is it enough to change AResponse.Code := 3xx and AResponse.Location :=
'http://...; from within a handler to cause a redirect?
Thanks,
--
Warm Regards,
Lee
Response.SendRedirect('http://...');
takes care of everything.
--
___
Lazarus mailing
On 5/8/2011 20:41, Lee Jenkins wrote:
I have a web type project coming up and decided to poke around in the
fpWeb stuff. My, you guys have been busy, I never took a good look
around the fpweb/laz web sources till today. I was thinking of using php
with symfony or one of the smaller frameworks,
On 4/17/2011 00:14, Juha (gmail) wrote:
Paul Ishenin kirjoitti sunnuntai, 17. huhtikuuta 2011 08:00:04:
17.04.2011 7:13, ABorka wrote:
propedits.pp(1781,5) Error: Expected another 1 array elements
propedits.pp(6673) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation
C:/pp/bin/i386-win32/ppc386.exe -MObjFPC -Scghi -O1 -gl -vew -l -dLCL
-dLCLwin32 -Fu../lcl/units/i386-win32/win32 -Fu../lcl/units/i386-win32
-Fu../packager/units/i386-win32 -Fu. -FE. -FUunits/i386-win32 -di386
ideintf.pas
Free Pascal Compiler version 2.5.1 [2011/04/16] for i386
Copyright (c)
I refreshed Lazarus and FPC from the SVN trunk and recompiled them.
Now, suddenly, rebuilding Lazarus does not work, because upon restart it
is saying
This application has failed to start because sqlite.dll was not found. ...
Of course it does not find it, I never used sqlite in my life, it
are the basic packages one needs to
have the vanilla Lazarus?
AB
On 4/8/2011 23:15, ABorka wrote:
I refreshed Lazarus and FPC from the SVN trunk and recompiled them.
Now, suddenly, rebuilding Lazarus does not work, because upon restart it
is saying
This application has failed to start because sqlite.dll
On 12/17/2010 05:34, ik wrote:
Can I load sub template inside the main template ?
Ido
LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
On Fri, Dec 17, 2010 at 15:30, Michael Van Canneyt
mich...@freepascal.org mailto:mich...@freepascal.org
On 11/25/2010 02:21, Michael Schnell wrote:
On 11/25/2010 10:29 AM, ik wrote:
http://www.sencha.com/products/license.php
I don't see how the Open source (GPL) license should affect the Pascal
code of an application that uses ExtJS (the pascal code same is
obviously not based on / derivative
On 11/25/2010 02:21, Michael Schnell wrote:
On 11/25/2010 10:29 AM, ik wrote:
http://www.sencha.com/products/license.php
I don't see how the Open source (GPL) license should affect the Pascal
code of an application that uses ExtJS (the pascal code same is
obviously not based on /
On 11/24/2010 03:11, michael.vancann...@wisa.be wrote:
On Wed, 24 Nov 2010, ik wrote:
On Wed, Nov 24, 2010 at 12:46, michael.vancann...@wisa.be wrote:
I did some research on that some months ago. I found that this
supposedly
best would be done using ExtJS.
There are few problems with
It works here.
I am also using session cookies from fpweb and they are working here
(windows and ubuntu in VMWare).
Even have some working projects on go daddy hosting where I even changed
the session dir to be under the cgi program so I can check/delete the
session cookie files.
AB
PS:
On 10/21/2010 10:06, patspiper wrote:
The cookiesession demo project does not create any files in the /tmp
folder (Ubuntu 10.04). This could be a permissions issue. I uncommented
and set S.SessionDir in the cookiesession demo project to a folder which
is writable by all, with no results!
Is it
On 10/16/2010 03:24, Michael Van Canneyt wrote:
On Fri, 15 Oct 2010, ABorka wrote:
On 10/15/2010 05:40, Leonardo M. Ramé wrote:
On 2010-10-15 14:24:48 +0200, Michael Van Canneyt wrote:
After removing the TSqlQuery and TSQLTransaction components from my
app,
a new question came to my mind
On 10/15/2010 05:40, Leonardo M. Ramé wrote:
On 2010-10-15 14:24:48 +0200, Michael Van Canneyt wrote:
After removing the TSqlQuery and TSQLTransaction components from my app,
a new question came to my mind, in the case of complex inserts/updates
that involves more than one database table, is it
On 10/15/2010 12:23, Joshua Lim wrote:
Hi, fetching data from the database aside, how about web session
management for a multiple user website? Web scripts like php come with
session management built-in. What is the best way to do that using
pascal? Thanks.
Also built-in into fpweb (the cookie
On 10/10/2010 11:51, Michael Van Canneyt wrote:
On Sun, 10 Oct 2010, Leonardo M. Ramé wrote:
On 2010-10-10 13:34:30 -0300, Leonardo M. Ramé wrote:
exception at 00466EEA:
Failed to open input-handle passed from server. Socket Error: 88.
Now I'm stuck, somebody can help me with
On 10/3/2010 14:31, Leonardo M. Ramé wrote:
On 2010-10-03 14:23:41 -0700, ABorka wrote:
On 10/3/2010 14:05, Leonardo M. Ramé wrote:
Hi, I was trying to play with the new demos from
packages/fcl-web/examples and found that them require the package
lazwebdata, where can I find
On 10/3/2010 15:05, Leonardo M. Ramé wrote:
On 2010-10-03 14:55:03 -0700, ABorka wrote:
On 10/3/2010 14:31, Leonardo M. Ramé wrote:
On 2010-10-03 14:23:41 -0700, ABorka wrote:
On 10/3/2010 14:05, Leonardo M. Ramé wrote:
Hi, I was trying to play with the new demos from
packages/fcl-web
On 10/1/2010 23:33, duilio foschi wrote:
Some kind of tutorial for a start...
Leonardo Rame blog is full of precious gems
http://leonardorame.blogspot.com/2010/02/web-20-programming-with-object-pascal.html
(and many other articles)
Rgds
Duilio
Since those articles, FPC's FCL-web and
On 10/2/2010 00:00, ABorka wrote:
On 10/1/2010 23:33, duilio foschi wrote:
Some kind of tutorial for a start...
Leonardo Rame blog is full of precious gems
http://leonardorame.blogspot.com/2010/02/web-20-programming-with-object-pascal.html
(and many other articles)
Rgds
Duilio
Since
On 10/1/2010 08:11, Michael Van Canneyt wrote:
On Fri, 1 Oct 2010, Michael Schnell wrote:
On 10/01/2010 02:22 PM, Michael Van Canneyt wrote:
ExtJS has no such mechanism to my knowledge, but I'm not a reference.
last time I checked some months ago it was said to be a new feature,
but should
On 9/30/2010 12:08, Juha Manninen (gmail) wrote:
On Thursday 30 September 2010 13:38:25 Bo Berglund wrote:
But Tortoise just initializes and transfers about 6 kb of data and then
nothing more happens. After some time of nothing happening I try to
Cancel, but that does not work so I have to
Check your paths in your fpc.cfg , it seems the fpc.cfg used by the
compiler points to a different version of FPC, or something similar.
AB
On 9/28/2010 17:47, Andrew Brunner wrote:
Free Pascal Compiler at revision 16060.
Lazarus from SVN at revision 27521.
Build gets as far as ...
Compiling
Hi,
I would do a build of FPC and Lazarus from SVN trunk.
It works for me superbly and I don't have to worry about updates or
keeping up-to-date with FPC/Lazarus.
Nor waiting years for the latest packages to be updated and included in
Ubuntu.
The 2.5.1 trunk of FPC has a ton of new features
OK, here it is guys.
These steps are a little bit raw and some additional apt packages might
be needed, but it works for me. Also I did not detail how to extract
tar.gz files and such.
==
Linux install (about 5.6GB disk space is needed to finish,
On 6/10/2010 13:30, Leonardo M. Ramé wrote:
El jue, 10-06-2010 a las 17:23 -0300, Leonardo M. Ramé escribió:
Hi, I'm trying to implement file downloading for an fpWeb CGI without
success, I'm doing this so far:
procedure TFPWebModule1.TFPWebActions0Request(Sender: TObject;
ARequest:
On 5/27/2010 13:52, Leonardo M. Ramé wrote:
On the other hand, fpWeb has a more advanced templating engine, that
maybe (I don't tested it) allows one to create rows of an HTML table
right from the template, without creating it inside the program's code.
Yes, this is true. See the demo program
On 5/22/2010 08:27, Marcos Douglas wrote:
(...)
However, any time the need arises, we can just recompile the app as an
Apache module in minutes and us that.
The web module source code is exactly the same for CGI programs and Apache
mods, so no changes needed for the recompile at all.
No
Did. But in the current economy the traffic is down, and because of CGI
doesn't require an Apache restart when anything changes in the app, we
are just using CGI at the moment (with HTML templates and template tags
using fpTemplate). Did not see speed difference between the two.
However, any
You can find demo programs for fpweb under your Lazarus directory in
/components/fpweb/demo/
the fptemplate ones are particularly useful for building websites with
FPC/Lazarus
AB
On 5/19/2010 05:45, Vannus wrote:
Has anybody got query's to work with weblaz TCustomCGIApplication?
ie.
Sorry, it was posted in the wrong mailing list at first
It seems it got closed, but I'm not sure if it is really fixed (can't add
notes now).
http://bugs.freepascal.org/view.php?id=12594
In D5 the DFM files are something like this with bitbuttons:
.
.
.
object BitBtn1: TBitBtn
Left = 96
Top =
Hi,
If one checks the Show Compiler dialog in Lazarus and tries to debug to
a line with f4, or place a breakpoint somewhere and execute with f9
Lazarus becomes unresponsive when exiting the application.
This is due to 2 dialogs up at the same time, with the smaller one
(Execution ended)
Hi Graeme,
The debugger is not usable as it does not have been in the focus to be
developed.
Object property values cannot be seen either (dwarf or something
external program used does not support properties).
There were questions about the debugger functions in the past 2 years,
same as
Adding fcgi-support was only two hours work. Other systems can be added
as wel. Next on my list is a native web-server using lnet, so that
debugging is even easier. (I'm absolutely sure that posting all messages
about fcl-web not supportinf fcgi was more work then actually adding the
support)
I
63 matches
Mail list logo