[Bug] in Embperl with DBD::Interbase

2008-04-24 Thread daniel
x27;httpready' Accept Filter Input: test/html/ascii Output: test/tmp/out.htm Log:test/tmp/test.log ERRORS detected! NOT all tests have been passed successfully *** Error code 1 Before updating my port Embperl works without problems.

Re: RE: Re: RE: RE: RE: RE: useless error message

2007-01-26 Thread Daniel
Thanks Gerald, but I don't seem to get it working: using lighttpd setenv.add-environment = ( "EMBPERL_SESSION_HANDLER_CLASS" => "no", "EMBPERL_ESCMODE" => "0", "EMBPERL_OPTIONS" => "0x800", #optShowBacktrace = 0x800 "EMBPERL_INPUT_ESCMODE" => "0", "

Re: RE: RE: RE: RE: useless error message

2007-01-25 Thread Daniel
Is there a CGI equivalent environmental variable to set? On Tue, Oct 24, 2006 at 05:32:20AM +0200, Gerald Richter wrote: > > > > My point is that perl by default will give the stack trace > > when calling it from commandline, and embperl does not show it. > > > > Embperl passes through whatev

Re: RE: RE: RE: useless error message

2006-10-23 Thread Daniel
On Wed, Oct 11, 2006 at 04:36:46PM +0200, Gerald Richter wrote: > hi, > > > > On Fri, Oct 06, 2006 at 06:33:28AM +0200, Gerald Richter wrote: > > > Hi, > > > > > > > > > > > > I'm getting this email message when trying to load a > > > > page, however, > > > > > > there's no version.pm anywhere th

Re: RE: RE: useless error message

2006-10-09 Thread Daniel
hi, On Fri, Oct 06, 2006 at 06:33:28AM +0200, Gerald Richter wrote: > Hi, > > > > > > > > I'm getting this email message when trying to load a > > page, however, > > > > there's no version.pm anywhere that I'm aware of. > > > > Also, it doesn't tell me what module is looking for it. > > > > Wi

Re: RE: useless error message

2006-10-03 Thread Daniel
On Fri, Sep 01, 2006 at 05:54:08AM +0200, Gerald Richter wrote: > Hi, > > > > I'm getting this email message when trying to load a page, > > however, there's no version.pm anywhere that I'm aware of. > > Also, it doesn't tell me what module is looking for it. > > Without knowing what module is

useless error message

2006-08-22 Thread Daniel
Hi, I'm getting this email message when trying to load a page, however, there's no version.pm anywhere that I'm aware of. Also, it doesn't tell me what module is looking for it. Without knowing what module is looking for it, it's really hard to debug. Any tips? bootstrap/logs/error.log:[11184]ERR

fastcgi etc

2006-08-19 Thread Daniel
Once again I will attempt trying to tackle getting embperl+fastcgi+lighttpd working. My current setup is embperl+lighttpd and works fine, albeit slow. My handler for .epl files has been set to be embpexec.pl cgi.assign = ( ".pl" => "/usr/bin/perl",

Makefile.PL

2006-08-02 Thread Daniel
Embperl-2.2.0]$ perl Makefile.PL Build with support for Apache mod_perl?(y/n) [y] it would be nice if options were enabled to the Makefile so that options could be passed to it so that the interactive setup can be bypassed. Here's an example of GD's setup: perl Makefile.PL --help Unknown option

Re: Embperl.so missing after make install

2006-07-26 Thread Daniel
Try using an install prefix and see if you can find it there afterwards. perl Makefile.PL PREFIX=/tmp/embtestorwhatever && make install -d On Mon, Jul 24, 2006 at 01:32:04PM -0400, [EMAIL PROTECTED] wrote: > Hi all. > > I have an OS X laptop with apache 2.0 and mod_perl 2.0 installed and > runn

Re: input question

2006-07-20 Thread Daniel
grr, as soon as I posted I realized the documentation said the "value" must match.. and I put myval1 and it worked. -d On Thu, Jul 20, 2006 at 03:43:40PM -0700, Daniel wrote: > I have: > > $fdat{test} = "myval2" > > > myval1 > myval2 >

input question

2006-07-20 Thread Daniel
at can be going wrong? -d > > > > > > > --- > From: Daniel <[EMAIL PROTECTED]> > To: Ingalill Bretoi <[EMAIL PROTECTED]> > Subject: Re: Hur ?r det? >

Re: RE: RE: RE: cookie troubles

2006-05-17 Thread Daniel
On Tue, May 09, 2006 at 05:09:13AM +0200, Gerald Richter wrote: > > > > GATEWAY_INTERFACE" => "1", > > > > I would like to see the whole environment > > Gerald fyi, the syntax EmbperlBlocks fixed all my issues with upgrading to 2.2.0 so I never tried sorting this out. thanks much. -

Re: RE: RE: cookie troubles

2006-05-08 Thread Daniel
On Thu, May 04, 2006 at 09:39:37AM +0200, Gerald Richter wrote: > > > > > Either set optSendHttpHeader (32) or make sure that the environemnt > > > variable GATEWAY_INTERFACE is set, then Embperl should send the > > > headers on it's own Yes, this was the first thing I checked: GATEWAY_INTERFA

Re: Re: RE: cookie troubles

2006-05-03 Thread Daniel
On Fri, Apr 28, 2006 at 02:50:01PM -0700, Daniel wrote: > > Either set optSendHttpHeader (32) or make sure that the environemnt variable > > GATEWAY_INTERFACE is set, then Embperl should send the headers on it's own > > now I had all that working fine en embperl 2.2.0 but

Re: RE: cookie troubles

2006-04-28 Thread Daniel
> Either set optSendHttpHeader (32) or make sure that the environemnt variable > GATEWAY_INTERFACE is set, then Embperl should send the headers on it's own now I had all that working fine en embperl 2.2.0 but because of the table problems, I wanted to go back to 1.3.6. for later migration (and I w

strange nesting(?) behavior 1.3.6 -> 2.2.0

2006-04-28 Thread Daniel
Found a piece of oddity. I reread README.v2.txt again this time so I didn't stumble on something else that was mentioned. The closest thing I could possibly relate my behavior problems to is this: "- Nesting must be done properly. I.e. you cannot put a tag (for a dynamic table) inside an 'if' and

Re: Re: RE: apache/1.3.6 to lighttpd/2.2.0 issues

2006-04-28 Thread Daniel
On Fri, Apr 28, 2006 at 07:29:04AM -0700, Daniel wrote: > > > I'm running this with cgi with lighttpd. Since I couldn't get > > > anythign at all working with embpcgi.pl, I removed the line > > > causing embpexec.pl to die if used as CGI script, and all &

Re: RE: apache/1.3.6 to lighttpd/2.2.0 issues

2006-04-28 Thread Daniel
> > I'm running this with cgi with lighttpd. Since I couldn't get > > anythign at all working with embpcgi.pl, I removed the line > > causing embpexec.pl to die if used as CGI script, and all > > other aspects of it appear to be fine. I did that approach > > because I don't know if there's an a

Embperl::Form

2006-04-26 Thread Daniel
I thought I should check the libary of form creation. After reading the docs at: http://search.cpan.org/~grichter/Embperl-2.2.0/ I'm a little bit confused. Is anyone using this? Could I have an example of generating a simple form from scratch? I also checked the main doc site on perl.apache.org, b

Re: RE: cookie troubles

2006-04-25 Thread Daniel
> Either set optSendHttpHeader (32) or make sure that the environemnt variable > GATEWAY_INTERFACE is set, then Embperl should send the headers on it's own thanks gerald. I checked the documentation quite extensivly. I can't find this option in the docs. is it missing? i also noticed some setting

cookie troubles

2006-04-25 Thread Daniel
On Mon, Apr 24, 2006 at 03:25:26PM -0700, Daniel wrote: > On Mon, Apr 24, 2006 at 03:17:52PM -0700, Daniel wrote: > > > > I'm running this with cgi with lighttpd. Since I couldn't get > > > > anythign at all working with embpcgi.pl, I removed the line >

Re: cookie troubles -> apache/1.3.6 to lighttpd/2.2.0 issues

2006-04-24 Thread Daniel
On Mon, Apr 24, 2006 at 03:17:52PM -0700, Daniel wrote: > > > I'm running this with cgi with lighttpd. Since I couldn't get > > > anythign at all working with embpcgi.pl, I removed the line > > > causing embpexec.pl to die if used as CGI script, and all &

cookie troubles -> apache/1.3.6 to lighttpd/2.2.0 issues

2006-04-24 Thread Daniel
> > I'm running this with cgi with lighttpd. Since I couldn't get > > anythign at all working with embpcgi.pl, I removed the line > > causing embpexec.pl to die if used as CGI script, and all > > other aspects of it appear to be fine. I did that approach > > because I don't know if there's an a

Re: apache/1.3.6 to lighttpd/2.2.0 issues

2006-04-24 Thread Daniel
On Mon, Apr 24, 2006 at 11:18:24AM -0700, Daniel wrote: > I'm moving things around, and since I'm doing that anyway, I decided to > move to 2.2.0. Now I'm seeing something rather unexpected: > > Here's my epl file (I used the example from: > http://perl.apache.

apache/1.3.6 to lighttpd/2.2.0 issues

2006-04-24 Thread Daniel
I'm moving things around, and since I'm doing that anyway, I decided to move to 2.2.0. Now I'm seeing something rather unexpected: Here's my epl file (I used the example from: http://perl.apache.org/embperl/pod/doc/Embperl.-page-3-.htm#sect_2) - @arr = (1, 3, 5) -] [$ foreach $v @arr $] [+ $v +]

Re: RE: escmode question

2006-04-24 Thread Daniel
On Mon, Apr 24, 2006 at 05:29:14AM +0200, Gerald Richter wrote: > > > > I'm running very basic embperl through my httpd using > > embpexec.pl to parse any .epl scripts. > > > > I tried using embpexec.pl -o 16 also, but that failed to work as well. > > > > Needs to be > > embpexec.pl -t 16 >

Re: panic: memory wrap at lib//Embperl.pm line 108.

2006-04-24 Thread Daniel
On Sat, Apr 22, 2006 at 07:22:55PM -0700, Daniel wrote: > I've compiled Embperl 2.2.0 on FreeBSD 6.0-STABLE without using support > for mod_perl and XALAN. > > I compiled it successfully running gmake. > > make test failed with: > > PERL_DL_NONLAZY=0 /usr/bin/p

Re: escmode question

2006-04-22 Thread Daniel
On Sat, Apr 22, 2006 at 07:37:33PM -0700, Daniel wrote: > I'm running very basic embperl through my httpd using embpexec.pl to > parse any .epl scripts. > > I tried using embpexec.pl -o 16 also, but that failed to work as well. > > My testfile looks like this: > >

escmode question

2006-04-22 Thread Daniel
I'm running very basic embperl through my httpd using embpexec.pl to parse any .epl scripts. I tried using embpexec.pl -o 16 also, but that failed to work as well. My testfile looks like this: [- $escmode=0; print OUT "blah" -] However, is tripped in the output. How can I get this to work?

panic: memory wrap at lib//Embperl.pm line 108.

2006-04-22 Thread Daniel
I've compiled Embperl 2.2.0 on FreeBSD 6.0-STABLE without using support for mod_perl and XALAN. I compiled it successfully running gmake. make test failed with: PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl loading...panic: memory wrap at /usr/home/debon

Re: Re: RE: Re: object life

2006-03-01 Thread Daniel
> This is, in my opinion, a bad idea. Class::DBI (which > I haven't used, but have written and used something > simillar for years) I don't think is designed to be > used in this way.. > > I seriously think you might want to consider > re-engineering. (if you've already written a huge well, to b

Re: RE: Re: object life

2006-02-28 Thread Daniel
On Tue, Feb 28, 2006 at 12:59:50PM -0500, Hall, Philippe wrote: > My understanding is that modules are kept in a namespace determined by > package name. The solution is to name and call your modules separately > using a different namespace, ie: > > Use Project1::db; > > And > > Use Project2::d

Re: Re: Re: object life

2006-02-28 Thread Daniel
On Tue, Feb 28, 2006 at 06:36:33PM +1100, Kathryn Andersen wrote: > On Mon, Feb 27, 2006 at 09:53:05PM -0800, Daniel wrote: > > has noone bumped into this? I think apache for speeds sake is trying to > > load the classes and keep them in memory. > > > > Is the

Re: Re: object life

2006-02-27 Thread Daniel
On Mon, Feb 27, 2006 at 05:24:55PM +0100, RobertCZ wrote: > not very clear what exactly you are doing - you have two apache virtual > servers both using Embperl::Object and they clash? you use > Embperl_App_Name, right? hm, no, not quite. > > if I dont understand, would you mind showing us some

Re: object life

2006-02-27 Thread Daniel
anyone? On Wed, Feb 22, 2006 at 09:00:26AM -0800, Daniel wrote: > Hi, > > I'm running two websites from the same apache session, and I have some > issues with objects being live between the two sessions. > > I load an object with configs for one particular instance of

object life

2006-02-22 Thread Daniel
Hi, I'm running two websites from the same apache session, and I have some issues with objects being live between the two sessions. I load an object with configs for one particular instance of my website, a certain DBH config. When I access my other instance of the website, it tries to use the i

Re: Re: Catalyst::View::Embperl ???

2006-02-06 Thread Daniel
I'd love to see something like this happening. On Sat, Feb 04, 2006 at 09:58:29AM -0500, Matt J Cwanek wrote: > > It is easy to do (I wrote one for Catalyst before it was version 5). > > But while they claim to be very template tool agnostic, the guts of > Catalyst (at least at the time) were v

choosing perl version

2006-01-26 Thread Daniel
Hi, I have two seperate versions of perl installed on my host machine where embperl. The embperl has always been loading the wrong one, and I've been making custom installatiosn for the modules every time. this is ofcourse tedious, and I wonder if I can select which version for it to use? or is

embperl for lighttpd

2005-12-13 Thread Daniel
Hi, I'm just wondering if there's any plans/interest in getting a module working for lighttpd? (i've recently switched away from apache) -d - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: handling system call exit status

2005-07-18 Thread Daniel
ORE'. Thanks for the tip. Any more/other ideas how I could get a successful and reliable indication every time? Daniel On Mon, Jul 18, 2005 at 03:17:42PM +, Ed Grimm wrote: > On Fri, 15 Jul 2005, Daniel wrote: > > > Sometimes I see strange numbers when handling exit status fro

Re: handling system call exit status

2005-07-16 Thread Daniel
Hi Gerald and thank you for your reply. Now I get 255 when the exit code should be 0. I'm afraid I don't understand the bit shifting fully so I'm not sure what to do next. I also get 255 if it's unsucessful. i'm using tar to extract some files, and tar returns 0 upon sucess and 2 on failure. On

handling system call exit status

2005-07-15 Thread Daniel
Hi, Sometimes I see strange numbers when handling exit status from system calls. my $out = `$cmd`; my $stat = $? >> 8; and $stat may contain anumber like 16777215 at this point, whereas on commandline it would be more like 2, or no error at all (0). How can I deal with this? I do want

Re: EMBPERL_OPTIONS

2005-06-23 Thread Daniel
> I am a bit awed that you would go through all the effort of pointing to > two identical instances of the same opaque reference so as to put down ? > the original poster ? but don't bother to answer the obvious question. > Where does one use EMBPERL_OPTIONS ? Is there an example which makes > sen

EMBPERL_OPTIONS

2005-06-23 Thread Daniel
Re: http://www2.ecos.de/~mailarc/embperl/2005-03/msg00041.html "Looks like you are using Embperl 1.3. In this case you have set set optRawInput in EMBPERL_OPTIONS (this is the default in Embperl 2)" I tried to find mention of EMBPERL_OPTIONS in the docs, but I could not. How do I se this optRawIn

Re: Syntax=perl problem

2005-06-02 Thread Daniel
Not having done this, I'm not too sure, but can't you just do: my @out = qx(/usr/local/apache2/cgi-perl/warreng/header_test.pl); ? On Thu, Jun 02, 2005 at 05:01:15PM -0700, allen haim wrote: > Hi, > > Could someone please help with this Syntax=Perl problem? > > --- > /note

Re: $escmode in libraries

2005-03-18 Thread Daniel
On Fri, Mar 18, 2005 at 09:00:16AM +1100, Angus Lees wrote: > At Wed, 16 Mar 2005 20:58:37 -0800, Daniel wrote: > > Is this what you use? I'm a little curious what others do to easily see > > what variables contain. Maybe there's a good way I'm missing. > >

Re: $escmode in libraries

2005-03-16 Thread Daniel
Is this what you use? I'm a little curious what others do to easily see what variables contain. Maybe there's a good way I'm missing. db On Thu, Mar 17, 2005 at 01:08:23AM -0300, Luiz Fernando B. Ribeiro wrote: > On Wed, 16 Mar 2005 17:45:59 -0800, Daniel <[EMAIL PROTECT

Re: $escmode in libraries

2005-03-16 Thread Daniel
Did anyone have a suggestion for this? On Tue, Mar 15, 2005 at 09:14:08AM -0800, Daniel wrote: > Hi, > > I tried using $escmode in a library today, which didn't seem to work. > > > I wrote this for debugging purposes: > > sub p { use Data::Dumper; > l

Re: drop down calendar

2005-03-15 Thread Daniel
Javascript? CSS? (I don't know, but just throwing thing sout) db On Tue, Mar 15, 2005 at 12:25:34PM -0600, Ben Kim wrote: > > Is there a way to use a drop down calendar (date picker) with epl pages? > (Other than loading an applet etc.) > > Thanks. > > > Regards, > > Ben Kim > Database Devel

$escmode

2005-03-15 Thread Daniel
Hi, I tried using $escmode in a library today, which didn't seem to work. I wrote this for debugging purposes: sub p { use Data::Dumper; local $escmode=0; print OUT "\"; print OUT Dumper $_[0]; print OUT "\"; } How can I use this from a library? Are you guys using a

Re: $escmode

2005-03-11 Thread Daniel
; On Fri, 11 Mar 2005 08:05:02 -0800, Daniel <[EMAIL PROTECTED]> wrote: > > > > >Hi all, > > > >I seem to have some problems when it comes to $escmode, and I'm probably > >not understanding this variable correctly. > > > >{ local $escmode=

$escmode

2005-03-11 Thread Daniel
to get the tags stripped out. How can I preserve the tags? I had it working in one instance, but I'm doing something like $str = "<"; $str .= "b>"; .. etc for it to work. thanks, Daniel - To unsubsc

Re: Empty file uploads

2005-02-28 Thread Daniel
Hi, I'm using this syntax: my $buffer; if (open FILE, "> $tmpFile") { print FILE $buffer while read($$fdat{file}, $buffer, 32768); close FILE; } I don't seem to have any problems with this. Perhaps you could try this me

Re: DBIx::Recordset - problem with !Tables and !TabJoin

2004-10-28 Thread Daniel Brooks
Gerald Richter wrote: I'm using DBIx::Record set to great effect, but I've discovered a bug which annoys me. An SQL statement with joins in it doesn't need to name any tables, but if I leave out the !Tables parameter it produces a statement like 'SELECT * FROM', which the server rightly rejects

DBIx::Recordset - problem with !Tables and !TabJoin

2004-10-26 Thread Daniel Brooks
I'm using DBIx::Record set to great effect, but I've discovered a bug which annoys me. An SQL statement with joins in it doesn't need to name any tables, but if I leave out the !Tables parameter it produces a statement like 'SELECT * FROM', which the server rightly rejects with an error. I'd li

questions from a new Embperl user

2004-09-24 Thread Daniel Lenski
Hi, I have been using embperl a few weeks. I created a trip organizing site for a sports club that I'm in (http://tonquil.homeip.net:888/~dlenski/roadtrip). I am trying to clean up the code and I had a few questions: (1) what's the best place to store DB username/password? right now I have it

Re: DBIx::Recordset error message

2003-12-15 Thread Daniel Brooks
Rudy Lippan wrote: On Mon, 15 Dec 2003, Daniel Brooks wrote: Ok, DBD::ChurlPg must have been an earlier version of DBD::Pg or something, because my copy of DBD::Pg has the exact same code. That would be my fault. I created mine own copy of DBD::Pg (DBD::ChurlyPg) for development, and when

Re: DBIx::Recordset error message

2003-12-15 Thread Daniel Brooks
db48x Daniel Brooks wrote: Terrence Brannon wrote: Daniel Brooks wrote: I've been using DBIx::Recordset for a while now, and it's been great. Yes, Recordset is great :) However, just the other day I started adding some new functionality to my program, and I've started gettin

Re: DBIx::Recordset error message

2003-12-13 Thread Daniel Brooks
Terrence Brannon wrote: Daniel Brooks wrote: I've been using DBIx::Recordset for a while now, and it's been great. Yes, Recordset is great :) However, just the other day I started adding some new functionality to my program, and I've started getting this error message: [Fri

DBIx::Recordset error message

2003-12-12 Thread Daniel Brooks
I've been using DBIx::Recordset for a while now, and it's been great. However, just the other day I started adding some new functionality to my program, and I've started getting this error message: [Fri Dec 12 09:06:29 2003] [error] [client 4.63.107.173] Premature end of script headers: purchas

Re: Migrating from regular mod perl scripts

2003-06-16 Thread Daniel Barbar
Patrick, I'm not familiar with the libraries you use in the code below but, whatever it is, I'm confident to say that it should work in Embperl. For example, if you enclosed the code below between the '[-' and '-]' and printed everything to the OUT handler, you'd have an equivalent Embperl

RE: Generating images on-the-fly (newbie question)

2002-10-14 Thread Daniel Barbar
, that seemed correct. Am I missing something? Any other ideas? Thanks again for your assistance. Best regards, --- Daniel Barbar index.epl: -- TEST The image should come here: img.epl: [- $http_headers_out{'Content-Type'} = "image/png"; $from = &q

Generating images on-the-fly (newbie question)

2002-10-09 Thread Daniel Barbar
ode above isn't HTML, but perhaps it served the purpose of clarifying what I want to do. Thanks in advance for your help, --- Daniel Barbar

RE: emperl can't invoke CODE refs?

2002-09-08 Thread Daniel Barbar
Title: RE: emperl can't invoke CODE refs? Mark,     One reads "fubar", the other "funar", is that what you intended? --- Daniel Barbar -Original Message- From: Mark Dedlow [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 1:35 PM To:

Embperl handling DocumentRoot

2002-05-19 Thread Daniel Barbar
are: HTML-Embperl-1.3.4, apache_1.3.24, mod_perl-1.26 and perl-5.6.1, on Suse 8.0. Have you seen this before? Any hints? Thanks in advance, --- Daniel Barbar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

hour-problem

2001-12-12 Thread Vasarhelyi asd Daniel
e answer, would anyone cc it to me? ([EMAIL PROTECTED]) I did not want to subscribe for 5 hours... Thanks in advance asd -- Daniel "asd" Vasarhelyi PGP key avaible at http://asd.musichello.com/gpg-pub.key and public keyservers Key fingerprint = EA00 AF4D A83C 1122 0967