Problem with [$ hidden $] on Debian Bookworm

2023-08-15 Thread Neil Gunton
and I also guess it's a good thing...? Previously, I think Perl silently initialized the variable if it didn't exist. Now it complains. This results in a lot of code I have to go through to do tests to see if it's defined before using it, but I guess that's acceptable. The bi

AW: Problem with "last" label

2014-01-29 Thread Gerald Richter - ECOS
an.org] > Gesendet: Dienstag, 28. Januar 2014 23:48 > An: [email protected] > Betreff: Re: Problem with "last" label > > Hi Gerald, Andreas, > > On Tue, Dec 31, 2013 at 05:01:28PM +0100, Gerald Richter - ECOS wrote: > > this looks like an Embperl problem, but

Re: Problem with "last" label

2014-01-29 Thread Florian Schlichting
Hi Gerald, Andreas, On Tue, Dec 31, 2013 at 05:01:28PM +0100, Gerald Richter - ECOS wrote: > this looks like an Embperl problem, but I didn't seen it before (I am still > using Perl 5.16 not Perl 5.18). > > Do you have a short test file that you can send me, so I can reproduce

AW: Problem with "last" label

2014-01-21 Thread Gerald Richter - ECOS
: Andreas Rieke [mailto:[email protected]] Gesendet: Freitag, 10. Januar 2014 11:40An: Gerald Richter; [email protected]: Re: Problem with "last" label Good morning Gerald,here we are ... the Includes are irrelevant, and for that reason, we have only attached the main httpd.conf

AW: Problem with "last" label

2014-01-10 Thread Gerald Richter - ECOS
Hi Andreas, could you send me you httpd.conf (at least the part with the Embperl/mod_perl configuration)? Regards Gerald  Von: Andreas Rieke [mailto:[email protected]] Gesendet: Donnerstag, 9. Januar 2014 19:16An: Gerald Richter; [email protected]: [email protected]: Re: Problem with

Re: Problem with "last" label

2014-01-09 Thread Andreas Rieke
    Von: Andreas Rieke [mailto:[email protected]] Gesendet: Mittwoch, 1. Januar 2014 11:38 An: Gerald Richter; [email protected] Betreff: Re: Problem with "last" label

AW: Problem with "last" label

2014-01-08 Thread Gerald Richter - ECOS
h, 1. Januar 2014 11:38An: Gerald Richter; [email protected]: Re: Problem with "last" label Good morning Gerald,we use perl 5.16.3 on our production machines and try 5.18.1 in the development area - we expect that the development of perl 5.16 will stop sometime this year, and f

Re: Problem with "last" label

2014-01-01 Thread Andreas Rieke
ter - ECOS: Hi Andreas,   this looks like an Embperl problem, but I didn’t seen it before (I am still using Perl 5.16 not Perl 5.18).   Do you have a short test file that you can send me, so I can reproduce the

AW: Problem with "last" label

2013-12-31 Thread Gerald Richter - ECOS
Hi Andreas, this looks like an Embperl problem, but I didn’t seen it before (I am still using Perl 5.16 not Perl 5.18). Do you have a short test file that you can send me, so I can reproduce the error here? Gerald  Von: Andreas Rieke [mailto:[email protected]] Gesendet: Sonntag, 29. Dezember

Problem with "last" label

2013-12-29 Thread Andreas Rieke
Hi, we have a strange problem with labels which only occurs when compiling embperl with perl 5.18.1; with perl 5.16.3, everything works well. Unfortunately, the problem seems to happen with a certain probability; sometimes, things work well, but sometime else

Re: Build problem

2012-09-02 Thread Michael Smith
e, this one has nothing to do with the problems mentioned in the other mails. System ist Ubuntu 12.04. I tryied to install some mod_perl and apache_dev related packages, but still got the same problem. Also with "locate apache|grep src" i cant find any directory which could be relevant. Th

Build problem

2012-09-02 Thread Benni Bärmann
same problem. Also with "locate apache|grep src" i cant find any directory which could be relevant. Thanks for any hint. Benni -- http://bennibaermann.de/ - To unsubscribe, e-mail: [email protected]

Re: Problem with %udat and references

2012-04-16 Thread Jean-Christophe Boggio
Gerald, Le 16/04/2012 14:36, [email protected] a écrit : Embperl is cleaning up all global variables at the end of the page, so they don't persist and interfere with the next request. @tmp is cleaned up, before it gets written to %udat. Ok ! Not very intuitive but makes sense. That explains eve

Re: Problem with %udat and references

2012-04-13 Thread Jean-Christophe Boggio
Le 13/04/2012 10:54, kolikov a écrit : $udat{verdict} being a scalar, assigning an array to it makes it a refference. I assign it a reference to an array Embperl is perhaps assigning \@tmp as a reference of reference. Nope : I'm checking the array's content with Data::Dumper But if you sa

Re: Problem with %udat and references

2012-04-13 Thread kolikov
Le 12/04/2012 16:02, Jean-Christophe Boggio a écrit : When I reach somewhere.html, $udat{verdict} is populated only when the second line is active (the one explicitly defining the arrayref as ["1","bla","x"]). When I try with a reference to @tmp it is just a reference to an empty array. What

RE: Upload problem

2012-04-09 Thread richter
Jean-Christophe Boggio [mailto:[email protected]] > Sent: Thursday, April 05, 2012 6:43 PM > To: Chris Allen > Cc: [email protected] > Subject: Re: Upload problem > > Thanks for taking the time to help me. > > Le 05/04/2012 08:48, Chris Allen a écrit : > > Can you

Re: Upload problem

2012-04-05 Thread Dirk Jagdmann
I wonder if I'm the only one on this list to upload non-7 bit files in HTTP with embperl ? If so, it *has* to come from my config. I have an application with upload support (for any type of file). However I have not dealed with UTF-8 encoding, or in other words my system is simply using 8 bit

Re: Upload problem

2012-04-05 Thread Jean-Christophe Boggio
Hi Ed, Le 05/04/2012 15:16, Ed Grimm a écrit : If my guess is right, then I think doing a binmode OUT, ':encoding(UTF-8)'; Tried that : the file is even more encoded (its size is growing rather than shrinking). Here's the "jpeg" header : 0x: C3BFC398 C3BFC3A0 00104A46 49460001 ...

Re: Upload problem

2012-04-05 Thread Jean-Christophe Boggio
Thanks for taking the time to help me. Le 05/04/2012 08:48, Chris Allen a écrit : Can you include all of the headers here please? I have attached the beginning of the dump (tcpdump addresses are changed to aa.aa.aaa.aa and bb.bbb.bb.bb but it's easy to find the real ones). Hope the list accep

Re: Upload problem

2012-04-04 Thread Jean-Christophe Boggio
Le 04/04/2012 18:38, Chris Allen a écrit : Don't know why or where, but you've got some utf8 encoding going on. EF,BF,BD is the utf8 "replacement string" used for an unknown character (probably the initial FF). Suggest you sniff your data stream to see if it's happening before it reaches Embpe

Re: Upload problem

2012-04-04 Thread Chris Allen
Don't know why or where, but you've got some utf8 encoding going on. EF,BF,BD is the utf8 "replacement string" used for an unknown character (probably the initial FF). Suggest you sniff your data stream to see if it's happening before it reaches Embperl. On 04/04/2012 17:20, Jean-Christophe

Upload problem

2012-04-04 Thread Jean-Christophe Boggio
Hello, I have a simple upload module but I can't get a pure binary upload to work everytime. This is what I get sometimes : - Original is 73856 bytes - Uploaded is 33398 bytes or 27939 bytes Also the header changed from : 0x: FFD8FFE0 00104A46 49460001 0101012C ..JFIF., To :

Re: Strange problem with input charset ?

2011-01-03 Thread Frank Wesemann
Jean-Christophe, It seems reasonable for me that Embperl "executes" the .pdf files since to told it to do in your httpd.conf Why don't you just put your links something like this: Well, maybe I should reword my question. I want to place links to PDF files on my site like : Click here to downlo

Re: Strange problem with input charset ?

2010-12-20 Thread Jean-Christophe Boggio
Well, maybe I should reword my question. I want to place links to PDF files on my site like : Click here to download And I want to log the fact that someone downloaded the file. So I set Apache up so that all PDF files are handled by Embperl : EMBPERL_OBJECT_BASE base.epl SetHandler perl-s

Strange problem with input charset ?

2010-12-15 Thread Jean-Christophe Boggio
xpect, the PDF download is never logged). As you see, this may not be optimal (at all) but PDF files are (I think) "sourced" and I guess the problem comes from this particular PDF containing invalid/strange/UTF8?/whatever character(s) preventing the base.epl to be called. I

Re: Encoding problem

2010-04-26 Thread Alexander Hartmaier
utf-8 flag. -- Best regards, Alex Am Donnerstag, den 22.04.2010, 21:05 +0200 schrieb Jean-Christophe Boggio: > Hi Alexander, > > Alexander Hartmaier a écrit : > > You should *always* return the correct charset in the http header, no > > matter which framework/cgi script you'

RE: Encoding problem

2010-04-26 Thread Gerald Richter - ECOS
nal Message- > From: Jean-Christophe Boggio [mailto:[email protected]] > Sent: Monday, April 26, 2010 12:16 PM > To: [email protected] > Subject: Re: Encoding problem > > Hi, > > Since I seem to be the only one having problems with utf8 forms, I > guess > th

Re: Encoding problem

2010-04-26 Thread Jean-Christophe Boggio
Hi, Since I seem to be the only one having problems with utf8 forms, I guess the problem is me not expecting the correct things to happen. The following is a simple html test page with a simple form. I expect the result to be utf-8 but it's not (until I comment out the Encode::_utf8_on()

Re: Problem with

2010-04-22 Thread Frank Wesemann
Michael Smith schrieb: I recently used this nastyness to get an image tag to close properly: If you'd used output_mode = 1 you'd come up with We addressed this problem by defining our own Syntax which subclasses EmberlHTML.pm and removed all non form-related tags from the Ini

Re: Encoding problem

2010-04-22 Thread Jean-Christophe Boggio
Hi Alexander, Alexander Hartmaier a écrit : You should *always* return the correct charset in the http header, no matter which framework/cgi script you're using. ? The problem comes from the header I *receive*. The headers I send are always good (hard coded in base.epl). I'm quot

Re: Encoding problem

2010-04-22 Thread Alexander Hartmaier
You should *always* return the correct charset in the http header, no matter which framework/cgi script you're using. AddDefaultCharset in apache is bad because it appends that header for every resource which didn't specify it. -- Best regards, Alex Am Donnerstag, den 22.04.2010, 02:53 +0200 sc

Re: Encoding problem

2010-04-21 Thread Jean-Christophe Boggio
Hi Gerald, Gerald Richter - ECOS a écrit : setting the default encoding in the httpd.conf to utf8 might help I already have : AddDefaultCharset UTF-8 in my httpd.conf. I tried to add it to my directives and also AddCharset utf-8 .html With no more luck. I found other people describing t

RE: Encoding problem

2010-04-21 Thread Gerald Richter - ECOS
Hi, setting the default encoding in the httpd.conf to utf8 might help Gerald > -Original Message- > From: Jean-Christophe Boggio [mailto:[email protected]] > Sent: Wednesday, April 21, 2010 5:21 PM > To: [email protected] > Subject: Encoding problem > &g

Encoding problem

2010-04-21 Thread Jean-Christophe Boggio
Hello, I have problems with the encoding of posted form data. I try to do everything in UTF-8 (code, DB, html...). I have a form on a page where the data IS utf-8 (that's what I think) but it does not have the UTF-8 bit set, wonder why. Firefox detects the page encoding as Unicode (UTF-8). The

Re: Problem with

2010-02-26 Thread Michael Smith
nside the page, but it will effect the output of the whole page > > Gerald > > > > >> -Original Message- >> From: Michael Smith [mailto:[email protected]] >> Sent: Wednesday, February 24, 2010 5:38 PM >> To: [email protected] >> Subject:

RE: Problem with

2010-02-25 Thread Gerald Richter - ECOS
4, 2010 5:38 PM > To: [email protected] > Subject: Re: Problem with > > > Since Embperl internally parses tags it needs to modify in a tree > representation and converts it back to html on output, Embperl does not > know about the final / you have put in, so

Re: Problem with

2010-02-24 Thread Michael Smith
> Since Embperl internally parses tags it needs to modify in a tree > representation and converts it back to html on output, Embperl does not know > about the final / you have put in, so it only depends on the OUTPUT Mode > > > Gerald Hi Gerald, Is it possible to set this on an individual page

RE: Problem with

2010-02-21 Thread gerald . richter
Hi, > > Gerald Richter - ECOS a écrit : > > Setting EMBPERL_OUTPUT_MODE should solve your problem: > > > > http://perl.apache.org/embperl/pod/doc/Config.-page-2-.htm#sect_44 > > No, I don't want embperl to generate the final /, I just want it not to > b

Re: Problem with

2010-02-12 Thread Michael Smith
wrote: > Hi, > > Am 12.02.2010 um 17:46 schrieb Jean-Christophe Boggio: > >> Hi Gerald, >> >> Gerald Richter - ECOS a écrit : >>> Setting EMBPERL_OUTPUT_MODE should solve your problem: >>> http://perl.apache.org/embperl/pod/doc/Config.-page-2-.htm#s

Re: Problem with

2010-02-12 Thread Dirk Melchers
Hi, Am 12.02.2010 um 17:46 schrieb Jean-Christophe Boggio: > Hi Gerald, > > Gerald Richter - ECOS a écrit : >> Setting EMBPERL_OUTPUT_MODE should solve your problem: >> http://perl.apache.org/embperl/pod/doc/Config.-page-2-.htm#sect_44 > > No, I don't want em

Re: Problem with

2010-02-12 Thread Jean-Christophe Boggio
Hi Gerald, Gerald Richter - ECOS a écrit : Setting EMBPERL_OUTPUT_MODE should solve your problem: http://perl.apache.org/embperl/pod/doc/Config.-page-2-.htm#sect_44 No, I don't want embperl to generate the final /, I just want it not to break my code when it adds things

RE: Problem with

2010-02-09 Thread Gerald Richter - ECOS
Setting EMBPERL_OUTPUT_MODE should solve your problem: http://perl.apache.org/embperl/pod/doc/Config.-page-2-.htm#sect_44 Gerald -Original Message- From: Jean-Christophe Boggio [mailto:[email protected]] Sent: Tuesday, February 09, 2010 5:07 PM To: [email protected] Subject

Problem with

2010-02-09 Thread Jean-Christophe Boggio
Hello, I recently had a problem with tags : I didn't set a "value" myself : Embperl did but at the end of the tag resulting in this : Which, of course, doesn't validate. I solved it by forcing the value myself. libembperl-perl 2.2.0

Re: Problem with file upload

2008-09-30 Thread Jean-Christophe Boggio
Ben Hiebert wrote : Perl usually tries to guess at the best encoding when it takes in the data and then encodes it internally as best it can. You may have a problem where the data comes in as ISO88591 but perl thinks it is UTF8 data, encodes it internally as UTF8 and then prints out the UTF8

Re: Problem with file upload

2008-09-30 Thread Ben Hiebert
Hi JC, I've got a similar problem on my site except the other way around- everything comes in ISO-8859-1 and I want it in UTF8. Perl usually tries to guess at the best encoding when it takes in the data and then encodes it internally as best it can. You may have a problem where the

Re: Problem with file upload

2008-09-30 Thread Luiz Fernando Bernardes Ribeiro
to upload files (simple ==>bad : $ hd sconet1.csv |head -1 4e 6f 6d 3b 50 72 ef bf bd 6e 6f 6d 20 31 3b 44 |Nom;Pr...nom 1;D| The problem seems completely random, sometimes pressing F5 a few times makes the upload work. The code I use is this : open(FILE,">:enco

Problem with file upload

2008-09-30 Thread Jean-Christophe Boggio
nt FILE $buffer; } close(FILE); I have tried removing the second param to open() but it changes nothing. The problem arises in Firefox and IE so I guess the problem is server-side. At the beginning of _base.epl I have this : Can I force a "pure binary" upload/save

Re: Problem using Embperl on Debian Lenny

2008-07-25 Thread Jean-Christophe Boggio
PMFJI, I always use embperl with stock Debian/Ubuntu packages and don't see the problems you experience. I recently upgraded my dev/test server to lenny and had no problem (apart from Perl 5.8 -> 5.10 issues). Neil Gunton wrote : PerlSetEnv EMBPERL_APPNAME neilgunton_dev I

RE: Problem using Embperl on Debian Lenny

2008-07-15 Thread Andrew O'Brien
Hi Neil, > There definitely seems to be some kind of problem with the current > binary Embperl package included with Lenny. All I did was > build Embperl > from the Debian source (using the standard build procedure, > rather than > the "debian way") and everythi

RE: Problem using Embperl on Debian Lenny

2008-07-15 Thread Andrew O'Brien
Hi Ed, > As I understand it, Debian's freezes, like most software freezes I'm > aware of, are 'except for bug fix' freezes. If that is correct, then > the period right before the freeze is actually the *least* stable, not > the most stable. While I've never had any issues at any point in the re

Re: Problem using Embperl on Debian Lenny

2008-07-15 Thread Ed Grimm
x27;t work completely correctly. Ed On Tue, 15 Jul 2008, Neil Gunton wrote: > Hi Andrew, > > There definitely seems to be some kind of problem with the current > binary Embperl package included with Lenny. All I did was build > Embperl from the Debian source (using the standa

Re: Problem using Embperl on Debian Lenny

2008-07-15 Thread Neil Gunton
Hi Andrew, There definitely seems to be some kind of problem with the current binary Embperl package included with Lenny. All I did was build Embperl from the Debian source (using the standard build procedure, rather than the "debian way") and everything "just worked"

RE: Problem using Embperl on Debian Lenny

2008-07-14 Thread Andrew O'Brien
ton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 15 July 2008 7:15 AM > To: [email protected] > Subject: Re: Problem using Embperl on Debian Lenny > > Success! > > I finally tried this: > > 1. Install the Debian source for mod_perl and apache2.2 (previously I

Re: Problem using Embperl on Debian Lenny

2008-07-14 Thread Neil Gunton
I have fakeroot installed. I still don't know if this has anything to do with my original problem or not. The fact that the mod_perl tests all seemed to complete ok gives me some hope, but I still wonder if there isn't some very small API inconsistency that has crept in somewhere, whi

Re: Problem using Embperl on Debian Lenny

2008-07-14 Thread Neil Gunton
anything to do with my original problem or not. The fact that the mod_perl tests all seemed to complete ok gives me some hope, but I still wonder if there isn't some very small API inconsistency that has crept in somewhere, which is making Embperl barf in the Apache2 environment. Again

Re: Problem using Embperl on Debian Lenny

2008-07-14 Thread Neil Gunton
included with Debian Lenny (testing). So that means Apache 2.2, mod_perl 2, Embperl 2.2... I am just installing all this from the deb packages, not from source. I'm having a problem getting Embperl 2.2.0 to run. I have a very simple config set up in /etc/apache2/mods-available/zembp

Problem using Embperl on Debian Lenny

2008-07-12 Thread Neil Gunton
ages, not from source. I'm having a problem getting Embperl 2.2.0 to run. I have a very simple config set up in /etc/apache2/mods-available/zembperl.conf: PerlModule Embperl EMBPERL_OBJECT_BASE base.epl SetHandler perl-script PerlHandler Embperl::Object Opti

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: Problem with Apache 2.2.6

2007-09-16 Thread Andrew O'Brien
> On Mon, Sep 17, 2007 at 09:20:26AM +1000, Andrew O'Brien wrote: > > What is the latest combination of apache/embperl that is > supported by > > your distro? > > Apache 2.2.6 *is* the current supported version of Apache on my distro > (GenToo). That's why I was installing it; it was a routine

Re: Problem with Apache 2.2.6

2007-09-16 Thread Kathryn Andersen
On Mon, Sep 17, 2007 at 09:20:26AM +1000, Andrew O'Brien wrote: > What is the latest combination of apache/embperl that is supported by > your distro? Apache 2.2.6 *is* the current supported version of Apache on my distro (GenToo). That's why I was installing it; it was a routine upgrade as far a

RE: Problem with Apache 2.2.6

2007-09-16 Thread Andrew O'Brien
> instead of Embperl. Seems a bit drastic based on 4 days of no solution to a problem with the absolute latest version of apache 2.2 but if there are other drivers then by all means. >From previous messages to the list the embperl crowd seems to be slower to move to the latest and greatest

Re: Problem with Apache 2.2.6

2007-09-14 Thread Kathryn Andersen
On Thu, Sep 13, 2007 at 06:07:20PM -0500, Matthew A. Bockol wrote: > I suspect part of your problem is the APR 1.2.8. Httpd2.2.6 seems to > come with 1.2.11 -- Make sure to push apr-1-config and apu-1-config > out of your path, the configuration step is probably detecting the > older

Re: Problem with Apache 2.2.6

2007-09-14 Thread Kathryn Andersen
On Thu, Sep 13, 2007 at 06:07:20PM -0500, Matthew A. Bockol wrote: > I suspect part of your problem is the APR 1.2.8. Httpd2.2.6 seems to > come with 1.2.11 -- Make sure to push apr-1-config and apu-1-config > out of your path, the configuration step is probably detecting the > older

Re: Problem with Apache 2.2.6

2007-09-13 Thread Kathryn Andersen
On Thu, Sep 13, 2007 at 06:07:20PM -0500, Matthew A. Bockol wrote: > I suspect part of your problem is the APR 1.2.8. Httpd2.2.6 seems to > come with 1.2.11 -- Make sure to push apr-1-config and apu-1-config > out of your path, the configuration step is probably detecting the > older

Re: Problem with Apache 2.2.6

2007-09-13 Thread Matthew A. Bockol
Hi Kathryn, I suspect part of your problem is the APR 1.2.8. Httpd2.2.6 seems to come with 1.2.11 -- Make sure to push apr-1-config and apu-1-config out of your path, the configuration step is probably detecting the older version and trying to build against it. I'd try re-running ./conf

Re: Problem with Apache 2.2.6

2007-09-13 Thread Kathryn Andersen
On Thu, Sep 13, 2007 at 08:32:43AM +1000, Kathryn Andersen wrote: > 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 Is there any further information I need to provide? I desperately need help on this! Kathryn Ande

Problem with Apache 2.2.6

2007-09-12 Thread Kathryn Andersen
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: --- /usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/per

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

About the regular expression problem

2007-05-04 Thread Yuren Li
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: On

Re: Embperl on Ubuntu 7.04 / problem

2007-05-02 Thread Gunnar Wolf
RobertCZ dijo [Wed, May 02, 2007 at 10:16:14AM +0200]: > Hmm, I see libembperl-perl (2.2.0-2), excellent you could release it so > fast - but how can I install it? sudo aptitude install says there're no > new packages. Is it in some hiden/not public place or something? I > don't understand apti

Re: Embperl on Ubuntu 7.04 / problem

2007-05-02 Thread Gunnar Wolf
RobertCZ dijo [Wed, May 02, 2007 at 10:16:14AM +0200]: > >You are right on your last appreciation - We had a similar problem in > >Debian, for which the fix [1] was as simple as recompiling Embperl > >against Apache 2.2 - Ubuntu has also the bug marked as open [2]; I'm &g

Re: Embperl on Ubuntu 7.04 / problem

2007-05-02 Thread RobertCZ
Gunnar Wolf wrote ... P.S.1 I understand Apache 2.2 is new on Ubuntu 7.04, perhaps the packge is for Apache 2.0 and the DSO format has changed? You are right on your last appreciation - We had a similar problem in Debian, for which the fix [1] was as simple as recompiling Embperl

Re: Embperl on Ubuntu 7.04 / problem

2007-04-30 Thread Gunnar Wolf
RobertCZ dijo [Sun, Apr 29, 2007 at 05:37:14PM +0200]: > Hello, > > I'm trying to install Embperl on Ubuntu 7.04, package libemperl-perl > (2.2.0-1) has the following problem > > apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Syntax > error on l

Embperl on Ubuntu 7.04 / problem

2007-04-29 Thread RobertCZ
Hello, I'm trying to install Embperl on Ubuntu 7.04, package libemperl-perl (2.2.0-1) has the following problem apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Syntax error on line 4 of /etc/apache2/mods-enabled/zembperl.load: API module structure `embperl_module

RE: Problem with Embperl, mod_perl, or system?

2006-11-13 Thread Gerald Richter
> > I no longer get those messages. I actually just posted a > followup with the particulars, including ldd -r output on Embperl.so. > I didn't have seen your follow up, but if you don't get this messages anymore and it works, everything is ok Gerald > httpd-2.0.59, mod_perl2.0.2, and Embper

RE: Problem with Embperl2.2.0 and httpd-2.0.59/mod_perl2.0.2

2006-11-13 Thread Gerald Richter
> > I can't seem to get Embperl to run properly. I think I've > followed all the right steps to compile it and get it > working, I also compiled mod_perl2.0.2 statically into > apache, and it seems to work. > Embperl 2 requires a dynamic loaded mod_perl 2 Gerald > The symptom is that whe

Problem with Embperl2.2.0 and httpd-2.0.59/mod_perl2.0.2

2006-11-13 Thread Marcus Mueller
I can't seem to get Embperl to run properly. I think I've followed all the right steps to compile it and get it working, I also compiled mod_perl2.0.2 statically into apache, and it seems to work. The symptom is that when I attempt to start apache 2.0.59, I get a nice little message and a fai

RE: Problem with Embperl, mod_perl, or system?

2006-11-12 Thread Gerald Richter
> > I'm trying to figure out what's wrong with this picture, for > some reason I get this strange 500 internal server error when > trying to run some older scripts, even just basic stuff. > > The only message I get in the apache error_log is: > > > [Sat Nov 04 15:32:57 2006] [error] [client xx

Problem with Embperl, mod_perl, or system?

2006-11-06 Thread Peter Serwe
I'm trying to figure out what's wrong with this picture, for some reason I get this strange 500 internal server error when trying to run some older scripts, even just basic stuff. The only message I get in the apache error_log is: [Sat Nov 04 15:32:57 2006] [error] [client xx.xx.xx.160] failed

RE: mail sending problem

2006-09-11 Thread Gerald Richter
t::SMTP->new('localhost', Debug => 1) . This > should give you > > some information what's going on in the syslog > > > > I used this option already. > there wasn't any additional information in syslog or in httpd > logs file. The only thin

Re: mail sending problem

2006-09-11 Thread Andrew Antipin
> > use Net::SMTP; > > $smtp = Net::SMTP->new('localhost') or die "Cannot connect > > to mailhost"; > > from apache not works with message: > > Error in Perl code: Cannot connect to mailhost > > Try with Net::SMTP->new('localhost', Debug => 1) . This should give you > some information what's goi

RE: mail sending problem

2006-09-11 Thread Gerald Richter
Hi, > > Thank Gerald for reply about "session problem", but now I > have another question regarding mail sending: > > part of simple script: > > use Net::SMTP; > $smtp = Net::SMTP->new('localhost') or die "Cannot connect > to mailhos

mail sending problem

2006-09-05 Thread Andrew
Hi,Thank Gerald for reply about "session problem", but now I have another question regarding mail sending:   part of simple script:   use Net::SMTP;$smtp = Net::SMTP->new('localhost')  or die "Cannot connect to mailhost"; from apache not works with mes

RE: session problem

2006-09-04 Thread Gerald Richter
Hi, >I have a question regarding session management and %udat. > when I installed embperl to new web site and used simple script: > > The page is requested [+ $udat{counter}++ +] times > > I get "The page is requested 0 times" and get new session > every time when request this page. > > I

session problem

2006-09-03 Thread andrew
Hi, I have a question regarding session management and %udat. when I installed embperl to new web site and used simple script: The page is requested [+ $udat{counter}++ +] times I get "The page is requested 0 times" and get new session every time when request this page. I have another web se

RE: Problem with relative path

2006-08-07 Thread Gerald Richter
Hi, > I have EmbPerl2.0r3, Apache2, mod_perl2 1.99 (Debian Sarge) > > /foo/index.epl: > [- > open F, "/foo/example_file.txt"; # <-- THIS WORKING > open F, "./example_file.txt"; # <-- THIS NOT WORKING, WHY ? > -] > For performance reasons, Embperl 2 does not change the current directory.

Problem with relative path

2006-08-07 Thread Marek Matis
Hi, I have EmbPerl2.0r3, Apache2, mod_perl2 1.99 (Debian Sarge) /foo/index.epl: [-   open F, "/foo/example_file.txt";   # <-- THIS WORKING   open F, "./example_file.txt";  # <-- THIS NOT WORKING, WHY ? -] Thanks Marek

RE: cgi problem

2006-03-10 Thread Gerald Richter
> > So, may be exist external method of data exchange between > perl-cgi and embperl? > It's not special to Embperl, but you can use storable to save your data in a file and read it inside your Embperl page, but I guess this will not be much faster, because the overhead of using a cgi is much m

Re: Strange problem with embperl and .htaccess

2006-03-07 Thread Brian Barto
Disregard... It was a permissions problem. needed to chmod 755 on my second "menu" directory. *slaps head* thanks, brian > Hi all. Ran into a strange problem with embperl. When I try to access a > file three directories deep in my web site (/menu/dev/menu/index.html) I > get

Strange problem with embperl and .htaccess

2006-03-07 Thread Brian Barto
Hi all. Ran into a strange problem with embperl. When I try to access a file three directories deep in my web site (/menu/dev/menu/index.html) I get an apache forbidden error and following error in my httpd error log: [Tue Mar 07 14:36:56 2006] [crit] [client 167.73.110.8] (13)Permission denied

Re: cgi problem

2006-02-27 Thread Andrew
> So I think you want to call some php code from embperl.. > You can do this in Embperl2/apache2 by using a "subrequest". > [- Execute({subreq => '/path/myscript.php'}) -] > You can then use all the usual Execute `output', etc options to > manipulate the output. Sorry, no. I want to use some php

cgi problem

2006-02-24 Thread andrew
Hi, Can somebody help with such problem: there is perl's "PHP" library for using php functions in perl. Unfortunately, I couldn't compile libphp5 module for apache with --enable-embed option (enable building of embedded SAPI library necessary for this lib) simultaneously with

Re: Problem with Embperl_Output_Esc_Charset

2006-02-19 Thread RobertCZ
Gerald Richter wrote: Hi, I tried to put Embperl_Output_Esc_Charset Latin2 into httpd.conf and now apache refuses to start at all with no message in error.log. The same with Latin1 And the epchar.min compilation trick doesn't seem to work - I replaced epchar.c with epchar.

RE: Problem with Embperl_Output_Esc_Charset

2006-02-19 Thread Gerald Richter
Hi, > > I tried to put > > Embperl_Output_Esc_Charset Latin2 > > into httpd.conf and now apache refuses to start at all with > no message in error.log. The same with Latin1 And the > epchar.min compilation trick doesn't seem to work - I > replaced epchar.c with epchar.c.min from older ver

Problem with Embperl_Output_Esc_Charset

2006-02-19 Thread RobertCZ
> Diretive Embperl_Output_Esc_Charset allows to > generaly switch between Latin1, Latin2 and UTF-8. Hi, I tried to put Embperl_Output_Esc_Charset Latin2 into httpd.conf and now apache refuses to start at all with no message in error.log. The same with Latin1 And the epchar.min compilation

RE: error page problem

2006-02-16 Thread Gerald Richter
Hi, First of all you are right Embperl currently returns 500 for a file not found. This will change in the future. For the rest of your problem, I currently have no idea what's wrong. I would suggest to create a very simple page, which only contains something like [- die -] and to test the

error page problem

2006-02-09 Thread Ben Kim
ther hosts. Is there a way to test only for this ErrorDocument related problem? And, Would there be a way to fix it without recompiling Embperl? If possible I'd like to avoid reinstalling Embperl... I'm guessing it's embperl related, but I could very well be wrong. In that case, could anyo

error page problem

2006-02-09 Thread Ben Kim
OK, here's some more details about the error page problem. It seems like a problem related with Embperl. Could be my site specific. The error pages going through embperl shows only once per child. Embperl seems to make a difference on 404 pages (I didn't do a test that uses non-emb

RE: option selected problem

2005-12-20 Thread Gerald Richter
Hi, > > i've a little wired problem with a pice of code. > > > -- > [$ foreach $firma (@firmenid) $] > [$ if $fdat{firma} eq $firma $] > [+ $firma +] > [$ else $] > [+ $firma +] >

option selected problem

2005-12-20 Thread Florian 'cit' Adamsky
Hiho, i've a little wired problem with a pice of code. -- [$ foreach $firma (@firmenid) $] [$ if $fdat{firma} eq $firma $] [+ $firma +] [$ else $] [+ $firma +] [$ endif $] [$ endforeach $] If $fdat{

  1   2   3   4   5   6   7   >