Re: embperl::object and html::embperlobject

2006-07-16 Thread Aare Vesi
hanged in EP2. Check http://perl.apache.org/embperl/pod/doc/README.v2.txt for more information. I earlier in line with PerlHandler Embperl::Object have written PerlHandler HTML::EmbperlObject but that was not working nor was HTML::EmbperlObject was being found. I wanted to ask what is the diff

embperl::object and html::embperlobject

2006-07-07 Thread WEBBEE . BIZ
ier in line with PerlHandler Embperl::Object have written PerlHandler HTML::EmbperlObject but that was not working nor was HTML::EmbperlObject was being found. I wanted to ask what is the difference betwen writting Embperl::Object to HTML::EmbperlObject . Also now it is searching for default file

Re: HTML::EmbperlObject and @ISA corrupted HTML::Embperl::Req...

2003-11-29 Thread Gerald Richter
Hi Kee, > > I'm pretty sure this is the right patch, but I'd like feedback. > Also, I'm not sure whether the right approach is to use "push" or > "unshift". As I did it, it looks like the first @isa in the template > is the first on the stack, and the Req object is last. The latter > sounds righ

Re: HTML::EmbperlObject and @ISA corrupted HTML::Embperl::Req...

2003-11-28 Thread Kee Hinckley
>The "@ISA corrupted" error has been the bane of my existence for >several years now, but I think I've finally nailed it. Not surprisingly, not one minute after posting that I discovered a problem. Although everything works, I'm still getting the corrupted @ISA error. This is the more surprisi

HTML::EmbperlObject and @ISA corrupted HTML::Embperl::Req...

2003-11-28 Thread Kee Hinckley
an Execute({isa => 'tools.epl', import => 0}). That called HTML::Embperl::Execute directly. tools.epl did an Execute({isa => 'SiteInit.html', input => 0}). That called HTML::Embperl::Execute directly. SiteInit.html did an isa on help.html. Now HTML::EmbperlObject c

Re: Another embperlobject behavior i do not understand

2003-07-01 Thread Gerald Richter
> > i have a subroutine that in some side of this is executing the next: > > print OUT "Task duplicated"; > $fdat{taskid} = $task_inserted; > &display_task_form; > &clean_exit; > > The warning message is not being displayed, But the html code in sub display_task_form is being displayed correctly, d

Another embperlobject behavior i do not understand

2003-07-01 Thread Carlos
HI all: I am testing ebmperl object 2.0b9 ( this time i spelled ok :-) ) i have a subroutine that in some side of this is executing the next: print OUT "Task duplicated"; $fdat{taskid} = $task_inserted; &display_task_form; &clean_exit; The warning message is not being displayed, But the html

extrange behavior with EmbperlObject 2.09b

2003-06-27 Thread ckassab
Hi all: I am testing embperl Object from Embperl 2.09b but i saw something i do not understand: my base.eplo have this: [- Execute ('config.eplo'); -] [- Execute ('colors.eplo'); -] [- Execute ({'isa' => 'mainfile.eplo'}); -] [- Execute ({'isa' => 'subs.eplo'}); -] [- Execute ('*') -]

Re: EmbperlObject OBJECT_BASE question..

2002-09-12 Thread Nate Smith
equested file's extension. I am trying to solve the > > same problem, without any luck. > > > > My setup is as follows: > > > > > > > > PerlSetVar Allow yes > > SetHandler perl-script > >

Re: EmbperlObject OBJECT_BASE question..

2002-09-12 Thread Nate Smith
PerlSetVar Allow yes > SetHandler perl-script > PerlHandler HTML::EmbperlObject > PerlSetEnv EMBPERL_OBJECT_BASE template.epl > PerlSetEnv PATH " " > Options ExecCGI > >

EmbperlObject OBJECT_BASE question..

2002-09-12 Thread Nate Smith
llows: PerlSetVar Allow yes SetHandler perl-script PerlHandler HTML::EmbperlObject PerlSetEnv EMBPERL_OBJECT_BASE template.epl PerlSetEnv PATH " "

Re: use lib in EmbperlObject

2002-08-26 Thread Gerald Richter
> >> On a related topic. If I do a "use somelibrary" in a template, and > >> it imports some functions into the name space, it would be nice to be > >> able to use them in the files that are using that template. > > > > Because of the different namespaces of those files this won't work, sorry. >

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

Re: use lib in EmbperlObject

2002-08-16 Thread Kee Hinckley
At 7:25 AM +0200 8/16/02, Gerald Richter wrote: > > >> Is there any way to put a "use lib" command in a called routine (e.g. >> >> [- Execute({ isa => 'SiteInit.html' }); -]) and have it impact later >> >> "use" commands? > >use lib is global, because it affects the global @ISA, so it doesn'

Re: use lib in EmbperlObject

2002-08-15 Thread Gerald Richter
> >> Is there any way to put a "use lib" command in a called routine (e.g. > >> [- Execute({ isa => 'SiteInit.html' }); -]) and have it impact later > >> "use" commands? use lib is global, because it affects the global @ISA, so it doesn't matter where you put it, it will affect all use stateme

Re: use lib in EmbperlObject

2002-08-15 Thread Kee Hinckley
At 8:55 AM +1000 8/16/02, Gavin Carr wrote: >On Thu, Aug 15, 2002 at 04:12:06PM -0400, Kee Hinckley wrote: >> Is there any way to put a "use lib" command in a called routine (e.g. >> [- Execute({ isa => 'SiteInit.html' }); -]) and have it impact later >> "use" commands? Any other suggestions.

Re: use lib in EmbperlObject

2002-08-15 Thread Gavin Carr
On Thu, Aug 15, 2002 at 04:12:06PM -0400, Kee Hinckley wrote: > Is there any way to put a "use lib" command in a called routine (e.g. > [- Execute({ isa => 'SiteInit.html' }); -]) and have it impact later > "use" commands? Any other suggestions. I hate having to put it in > every single file.

use lib in EmbperlObject

2002-08-15 Thread Kee Hinckley
Is there any way to put a "use lib" command in a called routine (e.g. [- Execute({ isa => 'SiteInit.html' }); -]) and have it impact later "use" commands? Any other suggestions. I hate having to put it in every single file. (Right up there with [$ var $this $][- $this = shift -] at the begi

Re: Trapping internal errors in HTML::EmbperlObject

2002-08-11 Thread Gerald Richter
> > Apparently something isn't getting cleared, so the Mail::Execute fails. > Yes, in 1.3.x you need to clear Embperl's internal error flag: > I also tried setting optReturnError, but that doesn't appear to do > anything either. You need to set optReturnError [- $r = shift ; my @erro

Re: Stary brackets in Embperl vs. EmbperlObject ?

2002-07-25 Thread Gerald Richter
> > If I use the metacommands dollar-brackets, though, all is fine. Problem is, > however, that I unfortunately had the time to get used to PHP's way of > interweaving with HTML with only one kind of delimiter and, moreover, I'd > prefer to use clean Perl, so that I'

Stary brackets in Embperl vs. EmbperlObject ?

2002-07-25 Thread Adrian Ghizaru
rl code to remove HTML tags PerlSetEnv EMBPERL_OBJECT_BASE "template.html" PerlSetEnv EMBPERL_OBJECT_FALLBACK "fallback.html" SetHandler perl-script PerlHandler HTML::EmbperlObject Options ExecCGI (as an aside, it was never made clear wether PerlMo

Re: EmbperlObject calling order (was: Problems with embperl-2.0b8)

2002-07-05 Thread Gerald Richter
a new http request. When when a new http request comes in to main/index.html EmbperlObject will make sure that your main/content.epl will be called, so you get the layout you want. The create a new request, you can use a external redirect e.g. [- $http_headers_out{'Location'} = '

Re: How can I trigger an error document from HTML::EmbperlObject?

2002-06-25 Thread Gerald Richter
> I want something like: > > $status = Execute({inputfile => '*'}); > if ($status) { > where if there's an error I go to my default /error.html file, which > can then print out all the information I'd normally get using the > ErrorDocument directive. Barring that an internal redirect would >

How can I trigger an error document from HTML::EmbperlObject?

2002-06-20 Thread Kee Hinckley
I want something like: $status = Execute({inputfile => '*'}); if ($status) { where if there's an error I go to my default /error.html file, which can then print out all the information I'd normally get using the ErrorDocument directive. Barring that an internal redirect would

Re: File locking on EmbperlObject::Execute

2002-06-06 Thread Angus Lees
At Wed, 5 Jun 2002 15:50:20 +1000, Gavin Carr wrote: > On Wed, Jun 05, 2002 at 03:49:59PM +1000, Angus Lees wrote: > > At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote: > > > I've got a situation where I want to able to write lock some of my epl > > > components and know that the locking will b

Re: File locking on EmbperlObject::Execute

2002-06-05 Thread Gavin Carr
On Wed, Jun 05, 2002 at 11:20:15AM +0200, Gerald Richter - ecos gmbh wrote: > > Yeah that handles atomic writes, but not proper atomic updates - read > > data, modify, write, avoiding the race condition between the read and > > the write. I think that requires proper locking? > > If you only have

Re: File locking on EmbperlObject::Execute

2002-06-05 Thread Gerald Richter - ecos gmbh
> > Yeah that handles atomic writes, but not proper atomic updates - read > data, modify, write, avoiding the race condition between the read and > the write. I think that requires proper locking? > If you only have concurrent reads, it should work. If you also have concurrent writes/updates, the

Re: File locking on EmbperlObject::Execute

2002-06-04 Thread Gavin Carr
On Wed, Jun 05, 2002 at 03:49:59PM +1000, Angus Lees wrote: > At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote: > > I've got a situation where I want to able to write lock some of my epl > > components and know that the locking will be honoured ... > > just do the usual "write to a temporary f

Re: File locking on EmbperlObject::Execute

2002-06-04 Thread Gavin Carr
eating them > dynamicly? Otherwise I can't imagine for what this should be good for. Yes, some of my .epl components are dynamic, and some I'm just wanting to edit atomically. I'm finding all kinds of interesting (mis)uses for your Em

Re: File locking on EmbperlObject::Execute

2002-06-04 Thread Gerald Richter
Hi, > > I've got a situation where I want to able to write lock some of my epl > components and know that the locking will be honoured ... > You want to write lock the Embperl source files? Do you creating them dynamicly? Otherwise I can't imagine for what this should be good for. Gerald

Re: File locking on EmbperlObject::Execute

2002-06-04 Thread Angus Lees
At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote: > I've got a situation where I want to able to write lock some of my epl > components and know that the locking will be honoured ... just do the usual "write to a temporary file next to it, then rename over the file you wanted" trick. IO::Atom

File locking on EmbperlObject::Execute

2002-06-04 Thread Gavin Carr
Hi Gerald, Are you doing any explicit file locking on the reads involved in an EmbperlObject::Execute? If not, could I make it a feature request? Maybe an 'flock' argument to Execute or something? I've got a situation where I want to able to write lock some of my epl component

Re: EmbperlObject subcomponent inheritance (1.3.x)

2002-05-22 Thread Gavin Carr
Hi Gerald, On Wed, May 22, 2002 at 03:13:28PM +0200, Gerald Richter - ecos gmbh wrote: > Look it a bug in the path searching logic. Goto Embperl.pm, line 617, which > is > > $skip += $pathndx if ($skip) ; > > insert > > $pathndx = 0 if (!$skip) ; > > directly below this line. > > Does this f

Re: EmbperlObject subcomponent inheritance (1.3.x)

2002-05-22 Thread Gerald Richter - ecos gmbh
> > In cts/htdocs: > > requested page: empty.html > failing header object: header.epl (Execute '../header.epl') > > In cts/htdocs/base: > > base template: base.epl > content object: content.epl > base header object: header.epl > other formatting objects: style.epl, footer.epl > Look i

Re: EmbperlObject subcomponent inheritance (1.3.x)

2002-05-21 Thread Gavin Carr
objects aren't overridden in the cts/htdocs directory, so they're working fine. Again, config looks like: Options +ExecCGI SetHandler perl-script PerlHandler HTML::EmbperlObject PerlSetEnv EMBPERL_OBJECT_STOPDIR "/export/opt/web/cts/htdocs" PerlSetEnv EMB

Re: EmbperlObject subcomponent inheritance (1.3.x)

2002-05-21 Thread Gerald Richter
> > Sorry, confusing use of terms. By 'parent' I wasn't meaning a filesystem > parent directory. > So your original usage of .. was correct. Basicly what you are doing seems to be ok, but I see that it doesn't work. Where is your base template located? Where is the page you are actually requesti

Re: EmbperlObject subcomponent inheritance (1.3.x)

2002-05-19 Thread Gavin Carr
e first entry from the PATH and > not to really search the parent directory (also under EmbperlObject, this is > most time the same). To get what you want write > > Execute('./../init.epl') > > this will really look in the parent directory Sorry, confusing use of terms. By '

Re: EmbperlObject subcomponent inheritance (1.3.x)

2002-05-17 Thread Gerald Richter
e if I move the child > init.epl out of the way. > The ../ will cause Embperl only to remove the first entry from the PATH and not to really search the parent directory (also under EmbperlObject, this is most time the same). To get what you want write Execute('./../init.epl')

EmbperlObject subcomponent inheritance (1.3.x)

2002-05-16 Thread Gavin Carr
Question - does Execute('../init.epl') search EMBPERL_OBJECT_ADDPATH directories in addition to direct parent directories? I think it should, but it's not finding my parent init.epl in an ADDPATH directory. It finds the parent fine if I move the child init.epl out of the way. This is with

Re: Adding *Page Specific* Title , Keywords and Description Meta Tags in EmbperlObject Pages?

2002-03-18 Thread gus
On Tue, Mar 19, 2002 at 09:57:01AM +0530, Rajesh Kumar Mallah wrote: > I have a website that is template driven and i use EmbperlObject for that. > The problem is that all the pages share the same template (that is of course > expected!) > and they also share the, tags > als

Adding *Page Specific* Title , Keywords and Description Meta Tags in EmbperlObject Pages?

2002-03-18 Thread Rajesh Kumar Mallah
Dear Folks ,   I  have a website that is template driven and i use EmbperlObject for that. The problem is that all the pages share the same template (that is of course expected!) and they also share the    ,  tags also. the latter is expected of EmbperlObject  but is  causing problem in my

Re: DBIx::Recordset Modify Database sample doesn't run under 2.0b5 EmbperlObject?

2002-02-16 Thread Gerald Richter
Thanks Scott for the log, > I'm running the sample in the Intro to DBIx::Recordset. It's not too happy! > > [1081]ERR: 24: Error in Perl code: syntax error at > /www/htdocs/admin/test_rs.epl line 46, at EOF Line 46 is [+ $set -> PrevNextForm ('\<\\>', \%fdat) ; +] when you search thru

Re: DBIx::Recordset Modify Database sample doesn't run under 2.0b5 EmbperlObject?

2002-02-16 Thread Gerald Richter
> I'm running the sample in the Intro to DBIx::Recordset. It's not too happy! > > [1081]ERR: 24: Error in Perl code: syntax error at > /www/htdocs/admin/test_rs.epl line 46, at EOF > syntax error at /www/htdocs/admin/test_rs.epl line 49, near "#line 49 > "/www/htdocs/admin/test_rs.epl" >

DBIx::Recordset Modify Database sample doesn't run under 2.0b5 EmbperlObject?

2002-02-14 Thread Scott Chapman
I'm running the sample in the Intro to DBIx::Recordset. It's not too happy! [1081]ERR: 24: Error in Perl code: syntax error at /www/htdocs/admin/test_rs.epl line 46, at EOF syntax error at /www/htdocs/admin/test_rs.epl line 49, near "#line 49 "/www/htdocs/admin/test_rs.epl" } else"

Re: EmbperlObject 2 on linux

2002-01-14 Thread Dimitri Ostapenko
#!/home/perlnow/local/bin/perl .. # $Id: epocgi.pl.templ,v 1.2 2001/05/15 10:41:23 richter Exp $ # ####### use HTML::Embperl ; use HTML::EmbperlObject ; my $Logfile= $ENV{EMBPERL_LOG} || $HTML::Embperl::DefaultLog ; my $rc ; my $ioType ; my %req ; H

Re: EmbperlObject 2 on linux

2002-01-14 Thread Gerald Richter
> > 4 $VAR1 = bless( { 'webmaster' => 'John Smith' }, 'HTML::Embperl::DOC::_2' ); Looks like there is a Data::Dumper output that is printed to STDOUT instead of OUT, because the Data::Dumper output comes before the headers, the browser can't interpret the headers. Do you have inserted a "print D

EmbperlObject 2 on linux

2002-01-11 Thread Dimitri Ostapenko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just installed 2.0b5 on remote machine that I have no root access to. it runs Apache/1.3.6 (Unix) with all required by Embperl modules compiled in That leaves me with an option of running EmbperlObject through epocgi.pl .htaccess: AddType text

Re: EmbperlObject not working under Win NT?

2002-01-11 Thread Scott Chapman
Sorry to have taken your time on this one! I just assumed Randy was following the examples in the docs and didn't double check. You know what assumptions make you Scott On 11 Jan 2002 at 6:04, Gerald Richter wrote: > > I'm getting a 404 error when I call and Em

Re: EmbperlObject not working under Win NT?

2002-01-10 Thread Gerald Richter
> I'm getting a 404 error when I call and EmbperlObject page. ... > >PerlSetEnv EMBPERL_OBJECT_BASE base.html ... > base.epl is in c:\apache\embperl: Above you have configured base.html and the file is named base.epl. Unfortunately Embperl isn't smart enough to correct

Re: EmbperlObject not working under Win NT?

2002-01-10 Thread Scott Chapman
API ) Apache/1.3.20 (Win32) mod_perl/1.26_01-dev > mod_ssl/2.8.4 OpenSSL/0.9.6a running. .. I'm still getting this in access.log: > 192.168.0.18 - - [10/Jan/2002:14:34:58 -0800] "GET > /embperl/initial.epl HTTP/1.1" 404 291 and this in error.log: > [Thu Jan 10 14:34

Re: EmbperlObject not working under Win NT?

2002-01-10 Thread Randy Kobes
On Thu, 10 Jan 2002, Scott Chapman wrote: > I'm getting a 404 error when I call and EmbperlObject page. > I'm running Apache under WinNT4 SP6. > Just got it installed from theoryx5.uwinnipeg.ca, including 2.0b5 and > SessionX. > > Here's the error in error.log:

EmbperlObject not working under Win NT?

2002-01-10 Thread Scott Chapman
I'm getting a 404 error when I call and EmbperlObject page. I'm running Apache under WinNT4 SP6. Just got it installed from theoryx5.uwinnipeg.ca, including 2.0b5 and SessionX. Here's the error in error.log: > [162]SES: Embperl Session management enabled () > [Thu

Re: EmbperlObject in 2.0b4

2001-11-27 Thread Gerald Richter
> > Looks like you have Apache::SessionX installed, but not configured properbly? > > Doh! Yup, that's what it is. Just me being brain dead at midnight :-( > Maybe its possible to put something in the error log if the session > isn't accessible? > I have tried to improve session handling and erro

Re: EmbperlObject in 2.0b4

2001-11-27 Thread Wim Kerkhoff
there here. > > I have just uploaded 2.0b5, please try this, also I don't expect any changes > for your problems. It seems a little better but still doesn't work perfectly with the more intensive EmbperlObject scripts we have. > > 7/ When Apache starts up, I get this messa

Re: EmbperlObject in 2.0b4

2001-11-27 Thread Gerald Richter
> > Ok, I have received Embperl-2.0b5_dev-1 from you. With it, I still get > the error above. Here is some more detailed information, if it helps: > These info doesn't look very nice, also I can't reproduce any of there here. I have just uploaded 2.0b5, please try this, also I don't expect any c

Re: EmbperlObject in 2.0b4

2001-11-27 Thread Wim Kerkhoff
ge in the error log: [20042]SES: Embperl Session management enabled () Yet, whenever %udat or %mdat is accessed (e.g. from base.epl) the request stops. Ie, no more output, but no errors/warnings either... kind of strange... I don't have any sessioning configured in httpd.conf or startup.p

Re: EmbperlObject in 2.0b4

2001-11-22 Thread Gerald Richter
> > [8762]ERR: 24: Error in Perl code: Undefined subroutine called at > /usr/local/lib/perl/5.6.1/HTML/Embperl.pm line 745. > I guess you run into the same problem as Alan yesterday. I have introduced a problem with comments inside [! !] blocks, which causes such an error. I send you an updated v

EmbperlObject in 2.0b4

2001-11-22 Thread Wim Kerkhoff
Has anyone else gone through the process of upgrading an EmbperlObject site from 1.3.x to the new 2.0b4? More details can be provided, but I thought I'd check and see first... I'm getting strange random outputs and errors. I'll reload a page 4 or 5 times and it'll come up f

Re: EmbperlObject interface to mod_mp3

2001-10-29 Thread Gerald Richter
> > Whoops, sorry, didn't mean to send that to the whole list. Why not ? It's not too long and if anybody else runs into the same problem as you, he has already a solution... Gerald - Gerald Richterecos electronic communication ser

Re: EmbperlObject interface to mod_mp3

2001-10-27 Thread Kee Hinckley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Whoops, sorry, didn't mean to send that to the whole list. - -- Kee Hinckley - Somewhere.Com, LLC http://consulting.somewhere.com/ [EMAIL PROTECTED] (or ...!alice!nazgul for time travelers :-) I'm not sure which upsets me more: that people are so u

Re: EmbperlObject interface to mod_mp3

2001-10-26 Thread Kee Hinckley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There's a couple problems with multi-level directories (I have artist/album/files). I haven't done extensive testing, but this seems to fix them. You won't want the initial base_path change of course. *** index.epl Tue Oct 23 17:45:46 2001 - ---

Re: EmbperlObject interface to mod_mp3

2001-10-24 Thread Gerald Richter
> Introducing a simple interface to mod_mp3 written using EmbperlObject that I > have tentatively called Empache (ala the php equivalent Ampache). > > Example: http://24.43.237.74/mp3/ > Download backend: http://24.43.237.74/empache.tar.gz > Great! Thanks for sh

EmbperlObject interface to mod_mp3

2001-10-23 Thread Ilia Lobsanov
Introducing a simple interface to mod_mp3 written using EmbperlObject that I have tentatively called Empache (ala the php equivalent Ampache). Example: http://24.43.237.74/mp3/ Download backend: http://24.43.237.74/empache.tar.gz Regards, Ilia Lobsanov. Nurey Networks Inc. http://www.nurey.net

Re: Problems with EmbperlObject (now with sample source)

2001-09-10 Thread Gerald Richter
25152 - - Original Message - From: "Rainer Perl" <[EMAIL PROTECTED]> To: "Embperl ML (E-Mail)" <[EMAIL PROTECTED]> Sent: Wednesday, September 05, 2001 1:56 PM Subject: Problems with EmbperlObject (now with sample source) > Hi again, > > while I was trying to

Re: EmbperlObject problem

2001-09-08 Thread Gerald Richter
ng to write > ==>access control/authentication/authorization modules for my site embperlObject > ==>suddenly started giving me stuff like > ==> > ==>apache/error.log -- [Thu Sep 6 10:06:08 2001] [error] EmbperlObject searched ';/home/www/newsite;/home/www' &

Re: Problems with EmbperlObject (now with sample source)

2001-09-08 Thread Gerald Richter
> > Could someone please try this, to see if it is a bug or just something with > my setup...? > Looks like some old bug we have had with caching (because more then one file named sub.epl). Actually this should work in 1.3.3, but I try it as soon as possible and let you know how to fix it Gerald

Re: EmbperlObject problem

2001-09-06 Thread Nate Smith
not quite satisfied with the current state of the Session ==>implementation in the stable tree. So, while I was starting to write ==>access control/authentication/authorization modules for my site embperlObject ==>suddenly started giving me stuff like ==> ==>apache/error.log -- [

EmbperlObject problem

2001-09-06 Thread Nate Smith
Hi, I recently implemented a site using embperl, but like a lot of people on the list am not quite satisfied with the current state of the Session implementation in the stable tree. So, while I was starting to write access control/authentication/authorization modules for my site embperlObject

EmbperlObject problem

2001-09-06 Thread Nate Smith
Hi, I recently implemented a site using embperl, but like a lot of people on the list am not quite satisfied with the current state of the Session implementation in the stable tree. So, while I was starting to write access control/authentication/authorization modules for my site embperlObject

Problems with EmbperlObject (now with sample source)

2001-09-05 Thread Rainer Perl
Title: Problems with EmbperlObject (now with sample source) Hi again, while I was trying to track down the problem, I found something else... have a look: /base.epl: [- Execute('*'); -] /main.epl: This is the main-file We're now calling the sub... [- E

Problems with EmbperlObject

2001-09-05 Thread Rainer Perl
Title: Problems with EmbperlObject Hi, I'm having some strange problems with EmbperlObject (running via apache/mod_perl; Embperl 1.3.3). Here's my layout: /base.epl: [- Execute('*'); -] I'm requesting /subdir/main.epl, it just cotains: [- Execute('

Re: HTML::EmbperlObject::Execute w/in CGI

2001-08-15 Thread Gerald Richter
> > 1) is this possible and is EmbperlObject::Execute really what I'm > looking for? > When I understand right what you want to do, Embperl::Execute would be better. (It just includes your header/footer at the desired place) If you have a CGI that doesn't generate

Re: HTML::EmbperlObject::Execute w/in CGI

2001-08-14 Thread Dimitri Ostapenko
"David M. Spreitzer" wrote: > > I'm a Embperl newbie needing some help. > > I've implementing EmbperlObject for generating the html pages, which btw > worked great. Now I'd like to use the component files (headers/footers) > within some existi

HTML::EmbperlObject::Execute w/in CGI

2001-08-14 Thread David M. Spreitzer
I'm a Embperl newbie needing some help. I've implementing EmbperlObject for generating the html pages, which btw worked great. Now I'd like to use the component files (headers/footers) within some existing cgi scripts. I think HTML::EmbperlObject::Execute is my answer, but

Re: EMBPERL_VIRTLOG & EmbperlObject (was: DocumentRoot handled by EmbperlObject)

2001-08-08 Thread Thoren Johne
"Gerald Richter" <[EMAIL PROTECTED]> writes: > > would it be better to use the directive? > > > > Files only take a filename and is overridden by the Location block which set > the EmbperlObject handler, so this won't work > > Thoren, could yo

Re: EMBPERL_VIRTLOG & EmbperlObject (was: DocumentRoot handled by EmbperlObject)

2001-08-08 Thread Gerald Richter
> would it be better to use the directive? > Files only take a filename and is overridden by the Location block which set the EmbperlObject handler, so this won't work Thoren, could you send me your current httpd.conf, so I can take a closer look at i

Re: EMBPERL_VIRTLOG & EmbperlObject (was: DocumentRoot handled by EmbperlObject)

2001-08-07 Thread Akshay Arora
would it be better to use the directive? SetHandler perl-script PerlHandler HTML::Embperl Options ExecCGI I don't know if this would work or not, but I would have tried this first. Thoren Johne wrote: > > "Gerald Richter" <[EMAIL PROTECTED]> writes: > > > Could you c

Re: EMBPERL_VIRTLOG & EmbperlObject (was: DocumentRoot handled by EmbperlObject)

2001-08-07 Thread Thoren Johne
"Gerald Richter" <[EMAIL PROTECTED]> writes: > Could you change this to > > SetEnv EMBPERL_VIRTLOG /embperl/log/embperl.log > > SetHandler perl-script > PerlHandler HTML::Embperl > Options ExecCGI > > > Does this ch

Re: EMBPERL_VIRTLOG & EmbperlObject (was: DocumentRoot handled by EmbperlObject)

2001-08-06 Thread Gerald Richter
> SetEnv EMBPERL_VIRTLOG /embperl/log > > SetHandler perl-script > PerlHandler HTML::Embperl > Options ExecCGI > > Could you change this to SetEnv EMBPERL_VIRTLOG /embperl/log/embperl.log

Re: DocumentRoot handled by EmbperlObject

2001-07-31 Thread Thoren Johne
"Gerald Richter" <[EMAIL PROTECTED]> writes: > Sorry, I didn't thought about this right the first time. It's the intended > behaviour of EmbperlObject. ... > I hope it's more clear now ahh... now i understand. thank you :) -- # Thoren Johne - 8#X

Re: DocumentRoot handled by EmbperlObject

2001-07-31 Thread Gerald Richter
lf i guess ;) > Sorry, I didn't thought about this right the first time. It's the intended behaviour of EmbperlObject. http://perl.apache.org/embperl/EmbperlObject.pod.1.html#DESCRIPTION says: "This frame page can now include other pages, using the HTML::Embperl::Execute met

Re: DocumentRoot handled by EmbperlObject

2001-07-30 Thread Gerald Richter
5832), after that you should see where EmbperlObject searchs in the embperl.log file. This should make things easier. Let me know if you find anything (or send me the logfile if you don't find anything) Gerald - To unsu

Re: DocumentRoot handled by EmbperlObject

2001-07-27 Thread Thoren Johne
"Gerald Richter" <[EMAIL PROTECTED]> writes: > > EmbperlObject behaves a bit strange when set-up on DocumentRoot. > > I use such a setup without problems... then i'm doing something wrong ;) > > without a "PerlSetEnv EMBPERL_OBJECT_STOPDIR /"

Re: DocumentRoot handled by EmbperlObject

2001-07-27 Thread Gerald Richter
> EmbperlObject behaves a bit strange when set-up on DocumentRoot. I use such a setup without problems... > > without a "PerlSetEnv EMBPERL_OBJECT_STOPDIR /" directive im getting > 'not found' errors for each element in base.htm - if calling a page in a >

DocumentRoot handled by EmbperlObject

2001-07-27 Thread Thoren Johne
EmbperlObject behaves a bit strange when set-up on DocumentRoot. PerlSetEnv EMBPERL_OBJECT_STOPDIR / PerlSetEnv EMBPERL_OBJECT_BASE base.htm PerlSetEnv EMBPERL_FILESMATCH "\.htm.?|\.epl$" PerlSetEnv EMBPERL_

Re: EmbperlObject, embpexec.pl, and logs

2001-07-19 Thread Gerald Richter
Hi. > > I've been preparing a site using 2.0b2 and EmbperlObject, and it seems to > work great. > I recommend to upgrade to 2.0b3 because it contains some important bug fixes > The main problem I'm having is with trying to generate a page offline. embpexec.pl only

EmbperlObject, embpexec.pl, and logs

2001-07-19 Thread James Churchill
Hi. I've been preparing a site using 2.0b2 and EmbperlObject, and it seems to work great. The main problem I'm having is with trying to generate a page offline. I set the embperl environment variables up the same as in my httpd.conf, however embpexec.pl just gives me back a verbatim c

Re: Embedded EmbperlObject::Execute problem

2001-07-09 Thread Gerald Richter
> > I'm using these quite differently though - my include Executes are > typically simple and never use the EMBPERL_OBJECT* parameters - they > feel like Embperl::Executes within an EmbperlObject search path context. > My 'new' request, on the other hand, is

Re: Embedded EmbperlObject::Execute problem

2001-07-09 Thread Gavin Carr
On Mon, Jul 09, 2001 at 12:22:10PM +0200, Gerald Richter wrote: > > If that's correct, then I was thinking of my embedded > > EmbperlObject::Execute as a (logical) new request, and expecting that > > $req would be empty like it is if I access that page directly.

Re: EmbperlObject

2001-07-09 Thread Wim Kerkhoff
Jack Cushman wrote: > > Is there a preferred way of excluding certain files from EmbperlObject > processing? The problem is, for certain popup windows I don't want the > header and footer to show up. The best I can think of is to put them all in > a /popup directory with

EmbperlObject

2001-07-09 Thread Jack Cushman
Is there a preferred way of excluding certain files from EmbperlObject processing? The problem is, for certain popup windows I don't want the header and footer to show up. The best I can think of is to put them all in a /popup directory with blank header.ht and footer.ht. Is there a bette

Re: Embedded EmbperlObject::Execute problem

2001-07-09 Thread Gerald Richter
Likewise > %fdat and %ENV. %udat and %mdat are probably different because their > whole purpose is to provide persistence between pages ... > One page (as viewed by the user) may consist out of many files (as you know :-) > If that's correct, then I was thinking of my embedded &

Re: Embedded EmbperlObject::Execute problem

2001-07-08 Thread Gavin Carr
rent because their whole purpose is to provide persistence between pages ... If that's correct, then I was thinking of my embedded EmbperlObject::Execute as a (logical) new request, and expecting that $req would be empty like it is if I access that page directly. > > I've worked a

Re: Embedded EmbperlObject::Execute problem

2001-07-08 Thread Gerald Richter
Hi, > > Not sure if this is a bug or me simply making assumptions about how > EmbperlObject would work ... > That's the intented behaviour, because the Embperl Request object is the way how different pages can communicate (pass data back and forth). That's the same for

Embedded EmbperlObject::Execute problem

2001-07-02 Thread Gavin Carr
Hi Gerald et al, Not sure if this is a bug or me simply making assumptions about how EmbperlObject would work ... I've built a Content Management System using EmbperlObject that is working really well. But one issue I've run into is where an EmbperlObject "publishing" page d

Re: Error Message Produced by EmbperlObject

2001-06-16 Thread Gerald Richter
Hi, > > [warn] [3725]ERR: 32: Line 40: Warning in Perl code: Embperl path > search /path/to/file/menu.epl > Looks like you are using an old version of Embperl where I have forgot to delete a "warn" which was left over from debugging. You can safely ignore this message. Upgrading to 1.3.3 should

Error Message Produced by EmbperlObject

2001-06-15 Thread Akshay Arora
Hello all, I'm not sure if this is could be a slight error in EmbperlObject itself or it is just a matter of style. in the base.epl file there is the command [- Execute("menu.epl") -] whie produces the error [warn] [3725]ERR: 32: Line 40: Warning in Perl code: Embperl path searc

Re: Question Re: EmbperlObject

2001-06-08 Thread David Lloyd
Yep! > Any output inside the page is not parsed again, but you can run it thru the > Exeute function to get the desired result: > > > [- $code = get_content_from_a_database("index.html"); -] > [- Execute ({input => \$code}) -] > I stumbled across that solution by reading the documentation, a

Re: Question Re: EmbperlObject

2001-06-08 Thread G.Richter
> > > [- get_content_from_a_database("index.html"); -] > > > Where base.epl is the EmbperlObject base, does Embperl also parse the > output of that function? For example, if get_content... returned: > > [+ $myvariable $] > > Would I see that as a

Question Re: EmbperlObject

2001-06-07 Thread David Lloyd
If I have: base.epl [- Execute(*); -] And index.html as: [- get_content_from_a_database("index.html"); -] Where base.epl is the EmbperlObject base, does Embperl also parse the output of that function? For example, if get_content... returned: [+ $myvariable $] Would I see

  1   2   3   >