Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-11

WebLaz Question

14 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lee Jenkins

Anyone using the WebLaz package? I can compile the demo but when get error when trying to load the datamodule for these demos. I have installed the weblaz.lpk.

Thanks,

Warm Regards, Lee

Reply by email

ABorka
to Lee Jenkins

It might be that

http://bugs.freepascal.org/view.php?id=12375

is not applied yet.

Are you making a CGI program or Apache modules?
Windows or Linux?

Also make sure you include the proper httpd files from the fpc source folders (httpd22, httpd20) if it is apache module you do.

Lee Jenkins wrote 15 lines
Anyone using the WebLaz package? I can compile the demo but when get error when trying to load the datamodule for these demos. I have installed the weblaz.lpk. Thanks, -- Warm Regards, Lee _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Lee Jenkins
to ABorka
ABorka wrote 16 lines
It might be that http://bugs.freepascal.org/view.php?id=12375 is not applied yet. Are you making a CGI program or Apache modules? Windows or Linux? Also make sure you include the proper httpd files from the fpc source folders (httpd22, httpd20) if it is apache module you do. Lee Jenkins wrote: > Anyone using the WebLaz package? I can compile the demo but when get error when > trying to load the datamodule for these demos. I have installed the weblaz.lpk. >

Hi it's CGI. Odd that everything compiles ok, but there is apparently no designer support for the datamodule for some reason.

I was using powtils, but that doesn't seem to be supported any more.

<sigh>

Maybe its time that I start working with .net again for my web stuff :(

Warm Regards, Lee

Reply by email

ABorka
to Lee Jenkins

How is it not working? Any errors?

I was doing apache modules and everything was working fine with datamodule, webactions, etc.

How do you call the web action?

Lee Jenkins wrote 37 lines
ABorka wrote: > It might be that > > http://bugs.freepascal.org/view.php?id=12375 > > is not applied yet. > > Are you making a CGI program or Apache modules? > Windows or Linux? > > Also make sure you include the proper httpd files from the fpc source > folders (httpd22, httpd20) if it is apache module you do. > > Lee Jenkins wrote: >> Anyone using the WebLaz package? I can compile the demo but when get error when >> trying to load the datamodule for these demos. I have installed the weblaz.lpk. >> Hi it's CGI. Odd that everything compiles ok, but there is apparently no designer support for the datamodule for some reason. I was using powtils, but that doesn't seem to be supported any more. <sigh> Maybe its time that I start working with .net again for my web stuff :( -- Warm Regards, Lee _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Joost van der Sluis
to Lee Jenkins: Hi it's CGI. Odd that everything compiles ok, but there is apparently no designer…

Op dinsdag 18-11-2008 om 20:04 uur [tijdzone -0500], schreef Lee Jenkins:

Show quoted text 26 lines
ABorka wrote: > It might be that > > http://bugs.freepascal.org/view.php?id=12375 > > is not applied yet. > > Are you making a CGI program or Apache modules? > Windows or Linux? > > Also make sure you include the proper httpd files from the fpc source > folders (httpd22, httpd20) if it is apache module you do. > > Lee Jenkins wrote: >> Anyone using the WebLaz package? I can compile the demo but when get error when >> trying to load the datamodule for these demos. I have installed the weblaz.lpk. >> Hi it's CGI. Odd that everything compiles ok, but there is apparently no designer support for the datamodule for some reason. I was using powtils, but that doesn't seem to be supported any more. <sigh> Maybe its time that I start working with .net again for my web stuff :(

I use Weblaz for all my web-stuff here. Also using CGI. What is the error you got?

Joost

Reply by email

Lee Jenkins
to Joost van der Sluis
Joost van der Sluis wrote 33 lines
Op dinsdag 18-11-2008 om 20:04 uur [tijdzone -0500], schreef Lee Jenkins: > ABorka wrote: >> It might be that >> >> http://bugs.freepascal.org/view.php?id=12375 >> >> is not applied yet. >> >> Are you making a CGI program or Apache modules? >> Windows or Linux? >> >> Also make sure you include the proper httpd files from the fpc source >> folders (httpd22, httpd20) if it is apache module you do. >> >> Lee Jenkins wrote: >>> Anyone using the WebLaz package? I can compile the demo but when get error when >>> trying to load the datamodule for these demos. I have installed the weblaz.lpk. >>> > Hi it's CGI. Odd that everything compiles ok, but there is apparently no > designer support for the datamodule for some reason. > > I was using powtils, but that doesn't seem to be supported any more. > > <sigh> > > Maybe its time that I start working with .net again for my web stuff :( I use Weblaz for all my web-stuff here. Also using CGI. What is the error you got? Joost

No, no. Sorry I wasn't clear enough. Everything compiles and runs ok, at least as far as I can see. The problem is that it appears to be based on a TDataModule descendant and when I try to load it in the IDE, lazarus complains that there are still some packages required but doesn't tell me what they might be. :)

Thanks,

Warm Regards, Lee

Reply by email

Lee Jenkins
to Lee Jenkins
Lee Jenkins wrote 40 lines
Joost van der Sluis wrote: > Op dinsdag 18-11-2008 om 20:04 uur [tijdzone -0500], schreef Lee > Jenkins: >> ABorka wrote: >>> It might be that >>> >>> http://bugs.freepascal.org/view.php?id=12375 >>> >>> is not applied yet. >>> >>> Are you making a CGI program or Apache modules? >>> Windows or Linux? >>> >>> Also make sure you include the proper httpd files from the fpc source >>> folders (httpd22, httpd20) if it is apache module you do. >>> >>> Lee Jenkins wrote: >>>> Anyone using the WebLaz package? I can compile the demo but when get error when >>>> trying to load the datamodule for these demos. I have installed the weblaz.lpk. >>>> >> Hi it's CGI. Odd that everything compiles ok, but there is apparently no >> designer support for the datamodule for some reason. >> >> I was using powtils, but that doesn't seem to be supported any more. >> >> <sigh> >> >> Maybe its time that I start working with .net again for my web stuff :( > I use Weblaz for all my web-stuff here. Also using CGI. What is the > error you got? > > Joost > No, no. Sorry I wasn't clear enough. Everything compiles and runs ok, at least as far as I can see. The problem is that it appears to be based on a TDataModule descendant and when I try to load it in the IDE, lazarus complains that there are still some packages required but doesn't tell me what they might be. :)

As a follow up, the IDE shows a huge message box when this happens. If I say load anyway, it then gives me another dialog asking if I would like to load the web module (TDataModule descendant?) as a regular form.

http://imagebin.org/31592

Also, has anyone done any more extensive sample than are located in the /

Warm Regards, Lee

Reply by email

Lee Jenkins
to Mattias Gärtner
Mattias G?rtner wrote 18 lines
> > Also, has anyone done any more extensive sample than are located in the / The error message is for both: users of the package and the weblaz authors. For the users it is sufficient: Package needs installation...open forms...package weblaz. If you want to open the form in the IDE, you probably need to install weblaz, because weblaz is needed by your project and weblaz provides some IDE plugins. The weblaz author needs the information about the register procedure and the unit. Maybe the text can be changed to a short advice (install weblaz) and a paragraph "Details". Mattias

Thanks Mattias,

Something is not right here. I have tried to install the package as well as a couple of others (like Zeos) in my lazarus installation which is 0.9.27 rev.
16975. But if I look at the Package Graph, weblaz and other packages that I thought I had installed are marked with a Green "+" (Plus sign) and State = "Install on next start" but that never happens.

I have rebuilt the IDE several times, using different settings in the build such as building and cleaning all but the packages are never installed.

Odd.

Warm Regards, Lee

Reply by email

Lee Jenkins
to Lee Jenkins
Lee Jenkins wrote 32 lines
Mattias G?rtner wrote: >> Also, has anyone done any more extensive sample than are located in the / > The error message is for both: users of the package and the weblaz authors. > > For the users it is sufficient: > Package needs installation...open forms...package weblaz. > If you want to open the form in the IDE, you probably need to install weblaz, > because weblaz is needed by your project and weblaz provides some IDE plugins. > > The weblaz author needs the information about the register procedure and the > unit. > > Maybe the text can be changed to a short advice (install weblaz) and a paragraph > "Details". > > > Mattias Thanks Mattias, Something is not right here. I have tried to install the package as well as a couple of others (like Zeos) in my lazarus installation which is 0.9.27 rev. 16975. But if I look at the Package Graph, weblaz and other packages that I thought I had installed are marked with a Green "+" (Plus sign) and State = "Install on next start" but that never happens. I have rebuilt the IDE several times, using different settings in the build such as building and cleaning all but the packages are never installed. Odd.

I down graded to 0.9.25 and it seems to load the packages correctly.

Warm Regards, Lee

Reply by email

Lee Jenkins
to Lee Jenkins
Lee Jenkins wrote 35 lines
Lee Jenkins wrote: > Mattias G?rtner wrote: > >>> Also, has anyone done any more extensive sample than are located in the / >> The error message is for both: users of the package and the weblaz authors. >> >> For the users it is sufficient: >> Package needs installation...open forms...package weblaz. >> If you want to open the form in the IDE, you probably need to install weblaz, >> because weblaz is needed by your project and weblaz provides some IDE plugins. >> >> The weblaz author needs the information about the register procedure and the >> unit. >> >> Maybe the text can be changed to a short advice (install weblaz) and a paragraph >> "Details". >> >> >> Mattias > Thanks Mattias, > > Something is not right here. I have tried to install the package as well as a > couple of others (like Zeos) in my lazarus installation which is 0.9.27 rev. > 16975. But if I look at the Package Graph, weblaz and other packages that I > thought I had installed are marked with a Green "+" (Plus sign) and State = > "Install on next start" but that never happens. > > I have rebuilt the IDE several times, using different settings in the build such > as building and cleaning all but the packages are never installed. > > Odd. > I down graded to 0.9.25 and it seems to load the packages correctly.

LOL. Except that many of the regular components like DBControls are now gone from the palette.

Warm Regards, Lee

Reply by email

Mattias Gärtner
to Lee Jenkins

Zitat von Lee Jenkins :

Show quoted text 50 lines
Lee Jenkins wrote: > Lee Jenkins wrote: >> Mattias G?rtner wrote: >> >>>> Also, has anyone done any more extensive sample than are located in the / >>> The error message is for both: users of the package and the weblaz authors. >>> >>> For the users it is sufficient: >>> Package needs installation...open forms...package weblaz. >>> If you want to open the form in the IDE, you probably need to install weblaz, >>> because weblaz is needed by your project and weblaz provides some IDE plugins. >>> >>> The weblaz author needs the information about the register procedure and the >>> unit. >>> >>> Maybe the text can be changed to a short advice (install weblaz) and a paragraph >>> "Details". >>> >>> >>> Mattias >> Thanks Mattias, >> >> Something is not right here. I have tried to install the package as well as a >> couple of others (like Zeos) in my lazarus installation which is 0.9.27 rev. >> 16975. But if I look at the Package Graph, weblaz and other packages that I >> thought I had installed are marked with a Green "+" (Plus sign) and State = >> "Install on next start" but that never happens. >> >> I have rebuilt the IDE several times, using different settings in the build such >> as building and cleaning all but the packages are never installed. >> >> Odd. >> > > I down graded to 0.9.25 and it seems to load the packages correctly. > LOL. Except that many of the regular components like DBControls are now gone from the palette.

If the rebuild of the IDE succeeded, then a new IDE executable was created. Maybe you started somehow the old executable. Do you use startlazarus to start the IDE or do you start ./lazarus directly?
Where the new lazarus executable is created depends on whether you installed lazarus via package or as source in your home directory.

Mattias

Reply by email

Lee Jenkins
to Mattias Gärtner
Mattias G?rtner wrote 55 lines
Zitat von Lee Jenkins : > Lee Jenkins wrote: >> Lee Jenkins wrote: >>> Mattias G?rtner wrote: >>> >>>>> Also, has anyone done any more extensive sample than are located in the > / >>>> The error message is for both: users of the package and the weblaz > authors. >>>> For the users it is sufficient: >>>> Package needs installation...open forms...package weblaz. >>>> If you want to open the form in the IDE, you probably need to install > weblaz, >>>> because weblaz is needed by your project and weblaz provides some IDE > plugins. >>>> The weblaz author needs the information about the register procedure and > the >>>> unit. >>>> >>>> Maybe the text can be changed to a short advice (install weblaz) and a > paragraph >>>> "Details". >>>> >>>> >>>> Mattias >>> Thanks Mattias, >>> >>> Something is not right here. I have tried to install the package as well > as a >>> couple of others (like Zeos) in my lazarus installation which is 0.9.27 > rev. >>> 16975. But if I look at the Package Graph, weblaz and other packages that > I >>> thought I had installed are marked with a Green "+" (Plus sign) and State > = >>> "Install on next start" but that never happens. >>> >>> I have rebuilt the IDE several times, using different settings in the > build such >>> as building and cleaning all but the packages are never installed. >>> >>> Odd. >>> >> I down graded to 0.9.25 and it seems to load the packages correctly. >> > LOL. Except that many of the regular components like DBControls are now gone > from the palette. If the rebuild of the IDE succeeded, then a new IDE executable was created. Maybe you started somehow the old executable. Do you use startlazarus to start the IDE or do you start ./lazarus directly? Where the new lazarus executable is created depends on whether you installed lazarus via package or as source in your home directory.

Hi Mattias,

I installed (this particular version) from binary installer then updated via svn (a while ago) and I use startlazarus.exe.

I think I might have to just scrap everything and reinstall lazarus fresh. I'm running WinXP SP 3.

Thanks again,

Lee

Reply by email