RE: Re: Re: Re: Process exists - Segmentation fault

2008-01-09 Thread Gerald Richter - ECOS GmbH
gt; individually, i do not want to make the logs public. > Pl help. I am working on the site http://delhi.pm.org/ it is > the delhi perl mongers site and people in this group have > limited knowledge of embperl but this will push up the > embperl in Delhi . > -- > Tha

RE: Re: Strange behavior in Embperl

2008-01-02 Thread Gerald Richter - ECOS GmbH
ry used in my code uses it. I am closing by > $dbh->disconnect and there is no error in errstr i believe. > > Can you help. > Thanks, > Abhishek jain > > > On 1/1/08, Gerald Richter - ECOS GmbH <[EMAIL PROTECTED]> wrote: > > Hi, > >

RE: Strange behavior in Embperl

2008-01-01 Thread Gerald Richter - ECOS GmbH
Hi, $row has a special meaning in Embperl (see http://perl.apache.org/embperl/pod/doc/Embperl.-page-3-.htm#sect_8) So in your case, replace $row by any other variable name and it should work Gerald > -Original Message- > From: abhishek jain [mailto:[EMAIL PROTECTED] > Sent: Tuesday

RE: Error using Syntax::SSI and Syntax::EmbperlBlocks at the same time

2007-12-26 Thread Gerald Richter - ECOS GmbH
Hi, Sorry for my late reply. Does it change anything if you exchange the order i.e. EMBPERL_SYNTAX "EmbperlBlocks SSI" Gerald > -Original Message- > From: Vietze, Axel [mailto:[EMAIL PROTECTED] > Sent: Monday, November 19, 2007 2:47 PM > To: embperl@perl.apache.org > Subject: Error

RE: RE: embperl checbox checked attribute not inserted

2007-12-26 Thread Gerald Richter - ECOS GmbH
Hi, How do you pass %fdat. The correct way would be: Embperl::Execute ({inputfile => '/path/to/some/file', fdat => \%custom_fdat}) ; Did you do it this way? If yes, did you have a LoadModule and a PerlModule statement for Embperl in your httpd.conf? Gerald > -Original Message- > Fr

RE: embperl

2007-11-13 Thread Gerald Richter - ECOS GmbH
Hi, > > Thanks for reviatalizing this project. It looks like some > of the install steps for HTML::EmbperlObject require the > Apache2 source. Is there a way to do this using apxs?' > Unfortunately it apxs is not supported yet, but when you get asked for the source, specify the directoty w

RE: Embperl app. no longer works after linux upgrade; namespace issue & seg fault]

2007-11-12 Thread Gerald Richter - ECOS GmbH
Hi, For me this looks like you did not have a LoadModule and PerlModule for Embperl in your httpd.conf. If this is not clear please mail your httpd.conf Gerald Gerald Richter ECOS electronic communication services

RE: Authentication & session handling

2007-11-12 Thread Gerald Richter - ECOS GmbH
Hi, I am not aware of a ready framework. The Embperl web sites (which you can find as an example under eg/web in the Embperl distribution), implements some of your ideas. Gerald Gerald Richter ECOS electronic commun

RE: Re: Embperl 2.3.0 coredump

2007-11-12 Thread Gerald Richter - ECOS GmbH
Hi, Embperl 2.3 works with Apache 1.3 and 2.0 and 2.2. Embperl 1.3.x is not maintains anymore, so there is a good chance that it does not work with Perl 5.8.8 Regarding your core dump it looks like you did not have a PerlModule to load Embperl.pm in your httpd.conf. If you unsure, please send

RE: use and Execute differences

2007-10-10 Thread Gerald Richter - ECOS GmbH
Hi, > > Searched through the documentation and mailing lists but > could not find the exact information. > What are the most important differences between using normal > perl module with: > > use Package::Module > > $obj = Package::Module->new(); > > or using > > $obj = Execute({object =>

RE: Re: Re: Problems customizing selected form elements output

2007-10-10 Thread Gerald Richter - ECOS GmbH
> > Thank you very much. Will be trying it as soon as I get the time. > > Could you tell me which files are responsible for the > generation of the (x)html. Is it all in Embperl::Syntax::* or > does some of the logic is also in *.c files. > The difference between html and xhtml is mostly in

RE: virtualhosts with same Docroots - workaround or solution?

2007-10-09 Thread Gerald Richter - ECOS GmbH
Hi, > That's true, but maintenance becomes are little more complicated. I simply use the same httpd.conf, with some inside, to make maintaince easy. > Anyway, > what I encountered is the following: > If I supply every virtual host with a "Embperl_Package" - > Parameter it seems to work as de

RE: virtualhosts with same Docroots steal Request object and Session

2007-10-07 Thread Gerald Richter - ECOS GmbH
Hi, > I have this scenario: > Two virtual servers ( A and B ) share the same DocumentRoot, > due to the fact that every server needs some special "global" > variables, each is set up with its own Perl interpreter. > The first Request to the page mypage.epl determinates which > server has the "r

RE: RE: RE: ANNOUNCE: Embperl 2.3.0

2007-10-04 Thread Gerald Richter - ECOS GmbH
MPAT_1X' switch. Doesn't > the Makefile detect my mod_perl2 correctly? > This swicth comes from mod_perl (Embperl use the same build flags as mod_perl). It is anyway on by default and enables some compatibility features with mod_perl 1.x Gerald > -Alex > > > --

RE: html::embperl is not supported?

2007-10-04 Thread Gerald Richter - ECOS GmbH
Hi, Embperl 1.3.x is not supported anymore and will not work with Apache 2.x You need to upgrade to Embperl 2.3. Please make sure to read the hints in README.v2 Gerald P.S. For further questions, please us the Embperl mailing list --

RE: RE: ANNOUNCE: Embperl 2.3.0

2007-10-04 Thread Gerald Richter - ECOS GmbH
= 2 > option = 262144 > > ERRORS detected! NOT all tests have been passed successfully > > make: *** [test_dynamic] Error 1 > > I'm running debian etch with all updates installed. > > -Alex > > > -Original Message- > From: Gerald Richter -

RE: WORKING!!!!!

2007-09-30 Thread Gerald Richter - ECOS GmbH
> > > I have now successfully installed V2.3.0 with no errors. > > > > > > > > > > Still getting seg faults > > > > > > > > > > Although I am new to backtracing, I have attempted to perform > > > > > one with the fo

RE: Error installing Embperl 2.2.0

2007-09-29 Thread Gerald Richter - ECOS GmbH
Hi, Can you please retry with the just uploaded Embperl 2.3.0. If you still get segfaults, please send me a stack backtrace. Gerald P.S. Please use the Embperl mailinglist for further questions. Besuchen Sie unseren Messe

RE: Re: Problems customizing selected form elements output

2007-09-29 Thread Gerald Richter - ECOS GmbH
Hi, Please try to use the just uploaded Embperl 2.3.0 and set output mode 1 (xml). This should do the trick without the need of your custom syntax Gerald Besuchen Sie unseren Messestand auf der SYSTEMS vom 23. - 26.10. in

ANNOUNCE: Embperl 2.3.0

2007-09-29 Thread Gerald Richter - ECOS GmbH
The URL ftp://ftp.dev.ecos.de/pub/perl/embperl/Embperl-2.3.0.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GR/GRICHTER/Embperl-2.3.0.tar.gz size: 678320 bytes md5: a1d6ce28c34fc7763313b99b9e6b150a Beside some bugfixes, this release contains some enhancements in the area of utf

RE: Revitalizing Embperl

2007-09-28 Thread Gerald Richter - ECOS GmbH
Hi, It will not work to put mod_perl and Embperl together. Both have different focus and users. Mod_perl people will never fix themself to one framework (and I think that is good). The only thing that might help (as already suggested) to have an easy to install installation system that bundle

RE: Re: $cnt doesn't work for me as advertised

2007-09-28 Thread Gerald Richter - ECOS GmbH
Hi, $cnt is not (yet) implement in Embperl 2.x (it was in 1.x). Documentation is a little bit out of date on this. It should work to use [+ $arr[$row*$maxcol+$col] +] Gerald Besuchen Sie unseren Messestand auf der SYSTE

RE: Problem with Apache 2.2.6

2007-09-28 Thread Gerald Richter - ECOS GmbH
> > I've just upgraded Apache and Embperl won't compile. > > Embperl 2.2.0 > GenToo Linux > Apache 2.2.6 > apr 1.2.8 > libapreq2 2.08 > > These are the error messages I get: As far as I can see that is something you have to blame your distribution for. I have no problems running Embperl with

RE: RE: Using Catalyst to revitalize Embperl

2007-08-19 Thread Gerald Richter - ECOS GmbH
Hi, > > I also wonder if it wouldn't be better to get the Mason > maintainers to look at replacing the core of Mason with the > fast internals of Embperl and merge some development efforts. > I have tried this for some time, when Mason was first published, but I didn't had sucess. Now, sinc

RE: Re: perl Makefile.PL problems embperl-2.2.0

2007-08-15 Thread Gerald Richter - ECOS GmbH
Hi, > > What is actually happeing is, that mod_perl.pm is not found on your > > system. > > Shouldn't this be looking for mod_perl2.pm, not mod_perl.pm? > Yes, it should. Seems like most people have mod_perl.pm installed from time before it was renamed. To fix it goto Makefile.PL line 1058 a

RE: perl Makefile.PL problems embperl-2.2.0

2007-08-15 Thread Gerald Richter - ECOS GmbH
Hi, > > I've having trouble getting embperl to configure without > error. When I run `perl Makefile.PL` it first reports that > mod_perl is found, then that it is not found: > The first check is for the Apache module of mod_perl, second check is for the Perl part of mod_perl. What is actua

RE: Using Catalyst to revitalize Embperl

2007-08-15 Thread Gerald Richter - ECOS GmbH
Hi Kee, First of all thank you for trying to get Embperl back into the light. As other already supposed I currently don't have as much time left over for Embperl as I would like to have. Anyway developement doesn't stand still (also it's only visible in the SVN). I currently working on a big f

RE: Re: Dynamically generating file for download

2007-08-02 Thread Gerald Richter - ECOS GmbH
Hi, There are already a lot of good replies. What I actualy would do, would be to use an Embperl Application Object (see http://perl.apache.org/embperl/pod/intro/IntroEmbperl2.-page-3-.htm), that let you separate logic and layout. The init method is able to tweak serveral parameters of the re

RE: RE: RE: error document

2007-07-09 Thread Gerald Richter - ECOS GmbH
> > I ran the tests, and the result is as follows. > That sounds ok. In this case could you please run your httpd under gdb with the -X option e.g. gdb --args /path/to/httpd -f /path/to/httpd.conf -X Then do the request where you get the bus error and at the gdb prompt type bt And send

RE: RE: RE: Re: seg fault from foreach loop

2007-06-29 Thread Gerald Richter - ECOS GmbH
There was an error in the patch I just sent, here is the correct one Gerald -- Gerald Richter ECOS electronic communication services GmbH *** SECURING YOUR NETWORK Post: T

RE: RE: Re: seg fault from foreach loop

2007-06-29 Thread Gerald Richter - ECOS GmbH
Hi, The attached patch will print an error message instead of segfaulting. Gerald -- Gerald Richter ECOS electronic communication services GmbH *** SECURING YOUR NETWORK Post:

RE: RE: error document

2007-06-29 Thread Gerald Richter - ECOS GmbH
> > I ran httpd on another port with -X, and it's somewhat interesting. > > When the first request to the httpd (started with -X) is for > a missing page or a page with error, I get bus error or > segmentation fault and apache dies. > > If the first request is a hit and successful, subsequent

RE: Re: Embperl on Mac OS X ?

2007-06-29 Thread Gerald Richter - ECOS GmbH
Hi Robert, > > Gerald, > if I get a Mac and send you ssh access would you be willing > and have time looking into porting Embperl to MacOSX? > I am on holiday until the 20th of July and before I will not have time to look at this issue, but if you (or anybodyelse) are able to setup a ssh acc

RE: Small change request

2007-06-29 Thread Gerald Richter - ECOS GmbH
> > This works nicely but [$ sub foo($p) $] (ie without the space > between foo and ($p)) gives an error. > > Might be worth allowing this in some future version if it's > not too hard? > The regex that splits out the arguments is in Embperl/Syntax/EmbperlBlocks.pm line 420. Should be easily

RE: Re: Breaking space in an [$ if $] block

2007-06-29 Thread Gerald Richter - ECOS GmbH
> > works great. Didn't know I could do that. Many thanks. > > Out of interest for a deeper understanding of embperl, why > doesn't a regular space do the trick? > Embperl tries to remove "unnecessary" spaces from the output after embedded code. Most time that is what you want, because ot

RE: Re: Embperl on Mac OS X ?

2007-06-15 Thread Gerald Richter - ECOS GmbH
> > Found unexpected output in httpd errorlog: > [Fri Jun 15 10:18:39 2007] [crit] [client 127.0.0.1] (13)Permission > denied: /Users/moranp/Desktop/.htaccess pcfg_openfile: unable > to check htaccess file, ensure it is readable > make: *** [test_dynamic] Error 1 > > Uggg - I try touching the .h

RE: Re: Embperl on Mac OS X ?

2007-06-15 Thread Gerald Richter - ECOS GmbH
uot; > [-5]syntax error at /Users/moranp/Desktop/Downloads/Embperl-2.2.0/ > test/html/rtf/rtfmeta.asc line 20, at EOF [-6]syntax error at > /Users/moranp/Desktop/Downloads/Embperl-2.2.0/ > test/html/rtf/rtfmeta.asc line 27, near "; [-7]}" > > > Hope this helps...

RE: File Upload Problems

2007-06-14 Thread Gerald Richter - ECOS GmbH
> I am using embperl and apache. When I try using the example > file distributed with embperl, namely upload.htm, I get the > following error display in the web browser: > > > > > Method Not Allowed > > > The requested method POST is not allowed for the URL > /file_upload.

RE: RE: error document

2007-06-14 Thread Gerald Richter - ECOS GmbH
Hi, > > I ran httpd on another port with -X, and it's somewhat interesting. > > When the first request to the httpd (started with -X) is for > a missing page or a page with error, I get bus error or > segmentation fault and apache dies. > > If the first request is a hit and successful, subseq

RE: Re: Embperl on Mac OS X ?

2007-06-14 Thread Gerald Richter - ECOS GmbH
> Gerald, > if I get a Mac and send you ssh access would you be willing > and have time looking into porting Embperl to MacOSX? > Also I don't use a Mac on my own, I really would like to see Embperl running on a Mac. Time is the problem, but if I have ssh access to a Mac I can at least try to

RE: Object Arrays & Dynamic Tables

2007-06-06 Thread Gerald Richter - ECOS GmbH
Hi, > > However when I try using an Embperl dynamic table (as > desired) like the following: > > > > [+ $facets[$row]->facet_name +] > > > > I get an error: > >[1381]ERR: 24: Error in Perl code: Can't call method > "facet_name" on an undefined value at > /

RE: Re: Embperl on Mac OS X ?

2007-06-06 Thread Gerald Richter - ECOS GmbH
> > More and more people are using Mac's now.. so be great if a > fix could be found... > Yes, that is true. Unfortunately I have no Mac for testing and no knowlegde of the special things that happens on a Mac. Gerald ** Virus checked by BB-5000 Mailfilter ** --

RE: error document

2007-06-06 Thread Gerald Richter - ECOS GmbH
Hi, I guess the problem might happen when the same child serves the page again, so the initialisation is skiped. Could you try to run httpd with the -X option, so you have only one process. Does it now fail the second request? Gerald --

RE: Re: Debugging behavior

2007-06-06 Thread Gerald Richter - ECOS GmbH
> > What started my search was that I ended up with extra TR 's > and TABLE 's being printed as plain text when I turned on > EMBPERL and I needed to fix that. > If you have a small test page that shows the problem, we can try to find what's wrong Gerald ** Virus checked by BB-5000 Mailfil

RE: Re: seg fault from foreach loop

2007-06-06 Thread Gerald Richter - ECOS GmbH
Hi, > > I found the error one of my input tags had a typo > > value="[+$date+]" class="formfield"'> > > note the extra ' at the end of the input tag. That combined > with the foreach syntax described below caused the > segmentation fault. If anyone wants to further debug this I > will be ha

RE: RE: make test error (was Introduction / SuSE Installation)

2007-06-06 Thread Gerald Richter - ECOS GmbH
c/sysconfig/apache2. > Everything is copasetic now. > > Thanks Gerald! I am SO stoked to have embperl at my disposal > again!! :D Have a great weekend. > > - Gavin > > P.S. It's amazing what one can accomplish after a 20 minute nap. ;) > > >>> Ger

RE: make test error (was Introduction / SuSE Installation)

2007-05-25 Thread Gerald Richter - ECOS GmbH
I don't even have a .htaccess file in > my /root/ directory. Is that the problem? Was I supposed to > create one or does the make test create that? I've searched > the list archives for the solution to my problem with no luck. > > - Gavin > > >>> Gerald

RE: RE: Introduction / SuSE Installation

2007-05-25 Thread Gerald Richter - ECOS GmbH
E: Introduction / SuSE Installation > > >>> Gerald Richter - ECOS GmbH <[EMAIL PROTECTED]> 05/25/07 9:39 AM >>> > > even uses an older version of SuSE. However I cannot locate the > > httpd.h header(?) file. I found the httpd daemon and the mod_env.

RE: apache, webdav, embperl

2007-05-25 Thread Gerald Richter - ECOS GmbH
You need to put your webdav and your Embperl definition inside of two different blocks, so Apache knows what to do when you request a page Gerald -- Gerald Richter ECOS electronic communication services GmbH **

RE: Introduction / SuSE Installation

2007-05-25 Thread Gerald Richter - ECOS GmbH
Hi, > > My name is Gavin and I am a systems programmer at Central > Washington University. I used to develop pages with embperl > several years ago when I was working for a local ISP. Since > then, I have not had the resources to program with embperl. I > miss it! I have become perfectly comf

RE: Syntax check in Embperl version 1.x

2007-05-25 Thread Gerald Richter - ECOS GmbH
> > Is there a way to quickly test files for syntax in Embperl 1? > > FYI, I've been using the following line to syntax check for > Embperl 2. I'm looking for something similar for version 1, > if it exists. > > Embperl::Execute ({inputfile => $fn, import => 0}) ; Should also work with Embper

RE: Subrequest to remote server

2007-05-25 Thread Gerald Richter - ECOS GmbH
> just to make sure I didn't miss something: > > Am I right in the assumption that I can not make a Embperl > subrequest directly to a remote server? > I tried in myaction.ep: > Execute ( { inputfile=> 'somestring', >subrequest => > 'http://hidden.server.com/action/to/pe

RE: RE: RE: Embperl install error: apr_strings.h: No such file or directory

2007-05-25 Thread Gerald Richter - ECOS GmbH
> > > >There is (or at least it was) a mod_perl 2 installed > > >Run > > > perl Makefile.PL /test/apache_1.3.31 > > >Instead, this should force Embperl to use mod_perl 1 > > Thanks, this help is much appreciated. > > This got the make to run successfully, but now make test is > throwin

RE: RE: make test: Cannot load /Embperl-2.2.0/blib/arch/auto/Embperl/Embperl.so into server: cannot create object file image or add library

2007-05-25 Thread Gerald Richter - ECOS GmbH
->{param}]:$test->{param}) ; > > The arguments from this call to Embperl::Run::run on my System are: > > -o > test/tmp/out.htm > -l > test/tmp/test.log > -d > 2147475453 > test/html/ascii > > Would really great if you could help. > > Holger > >

RE: Re: help with embperl and php

2007-05-10 Thread Gerald Richter - ECOS GmbH
> Gerald Richter - ECOS GmbH schrieb: > >> If your question was only "can my PHP-serving Apache also serve > >> Embperl documents?", the answer would be a simple "yes". > But when you > >> added "in the same file", I got all sweaty

RE: RE: Embperl install error: apr_strings.h: No such file or directory

2007-05-10 Thread Gerald Richter - ECOS GmbH
> > -bash-2.05b$ perl Makefile.PL > Found mod_perl 2.0 > There is (or at least it was) a mod_perl 2 installed Run perl Makefile.PL /test/apache_1.3.31 Instead, this should force Embperl to use mod_perl 1 > When line 768 of the makefile is commented out, make seems to > succeed just fi

RE: Embperl install error: apr_strings.h: No such file or directory

2007-05-10 Thread Gerald Richter - ECOS GmbH
> Trying to install Embperl 2.2.0 on a Linux 2.4.21-47.ELsmp > box, under Apache 1.3.31, we are getting the below errors at > make test. > > The only clue I have is that apr_strings.h seems to be a file > for Apache Portable Runtime, which is generally associated > with Apache 2. Yes, this i

RE: Re: help with embperl and php

2007-05-10 Thread Gerald Richter - ECOS GmbH
> > If your question was only "can my PHP-serving Apache also > serve Embperl documents?", the answer would be a simple > "yes". But when you added "in the same file", I got all sweaty. > Theoreticaly you can have a PHP script that generates Embperl code, which is afterwards interpreted by Em

RE: About the regular expression problem

2007-05-04 Thread Gerald Richter - ECOS GmbH
HI, > I have a problem when I use regular expression. > The sample code: > [- $_ = "One Two Three" -] > [$ if(/(\S+) (\S+) (\S+)/) $] > The words are: [+$1+], [+$2+], [+$3+] > [$ endif $] > > The result should be "The words are: One, Two, Three," But I > got the result "The words are: One, Two,.

RE: RE: embperl syntaxes

2007-05-03 Thread Gerald Richter - ECOS GmbH
> >> Are these still valid? > >> 1) multiple domain cookies > >> $http_headers_out{'Set-Cookie'} = ['name=cook1;value=2;', > >> 'name=cook2;value=b'] ; > > Yes > > I can only get the second (or the last) cookie when I do > that. Is there some environment setting affecting this? Thanks. > No, t

RE: How does Embperl work with different Apache2 MPM models?

2007-05-03 Thread Gerald Richter - ECOS GmbH
Hi, > > In short, the user states embperl only works with the Prefork > Apache MPM. I have only used this MPM (and not the other > ones, particularly the ones based on threading) - and this is > because only the Prefork one works reliably with mod_perl > (and much of my code is mod_perl). How

RE: embperl syntaxes

2007-04-27 Thread Gerald Richter - ECOS GmbH
> > Are these still valid? > > 1) multiple domain cookies > $http_headers_out{'Set-Cookie'} = ['name=cook1;value=2;', > 'name=cook2;value=b'] ; > Yes > 2) The Simple DBI Example, > http://perl.apache.org/embperl/pod/intro/Intro.-page-4-.htm > Mainly yes, but is not supported in Embperl 2.

RE: EmbperlLibXSLT and utf-8

2007-04-26 Thread Gerald Richter - ECOS GmbH
Hi, I am not an xml specialist, but if I remeber correctly, your tag at the beginning of the document should contain a charset declaration to make it working Gerald -- Gerald Richter ECOS electronic communication

RE: shorthand for disabling escaping?

2007-04-26 Thread Gerald Richter - ECOS GmbH
> > In http://perl.apache.org/embperl/pod/doc/Embperl.-page-5-.htm#sect_20 > it says: > >NOTE: Normaly [sic] you can disable escaping by preceeding the item >that normaly [sic] is escaped with a backslash. > > but these don't seem to work: > > \[+$markup+] > [+\$markup+] > > It wo

RE: make test: Cannot load /Embperl-2.2.0/blib/arch/auto/Embperl/Embperl.so into server: cannot create object file image or add library

2007-04-26 Thread Gerald Richter - ECOS GmbH
Hi, I don't have a Mac here to verify this, but there was a discussion on the list about theses issues. Could please take a look at the mailing list archive, there should be an answer. If not, please come back to the list Gerald --

RE: RE: RE: does EmbperlBlocks really ignore html

2007-04-05 Thread Gerald Richter - ECOS GmbH
> > So just to confirm my understanding: > > if a sub uses only [- -] and returns an html value, then it > can and should be called with [+ +]. > alternatively, the sub can use [+ +] internally and the > caller can use [- -] to call it. > just don't mix the two. > Yes. In addition, if you ha

RE: universal @INC?

2007-04-04 Thread Gerald Richter - ECOS GmbH
> > It seems that if I do >[! use lib '/whatever/wherever'; !] > in one file, it doesn't help when i do >[! use MyModule; !] > in another file. > So what is the best way to set @INC so it applies to everything? > If you use mod_perl, than you should put it in a startup.pl that you inclu

RE: RE: does EmbperlBlocks really ignore html

2007-04-04 Thread Gerald Richter - ECOS GmbH
to wreak havoc. > Using [+ my_sub () +] will just, in addition to what the sub is already outputing, output the return value of the sub, which might be in your case some html. Gerald > -mda > > On Tue, 3 Apr 2007 10:59:36 +0200, "Gerald Richter - ECOS > GmbH" <[EMAIL

RE: does EmbperlBlocks really ignore html

2007-04-03 Thread Gerald Richter - ECOS GmbH
Hi, > > Does the EmbperlBlocks syntax really ignore everything > outside of embperl block? Yes, 100% sure Gerald > I don't have a minimal test case yet, but it still seems to > be randomly rearranging content and disappearing my table > tags and whatnot. > > -mda > > ---

RE: Re: $escmode behaving inconsistently?

2007-04-02 Thread Gerald Richter - ECOS GmbH
Hi, > > -comas.conf--- > > Alias /comas /home/gwolf/cvs/comas/trunk/embperl > > PerlSetEnv EMBPERL_ESCMODE 0 > PerlSetEnv EMBPERL_OPTIONS 16 > PerlSetEnv EMBPERL_MAILHOST mosca.iiec.unam.mx > PerlSetEnv EMBPERL_DEBUG 0

RE: strange Locking behavior on OS-X Server

2007-04-02 Thread Gerald Richter - ECOS GmbH
Hi, > > on OS-X Server, Version 10.4, > Apache/1.3.33 (Darwin) Embperl/2.2.0 DAV/1.0.3 mod_ssl/2.8.24 > OpenSSL/ 0.9.7l mod_perl/1.29 > > a strange behaviour occurs when using "File" as storaage and > either "Semaphore" or "File" as locking, under certain > circumstances mostly under a minimu

RE: $escmode behaving inconsistently?

2007-04-02 Thread Gerald Richter - ECOS GmbH
Hi, > > I want to completely turn off escaping in my application > (written in EMBPERL_OBJECT_APP mode). I have configured it in > the Apache configuration - I tried both with PerlSetEnv > EMBPERL_ESCMODE 0 and with EMBPERL_INPUT_ESCMODE 0. In both > cases, it works correctly the first time I

RE: using GET and POST simultan

2007-04-02 Thread Gerald Richter - ECOS GmbH
> > on Jul 19, 2000, 12:12 PM richter at ecos wrote: > >Currently Embperl cannot join the values from POST and GET > together (it's on >the TODO list). > > Is this still on the TODO list? > Yes Gerald - To unsubscribe, e

RE: bug in eputil.c

2007-04-02 Thread Gerald Richter - ECOS GmbH
Hi, > If you make the mistake of setting EMBPERL_OUTPUT_MODE=XML > instead of EMBPERL_OUTPUT_MODE=1 then > embperl_OptionListSearch in eputil.c will go into an infinite loop. > > I don't see how that code can possibly work, since both > sKeyword loop and the pEntry->sOption inner loop look li

RE: Execute in a specified syntax?

2007-04-02 Thread Gerald Richter - ECOS GmbH
> > Something like: > > [- Execute syntax="SSI" ('includes/header.shtml') -] > > perhaps? > Use [- Execute ({ syntax => "SSI", inputfile => 'includes/header.shtml'}) -] > Also, what has to be done to get embpcgi.pl to report > something more useful than just $rc and time? You might use t

RE: Performance problems while building tables

2007-03-20 Thread Gerald Richter - ECOS GmbH
Hi, Sorry for the late reply. > > using Embperl 2.2.0 with mod_perl 2.0.3 on a linux machine > with perl 5.8.8, I have some performance problems with large > tables. The code which I have attached at the end of this > message takes quite a long time depending on the number of > rows of the t

RE: embperl 2.2 with Apache2x - already available for Windows?

2007-03-19 Thread Gerald Richter - ECOS GmbH
Hi, > learning from the e-mail-archive of november 2006, gerald > richter said, that embperl2x is not yet working with apache2x > on Windows. > My question: did the situation change in the meantime? > Unfortunately not :-( Currently here at ecos we are using Embperl only on Unix, so I have no

RE: Make test

2007-03-04 Thread Gerald Richter - ECOS GmbH
Hi, This is a know bug in 2.2.0, just run make test TESTARGS="-i" This should show only this error, which you can safely ignore Gerald > -Original Message- > From: Soltan Safavi [mailto:[EMAIL PROTECTED] > Sent: Friday, March 02, 2007 9:23 PM > To: embperl@perl.apache.org > Subjec

Re: Random Behavior

2002-12-03 Thread Gerald Richter - ecos gmbh
> Suddenly embperl is attempting to give (2) session cookies. > > One has a correct session hash and is OK. The other one is named session > and has an expiry of Wednesday, December 31, 1969 7:00:01 PM. > > I havent changed anything on the server - Before I rip my self apart, > does anyone know i

Re: Backtrace from SIGSEGV 5.8 Embperl 2.0b9-dev5

2002-12-03 Thread Gerald Richter - ecos gmbh
Hi, > > I have Perl 5.8 and Embperl 2.0b9-dev3 working fine on a Mandrake Linux > server upgraded from 8.2 to 9.0 (5.6.1 to 5.8), but when I went to do an > install on a fresh copy of Mandrake 9.0 I encountered a problem with > segfaults. Here is the backtrace output: > Could you please recom

Re: perl-5.8.0 and embperl-2.0b8/1.3.4

2002-09-05 Thread Gerald Richter - ecos gmbh
> > >Is there any special with perl-5.8.0 and embperl-2.0b8? > > > > > >Perl 5.8.0 has changed some of it's internals, so Embperl 2.0b8 doesn't work > >correctly under 5.8.0. > > > >It's on top of my todo list and I can hopefully getting it working soon > > Are there any issues with 5.8.0 and Emb

Re: ANNOUNCE: ewok - embperl-based content management system

2002-09-03 Thread Gerald Richter - ecos gmbh
Hi, > > The first public (beta) release of ewok, a web content management system > written in Embperl, is now available under the GPL at: > > http://www.openfusion.com.au/labs/ewok/ > Great news! As soon as I get a little time I put a link on perl.apache.org/embperl Gerald --

Re: (Emb)perl & JavaScript

2002-09-03 Thread Gerald Richter - ecos gmbh
Hi, > > I'd like to have a (emb)perl library that would hide the JavaScript > ugliness behind couple of simple Perl calls, but I can't find anything > interesting. Ideally it would work in the Embperl::Form::Validate way, > but offered more advanced stuff like (database) table edit widget, > int

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

2002-08-22 Thread Gerald Richter - ecos gmbh
> embpexec.pl drawCompressed.htm "yr=2002&mo=08" > > Does not have any problems. This file uses this: > [$ while ($h = $sth->fetchrow_hashref()) $] > [$ endwhile $] > > But call it from the browser, and it kills the httpd > instance. > Please make sure you have loaded DBI & Embperl at the serv

Re: embperl 2 session management

2002-08-22 Thread Gerald Richter - ecos gmbh
>> [+ $mdat{cnt}++ +] >> >> Does it work or do you get the same problems? >Ah, ok, that works. But the problem returns as soon as I have >both udat and mdat in the page. Maybe it is Apache::Session or >Apache::SessionX getting confused about having two session id's for >one page and only one semap

Re: embperl b8 with perl 5.8

2002-08-01 Thread Gerald Richter - ecos gmbh
> > Do you think you will be looking at 5.8 soon? > I hope I get enough time to look at running Embperl with Perl 5.8 during the next week Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserv

Re: bug in tables and [* *]

2002-07-04 Thread Gerald Richter - ecos gmbh
> Take the following table: > > > > > XXX > > > [* if ($t) { *] > > > YYY > > > [* } *] > > > If $t is true it works. If $t is false, the whole contents of the table will > be skipped, even the XXX part. (This is in 2.0b8) > Looks like a bug, quick

Re: enctype multipart/form-data PROBLEMS

2002-07-04 Thread Gerald Richter - ecos gmbh
Hi, > > I am refering to a message you posted on a discussion group > > > I read an email which I believe was from you, if not sorry for the bother. > > But we are having a very similar problem with our web page. When we try to > > pass the values back to our cgi script they are all blank. But whe

Re: Antwort: Re: Antwort: Re: Antwort: Re: Problems with embperl-2.0b8

2002-07-04 Thread Gerald Richter - ecos gmbh
Hello, > yes 'base.epl' calls 'content.epl' from the project root-dir and this calls > 'index.html'. > In that 'index.html' i have a call to 'main/index.html' which should also call > 'main/content.epl', > but this doesn't work. > main/content.epl will not be called automaticly for you in this se

Re: sessionmanagement with embperl

2002-07-04 Thread Gerald Richter - ecos gmbh
> > After unziping the Apache:Session 1.5 I get so many different files. > > Where am I to put all of them? > > How exactly do I install Apache::session? ... I used makefile...but where do I run like "make", > > "make test" and "install" on a windows system? > Do you use ActiveState Perl?

Re: weird escmode behaviour

2002-07-04 Thread Gerald Richter - ecos gmbh
Hi, > > > However when I run escmode.pl where escmode.pl is the following perl script. > > -- > #!/usr/local/bin/perl > > use HTML::Embperl; > HTML::Embperl::Execute("/export/home/mjs/bin/escmode.epl"); > -- > Execute does not scan the environment per default. In version before 2.0b6 you need to

Re: Embperl 2.0b8 local escmode

2002-06-25 Thread Gerald Richter - ecos gmbh
Hi again! > > This line isn't working any more in b8: > > Expand Administrativa > > WHY? > Because it should have also not work in any Embperl 2 version before, but did by accident. The reason is that it was much slower before. Anything inside [+ +] must be a valid Perl expression (there was a bu

Re: Embperl 2.0b8 & Apache 2.0

2002-06-25 Thread Gerald Richter - ecos gmbh
Hi! > > I've updates DBI to version 1.28 (from 1.21) and since then httpd doesn't start > any more (no entry in the logs). > > Now i started updating all other modules also and saw Embperl 2.0b8... > My problem is that Embperl detect mod_perl2 although it isn't installed! > I installed apache

ANNOUNCE: Embperl 2.0b8

2002-06-25 Thread Gerald Richter - ecos gmbh
The URL ftp://ftp.dev.ecos.de/pub/perl/embperl/Embperl-2.0b8.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GR/GRICHTER/Embperl-2.0b8.tar.gz size: 628343 bytes md5: d089a86671a0c559b77f107a4e6d67c9 I have done a lot of fine tuning and error fixing since 2.0b7. Also Embperl now

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: 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: Multipart form data inconsistincies

2002-05-22 Thread Gerald Richter - ecos gmbh
> > Is there a reason for this/way round it ? > Just historical reasons. Set optAllFormData in EMBPERL_OPTIONS and you get always all fields in %fdat. BTW. 2.0 behaves always like optAllFormData is turned on Gerald - Gerald Richter

Re: Getting Gerald to the O'Reilly OpenSource Conference

2002-05-17 Thread Gerald Richter - ecos gmbh
925152 > > ------------- > > > > > > - Original Message - > > From: "Gerald Richter - ecos gmbh" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]>; "Kee Hinckley" <[EMAIL

Re: Getting Gerald to the O'Reilly OpenSource Conference

2002-05-17 Thread Gerald Richter - ecos gmbh
w.ecos.de Fax: +49 6133 925152 > - > > > - Original Message - > From: "Gerald Richter - ecos gmbh" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; "Kee Hinckley" <[EMAIL PR

Re: Handling Errors with 2.0b7

2002-05-14 Thread Gerald Richter - ecos gmbh
> > 1. First off, I could not seem to get Embperl to email errors to me, >using the EMBPERL_MAIL_ERRORS_TO and associated configs. Is this >working? Is there something else I need to do to make it work? > >Example (2.0b7 config): > EMBPERL_MAIL_ERRORS_TO cam@localhost > E

  1   2   >