Re: CMS Using Embperl

2002-08-21 Thread Andre Landwehr
On Wed, Aug 21, 2002 at 03:40:54PM +1000, Gavin Carr wrote: > I've got one that's about a week away from its first public release > (GPLed). It's got browser-based file management, EmbperlObject > templating, a staging/publishing model, Wiki-style text markup, > configurable metadata on files and

RE: CMS Using Embperl

2002-08-21 Thread Sam Michel
Hi Gavin, Sounds fantastic, certainly like to have a look at it, if that's OK. Let me know when/where it'll be available, happy to help with feedback and de-bugging (where I can ;-) Toodle Pip Sam > -Original Message- > From: Gavin Carr [mailto:[EMAIL PROTECTED]] > Sent: 21 August 2002

Re: CMS Using Embperl

2002-08-21 Thread Gavin Carr
Hi Andre, On Wed, Aug 21, 2002 at 09:47:48AM +0200, Andre Landwehr wrote: > what's the name of the thing so I don't miss the announcement on > freshmeat.net? ;-) > > Do you have any download address yet? It's called 'ewok', and I'll announce it on the embperl list as well as on freshmeat, just

Safe.pm

2002-08-21 Thread Avi Nehori
Hello folks!!! I'm trying to use the perl module Safe.pm and getting real hard time with that. i wonder if one of you ever used it? any help concerning that module will be great. Thanks in advance please HELP!!! -

Re: embperl 2 session management

2002-08-21 Thread Andre Landwehr
On Tue, Aug 06, 2002 at 06:36:02PM +0200, Gerald Richter wrote: > > I have Apache::SessionX installed and > > Embperl_Session_Config "File Semaphore" > > You don't need this when you have made it the default during > Apache::SessionX Makefile.PL run > > > as the only session configuration option

Embperl-2.0b8 httpd Segmentation Faults. Unclosed tags?

2002-08-21 Thread Jarrod Stenberg
I'm trying to get to the bottom of trouble with a web application that runs out of control and crashes the apache children (Apache/1.3.26 on 4.6.2-RELEASE with perl 5.6.1 [ all of my perl modules have been rebuilt with 5.6.1 which seems to be a good idea on FreeBSD ]). Not everything crashes, but

DBIx::Recordset and mySQL PASSWORD()

2002-08-21 Thread Jaak
Hello, I am using *db = DBIx::Recordset -> Insert ({'!DataSource'=> $req->{db}->{dsn}, '!Username' => $req->{db}->{username}, '!Password' => $req->{db}->{password}, '!Table'

Re: Embperl-2.0b8 httpd Segmentation Faults. Unclosed tags?

2002-08-21 Thread Jarrod Stenberg
More info. I discovered that the segfaults are related to DBI. Given: If I do this: while ($h = $sth->fetchrow_hashref()) { #do stuff } within the same block, it works fine. But, if I do this: [$ while ($h = $sth->fetchrow_hashref()) $] __

Re: Embperl-2.0b8 httpd Segmentation Faults. Unclosed tags? Ignore previous.

2002-08-21 Thread Jarrod Stenberg
More info. I discovered that the segfaults are related to DBI. Given: # DBI is already loaded. $dbh = ... $sth = $dbh->prepare(...); $sth->execute(); And the above is a successful query leaving me a handle with stuff to do. If I do this: while ($h = $sth->fetchrow_hashref()) { #

Re: Embperl-2.0b8 httpd Segmentation Faults. Unclosed tags?

2002-08-21 Thread Gerald Richter
> So, of course I should move to XHTML as a good > practice, but is the unclosed tag thing something that > could cause Embperl to go nuts in 2.0b8? > Embperl doesn't care about if you close your tags or not. The only exception are table tags that are used for build dynamic tables, but it will no

Re: Safe.pm

2002-08-21 Thread Gerald Richter
> > I'm trying to use the perl module Safe.pm and getting real hard time with > that. > i wonder if one of you ever used it? > Embperl 1 has support for it, but I didn't have used it for a long time. I have dropped support for Safe.pm in Embperl 2, because it's to limited (you can't do much insi

Re: embperl 2 session management

2002-08-21 Thread Gerald Richter
>> >> Seems like a problem with semaphores inside of Apache::Session. You may try >> to remove the semaphore with ipcrm so it gets recreated (you can view it >> with ipcs). > >Well, exactly that seems to be the case. As soon as I kill the >semaphore with ipcrm the page is displayed correctly, even

Re: DBIx::Recordset and mySQL PASSWORD()

2002-08-21 Thread Gerald Richter
>How to insert into database something like INSERT INTO ... VALUES >PASSWORD($rnd_pass) ); ? You need to prefix the field name with a \, then the value gets copied literaly into the sql statmenet: *db = DBIx::Recordset -> Insert ({'!DataSource'=> $req->{db}->{dsn},

Re: use lib in EmbperlObject

2002-08-21 Thread Gerald Richter
> > Here's what I have: > > SiteInit.html > [! use lib "/usr/local/PureMessaging/lib"; !] > Template.html > [- Execute({ isa => 'SiteInit.html' }); -] > Template.html: [+ join(", ", @INC) +] > [- Execute('*') -] > index.html > index.html: [+ join(", ", @INC) +] > > Running that the first time give