Multilingual support questions

2004-05-23 Thread RobertCZ
Hi, I'm finally playing with [= =] , here is couple of questions/problem reports 1) all translated expressions go into one Data::Dumper file, it would be much more convenient to have one dictionary per language because you have typically different translators for different languages and it the

Embperl2 & Explorer weirdness

2004-07-07 Thread RobertCZ
Hi, please help, I'm getting desperade. The very same Embperl2 page works fine in Firefox, but in Explorer it says Internal Server Error. This is consistent across all pages and all my virtual servers based on Embperl2. There's nothing interesting in the logs, nothing in the error logs, acces

Re: Embperl2 & Explorer weirdness

2004-07-19 Thread RobertCZ
Gerald Richter wrote: <>The very same Embperl2 page works fine in Firefox, but in Explorer it says Internal Server Error. Well, I'm not sure it is the source, but the primary cadidate is app object - maybe I don't just understand how to use it, but as long as I put anything in in

Re: Embperl2 & Explorer weirdness

2004-07-19 Thread RobertCZ
Gerald Richter wrote: Â <>the init method must return zero or a valid http return code, otherwise Embperl generates a 500 server error Excellent, thanks a lot, now it works great (now I understand why I got return code 1 in the access log - I could not find what it means ;-) )

Re: Apache2 and EMBPERL_OBJECT_ADDPATH

2004-07-19 Thread RobertCZ
Pete Moran wrote: Hi all, I have started using apache 2 and Embperl 2.0b11 - however I have noticed that I can't seem to add additional search paths. A sample configuration PerlSetEnv EMBPERL_OBJECT_ADDPATH /var/website/htdocs/uk;/var/website/htdocs/shared/;/var/website/htdocs/ try : instead

Re: mdat/postgres - major perfomance problem?

2004-07-24 Thread RobertCZ
Angus Lees wrote: At Tue, 13 Jul 2004 12:30:42 +0200, RobertCZ wrote: Gerald Richter wrote: I tried to play with it and it seems that Postgres as a store does SELECT ... FOR UPDATE, To me it looks like only one Apache child is working and other are just

Re: mdat/postgres - major perfomance problem?

2004-07-24 Thread RobertCZ
RobertCZ wrote: Angus Lees wrote: At Tue, 13 Jul 2004 12:30:42 +0200, RobertCZ wrote: Gerald Richter wrote: I tried to play with it and it seems that Postgres as a store does SELECT ... FOR UPDATE, To me it looks like only one

Re: DBIx::Recordset and postgresql schemas?

2004-08-25 Thread RobertCZ
Gavin Carr wrote: and if I do the following (again as the postgres user): perl -MDBIx::Database -le 'DBIx::Database->new("dbi:Pg:dbname=template1","postgres",undef,undef,"foo",1)' I get a long list of errors about non-existent relations. Does the above work okay for you on 7.3? it does... at

Re: ANNOUNCE: DBIx::Recordset 0.26

2004-10-25 Thread RobertCZ
Gerald Richter wrote: After a long time were I didn't have time to working on DBIx::Recordset I now at least fixed the problem with Perl 5.8, so it can be used also with the actual Perl. Since Terrence is currently the owner on CPAN I cannot upload it the CPAN, so until I get the owernership again,

Two questions

2004-11-21 Thread RobertCZ
Hi, * I'm porting some old pages to Embperl2 and I have noticed the following difference: When ... img src=tst.gif ... is not quoted, Emperl2 generates ... img src tst.gif ... (without =) and breaks all images and links. I know it's incorrect not to escape parameter values in HML, but it use t

AIM/mp2 Apache::compat bug?

2004-11-22 Thread RobertCZ
Hi, I'm playing with Apache::ImageMagick under mod_perl 2 and Apache::compat (mainly because AIM needs Apache::File which is not supported under mp2). AIM/mp2 returns the correct modified file but with wrong file size (size of the original file, not the modified one). It does work under mod_pe

Re: AIM/mp2 Apache::compat bug?

2004-11-22 Thread RobertCZ
RobertCZ wrote: I'm playing with Apache::ImageMagick under mod_perl 2 and Apache::compat (mainly because AIM needs Apache::File which is not supported under mp2). AIM/mp2 returns the correct modified file but with wrong file size (size of the original file, not the modified one). It does

Re: AIM/mp2 Apache::compat bug?

2004-11-23 Thread RobertCZ
Geoffrey Young wrote: RobertCZ wrote: RobertCZ wrote: I'm playing with Apache::ImageMagick under mod_perl 2 and Apache::compat (mainly because AIM needs Apache::File which is not supported under mp2). AIM/mp2 returns the correct modified file but with wrong

embperl mail archive - broken search

2004-11-24 Thread RobertCZ
hi, embperl mail archive has broken search... it doesn't find anything with even the most simple words i can think of... including 'embperl' ;-) - robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Embperl bug: syntax parametr in Execute not working

2004-11-24 Thread RobertCZ
Hello, when I put [$ Syntax EmbperlBlocks $] in the executed file, it works as expected but when I try to set syntax in base file as a parametr in Execute call, Embperl fails with Endtag '/table' doesn't match starttag 'tr' I tested syntax => 'Text', it does the same thing. - Robert b

Re: Two questions

2004-11-24 Thread RobertCZ
Gerald Richter wrote: * I'm porting some old pages to Embperl2 and I have noticed the following difference: When ... img src="" ... is not quoted, Emperl2 generates ... img src tst.gif ... (without =) and breaks all images and links. I know it's incorrect not to escape parameter val

Re: embperl mail archive - broken search

2004-11-24 Thread RobertCZ
Gerald Richter wrote: embperl mail archive has broken search... it doesn't find anything with even the most simple words i can think of... including 'embperl' ;-) The server has moved and I forget to update the search engine. Should be fixed by tomorrow after the indexer ha

Re: Embperl bug: syntax parametr in Execute not working

2004-11-24 Thread RobertCZ
Gerald Richter wrote: when I put [$ Syntax EmbperlBlocks $] in the executed file, it works as expected but when I try to set syntax in base file as a parametr in Execute call, Embperl fails with Endtag '/table' doesn't match starttag 'tr' I tested syntax => 'Text', it d

href=[+ scalar { %fdat, id => 1 } +] broken?

2004-11-26 Thread RobertCZ
Hi, Embperl 1 used to expand hash/array in URL into query string like in href=[+ scalar { %fdat, id => 1 } +] but this doesn't seem to work in Embperl 2. Is this a known bug? - Robert - To unsubscribe, e-mail: [EMAIL PROTECTED

Stupid Execute problem

2004-11-28 Thread RobertCZ
Hi, I'm trying simple [- Execute('_ref.eo') -] or [- Execute({ filename => '_ref.eo', package => PACKAGE }) -] When it's in the base object file, it works OK, but it does nothing in ordinary HTML (executed) file - not even error or a trace in the error/embperl log - and it worked in 1.3 I must

Re: Stupid Execute problem

2004-11-29 Thread RobertCZ
Dirk Jagdmann wrote: I'm trying simple [- Execute('_ref.eo') -] In Embperl 2 you have to add a ';' in every statement in a [--] block and you have to omit it it [++] blocks. Thank you, I knew it would be something stupid - now it seems at least some of the problematic pages work again. - Robe

Re: Stupid Execute problem

2004-11-29 Thread RobertCZ
RobertCZ wrote: Dirk Jagdmann wrote: I'm trying simple [- Execute('_ref.eo') -] In Embperl 2 you have to add a ';' in every statement in a [--] block and you have to omit it it [++] blocks. Thank you, I knew it would be something stupid - now it seems at least some

How to start a new session without removing old one?

2004-12-02 Thread RobertCZ
Hi, I need to give user a new session but I don't want to delete old data for archival purposes - so don't want $r->DeleteSession - what's the right way? User don't need to remember old session, so I can just make a new session and resnd a new cookie, but what is the standard way? And one mor

Undef2Empty

2004-12-09 Thread RobertCZ
Hi, the docs say Embperl2 sends all formfields, even when empty but it clearly doesn't work - did I misunderstood something? How can I turn this on? - Robert --- [- use Data::Dumper; -] [+ Dumper(\%fdat) +] -

default_messages ignored?

2004-12-12 Thread RobertCZ
Hi,   default_messages don't seem to work: --- *** [= Heading =] *** *** [= Submit =] *** --- would print correct thing with test.html?lang=en but only *** Hlavicka *** *** *** when test.html?lang=cz It looks like defauly messages are completely ignored. app file included

Re: Undef2Empty

2004-12-13 Thread RobertCZ
Gerald Richter wrote: the docs say Embperl2 sends all formfields, even when empty but it clearly doesn't work - did I misunderstood something? How can I turn this on? optAllFormData is still an option in Embperl 2, so you should be able to set it. Great, thanks.http://perl.apache.org/emb

Re: Urgent: MsgIdExtract problem

2004-12-13 Thread RobertCZ
Gerald Richter wrote: when extracting messages. I believe in some older version quotes like [= 'Hello World' =] would fix it, but in RC2 it just prints it with quotes 'Hello World'. The problem is perhaps this definition 'Embperl output msg id' => { 'text' => '[=',

Re: default_messages ignored?

2004-12-13 Thread RobertCZ
Gerald Richter wrote: my %messages = ( 'cz' => { 'Heading' => 'Hlavicka', 'Submit' => undef, You need to remove, the above line, then it will work. It seems to work better, but is this practical? undef serves to tr

Re: Urgent: MsgIdExtract problem

2004-12-13 Thread RobertCZ
Now it does the extracting right (with a lot of quotes ;-)), but it does not seem to show the actual translations in the page itself - Robert Gerald Richter wrote: when extracting messages. I believe in some older version quotes like [= 'Hello World' =] would fix it, but in RC2 i

Multilingual support / was Re: Urgent: MsgIdExtract problem

2004-12-15 Thread RobertCZ
Gerald Richter wrote: '$Embperl::Syntax::MsgIdExtract::Ids{scalar(%#0%)} = q{} if (!exists ($Embperl::Syntax::MsgIdExtract::Ids{scalar(%#0%)})) ;', Try to change %#0% to %#\'0% OK, now I got it working and it's really cool (with the exception of the last couple of bugs).

Urgent: MsgIdExtract problem

2004-12-12 Thread RobertCZ
Hi, I'm stuck with this MsgIdExtract.pm problem: [= Hello World =] gives error [582]ERR: 24: Error in Perl code: Can't locate object method "Hello" via package "World" (perhaps you forgot to load "World"?) at /home/www/phl/doc/accom.html line 31. when extracting messages. I believe in so

epchar.c.min vs epchar.c.iso-latin-2 question

2004-12-22 Thread RobertCZ
Hi, I'm trying to get rid of all those [+ do { local $escmode = 0; $x } +] just because $x has some Czech characters. epchar.min.c seems to work OK, but I don't understand relative advatages/disadvanages of epchar.c.min vs. epchar.c.iso-latin-2 ... Can some please explain what I'm loosing when

Embperl::Mail question: no Date in headers

2004-12-22 Thread RobertCZ
Hi, Embperl::Mail doesn't send Date header which makes the mail look dated '1.1.1970' in Mozilla based clients. I add it manually like this ($year,$month,$day, $hour,$min,$sec) = Today_and_Now(); $date = Day_of_Week_Abbreviation(Day_of_Week($year,$month,$day)) . ",

Re: Multilingual support / was Re: Urgent: MsgIdExtract problem

2004-12-22 Thread RobertCZ
y using it in my two big projects and it's really REALLY nice ;-) -Original Message- From: RobertCZ [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 15, 2004 12:49 PM To: embperl@perl.apache.org Cc: Gerald Richter Subject: Multilingual support / was Re: Urgent: MsgId

Re: epchar.c.min vs epchar.c.iso-latin-2 question

2004-12-22 Thread RobertCZ
Gerald Richter wrote: I'm trying to get rid of all those [+ do { local $escmode = 0; $x } +] just because $x has some Czech characters. epchar.min.c seems to work OK, but I don't understand relative advatages/disadvanages of epchar.c.min vs. epchar.c.iso-latin-2 ... Can some pleas

Re: Array of Hashes in %udat

2005-01-10 Thread RobertCZ
Derrick Spell wrote: I have an array of hashes that I would like to store in %udat. First of all, is this possible? Second, what is the correct syntax. I have tried: $udat{AoH} = @AoH; but the array doesn't seem to be there when I try to retrieve it. You cant put array there, just an array re

Re: Embperl::Object and query string

2005-01-12 Thread RobertCZ
this is perfectly equivalent to Embperl, just use %fdat as usual - robert Michael Stepanov wrote: Hi, Recently I've configured Embperl::Object. So, now I'm trying to move an existing web site from Embperl to Embperl::Object. I have a question: how can I use query string? Imagine, I have a link:

Re: Multilingual support / was Re: Urgent: MsgIdExtract problem

2005-01-17 Thread RobertCZ
Gerald Richter wrote: I have fixed/changed the points you requested in your mail below. It's now in the CVS, you might give it a try... Great, thanks, I'm going to test it, but I remember there were some special procedure necessary to use CVS version for EP2 and docs http://perl.apache.org/embp

Embperl::Mail setup inconsitency

2005-01-31 Thread RobertCZ
Hi, I have just spent couple of hours trying to figure out why 'Embperl_MailHost xxx' configuration directive doesn't work for me until I RTFS where it's used as $ENV{'EMBPERL_MAILHOST'}. Now with SetEnv EMBERL_XXX it works fine, but why is everything set up using Embperl_XXX directives only E

Content-type in Meta not working?

2005-03-06 Thread RobertCZ
Hello, I noticed that with EP2 this doesn't work while [- $http_headers_out{'Content-Type'} = $content{$lang}; -] seems to work fine... What's the problem? Under EP1 it used to work OK. - Robert PS It's usually not a problem, but couple of my servers have russian or korean (or sim

Re: Content-type in Meta not working?

2005-03-06 Thread RobertCZ
Philip Hazelden wrote: I noticed that with EP2 this doesn't work while [- $http_headers_out{'Content-Type'} = $content{$lang}; -] seems to work fine... What's the problem? Under EP1 it used to work OK. What's the actual output of the two? It looks to me like you should be usin

Re: Content-type in Meta not working? SOLVED

2005-03-06 Thread RobertCZ
RobertCZ wrote: I noticed that with EP2 this doesn't work while [- $http_headers_out{'Content-Type'} = $content{$lang}; -] seems to work fine... What's the problem? Under EP1 it used to work OK. OK, it seems one have to remove AddDefaultCharset from Apache conf

Re: DBIx::Recordset 0.26 - patches lost, docs old

2005-03-09 Thread RobertCZ
Terrence Brannon wrote: * Did a mailing list ever get setup for Recordset? Should we? Some time ago people on this list (incl. Gerald, of course ;-) ) agreed it makes no sense to create a new list, the embperl mailing list can serve for both (and for other related Gerald's stuff like Apache::

Embperl::Mail - Missing Date header

2005-04-01 Thread RobertCZ
Hi, I have problem with the mails sent from Embperl::Mail::Execute, because Thunderbird thinks the email is dated '1.1.1970 1:00'. I have to manually add Date to the mail headers on every page with something like ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(); $date2 = spri

Embperl::Mail bug

2005-04-07 Thread RobertCZ
Hi, when calling Embperl::Mail twice from the same page, second time it may send the body of the first email. Following code sends two emails with different subjects, but with identical body 'test1 test1' - R. use Embperl::Mail; $mail = qq{ test1 test1 }; Embperl::Mail::Execute({ input

Re: Embperl::Mail bug

2005-04-07 Thread RobertCZ
RobertCZ wrote: ups, second example should be $mail2 = qq{ test2 test2 }; Embperl::Mail::Execute({ input => \$mail2, subject => 'Embperl email test2', to => '[EMAIL PROTECTED]', from => '[EMAIL PROTECTED]', });

Re: Embperl::Mail bug

2005-04-07 Thread RobertCZ
Gerald Richter wrote: when calling Embperl::Mail twice from the same page, second time it may send the body of the first email. Following code sends two emails with different subjects, but with identical body 'test1 test1' The problem should go away when you specify diff

mod_perl rc5 compatibility

2005-04-13 Thread RobertCZ
Hi, Gerald, I see RC5 is quite changed from previous versions, what are your plans for Embperl? Will next RC support both old and new mod_perl? Given Gentoo quite changed the Apache is installed recently, now this quite new mod_perl... it makes me nervous about my next upgrade :-( - Robert --

Re: Embperl::Mail bug

2005-04-13 Thread RobertCZ
Gerald Richter wrote: OK, now I run it with inputfile => email1.eo / inputfile => email2.eo and it works, thanks a lot. However, both email?.eo are identical, I just call them with a modified udat, so it's not optimal, I need to mainten it twice. Is there a way to use inputfile/othe

Re: Apache::ImageMagick & Apache2/mod_perl2 [ SOLVED ]

2005-05-02 Thread RobertCZ
Gerald Richter wrote: Well, nobody comments? Does that mean nobody is using AIM? It's great to know I'm the only person using AIM with Embperl2... At least I do not use it currently with Apache2 and I don't have enough free time to check out where the problem is, also I would

Multilingual support: different languages in the same page?

2005-07-07 Thread RobertCZ
Hi, I need to send email in two different languages app.eo: --- ... my $lang = $fdat->{lang} || $r->app->udat->{lang} || 'en' ; my %messages = %{ do '/home/www/nbcz/etc/dict/dict.dump' }; ... html: - ... $udat{lang}= 'cz'; Execute({ inputfile => 'email.eo', mtime => undef, to

Re: Multilingual support: different languages in the same page?

2005-07-08 Thread RobertCZ
Gerald Richter wrote: You can change the message hash inside the page: ... $udat{lang}= 'cz'; $epreq -> messages ([\%cz_msgs]) ; Thanks - this works. I can leave for holiday knowing last problem is fixed - YAY! ;-) PS I'd take notebook on holiday ( :-(

Re: Multilingual support: different languages in the same page?

2005-07-08 Thread RobertCZ
Gerald Richter wrote: Hmm - I'm not sure what change from 2.0 to 1.3 would look like - I got a lot of [= =] etc. Thanks anyway. Inside Embperl you need not to change anything. Embperl 2.0 gives you the same interface and fucntions on Apache 1.3 and on Apache 2.0. Only if you

Re: Embperl on Windows

2005-07-08 Thread RobertCZ
Gerald Richter wrote: Embperl 1.3 will not like it, but what I said was that Embperl 2.0 on Apache 1.3 and mod_perl 1.x works on Windows. So please install - Apache 1.3 - mod_perl 1.x - Embperl 2.0 This combination will work on Windows Aha, I see. I've just tried to install stuff accordi

Re: Some philosophical questions

2005-07-29 Thread RobertCZ
Neil Gunton wrote: This may be a little off the usual topic (bug reports, howto etc) but I am genuinely curious to know what other list members think about it. Back in 2000 or so, when I started using apache, mod_perl and Embperl, it was a really dynamic scene and quite exciting with all the

Re: Some philosophical questions

2005-07-29 Thread RobertCZ
RobertCZ wrote: 2) There seems to be less of a traditional web (server) programing and more of client Java/JavaScript work. Look at this AJAX stuff... Users want more flexible and more responsive web apps and more and more of the functionality move to the client. I'm these days spendi

Recordset & Postgres 8 problem (and fix)

2005-08-28 Thread RobertCZ
Hello, Recordset seems to have problem with Postgres 8, probably because of some changes in Postgres schema handling 7.4 -> 8.0 (because it works fine with 7.4 and older versions). The problem manifests itself with some 'no relation triggers found' (and then a lot of 'command ignored' errors

Date patch for Embperl::Mail

2005-09-15 Thread RobertCZ
Hi, as I reported, I have problems with mails sent from Embperl::Mail and Thunderbird/Netscape - mails are dated 1.1.1970. I don't know what deep cause of the problem is butI fixed it simply by adding Date: header manually. I guess more people will have similar problem so I propose patch Em

Re: Problems with %udat

2005-09-16 Thread RobertCZ
Otto Lang wrote: I'm developing a new application using Embperl 2.0 final with the newest perl-modules I could find (CGI.pm-3.11, ...). Everything works fine unless I try to access the %udat-hash. And Opera 8.02 comes up with an internal server error: Can't locate object method "TIESC

Re: Date patch for Embperl::Mail

2005-10-05 Thread RobertCZ
Gerald Richter wrote: I have made a similar version of your patch, that moves the date generation into C code, because a similar routine is already there. It also handles the timezone. It's in the CVS and will be in 2.0.1 Thanks for patching it - I'm back from holiday just to download and

Re: ANNOUNCE: Embperl 2.1.0

2005-11-15 Thread RobertCZ
Gerald Richter wrote: - Diretive Embperl_Output_Esc_Charset allows to generaly switch between Latin1, Latin2 and UTF-8. (For UTF-8 this is not necessary when Perl's UTF-8 Flag is correctly set, but this is not the case for all datasources) Hello,

Redefining common tags?

2006-01-09 Thread RobertCZ
Hello, I've never tried it before but I understand that Embperl 2 can define new tags - can it redefine common HTML tags too? I have stuff like all over the place, it would be cool to just write Title Title Is there easy way to do it? Thanks - Robert ---

[Fwd: Re: Redefining common tags? (partial solution)]

2006-01-20 Thread RobertCZ
$escmode = 0; _ep_rp(%$x%, ""); }} }) ; --- Begin Message --- -----BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RobertCZ wrote: > I've never tried it before but I understand that Embperl 2 can > define new tags - can it redefine common HTML tags too? I have stuff > like > >

Re: Redefining common tags? (partial solution)

2006-01-23 Thread RobertCZ
Gerald Richter wrote: Try $self -> AddTagBlock ('h2', undef, ['color'], undef, { perlcode => q{ { local $escmode = 0; _ep_rp(%$x%, " Escape (%&'color%, 2) . "&text=" . $epreq -> Escape (XML::Embperl::DOM::Node::iChildsText(%$n%), 2) . "\">");

Re: Redefining common tags? (partial solution)

2006-01-24 Thread RobertCZ
Gerald Richter wrote: One more problem: the escaping ( initial local $escmode = 0 ) stops workins after first use and only is restore when some Embperl processed HTML is found eg Mmmh, I guess we need to recompile Embperl. Go to xsbuilder/maps/ep_structure.map and remove

Re: Redefining common tags? (partial solution)

2006-01-24 Thread RobertCZ
Gerald Richter wrote: Missing directory /usr/src/cpan/Embperl-2.1.0/xsbuilder/tables/Embperl at /usr/lib/perl5/vendor_perl/5.8.6/ExtUtils/XSBuilder/ParseSourc e.pm line 494. A sorry, I forgot that this directory is not part of the tar.gz, please run perl xsbuilder/source_s

Re: Redefining common tags? (partial solution)

2006-01-24 Thread RobertCZ
Gerald Richter wrote: { $epreq -> component -> curr_esc_mode = 0; Oops, sorry mix of C and Perl won't work...should be $epreq -> component -> curr_esc_mode(0) ; WORKS!!! Thanks a lot. - Robert PS Will this be part of the standard

Re: Redefining common tags? (partial solution)

2006-01-27 Thread RobertCZ
Gerald Richter wrote: WORKS!!! Well, now I see it works when I write [$ syntax + ParkhotelPruhonice $] Parkhotel Průhonice in the file itself, but when I try [- Execute({inputfile => '*', syntax => 'Embperl ParkhotelPruhonice'}) -] in base file as recommended i

Re: Redefining common tags? (partial solution)

2006-01-27 Thread RobertCZ
Gerald Richter wrote: Well, now I see it works when I write [$ syntax + ParkhotelPruhonice $] Parkhotel Průhonice in the file itself, but when I try [- Execute({inputfile => '*', syntax => 'Embperl ParkhotelPruhonice'}) -] in base file as recommended in the docs... I gu

Re: Redefining common tags? (partial solution)

2006-01-30 Thread RobertCZ
Gerald Richter wrote: PS2 When I'm at it: doesn't have to be closed and Embperl respects it and according to the HTML specs TR doesn't have to be closed too - can default Embperl be made more forgiving and ignore unclosed TR's? My hack just remove processing completely, that is ha

Re: How to

2006-02-18 Thread RobertCZ
Gerald Richter wrote: My question is, is there a way I can store the document requested to a variable in the base.epl file. Take a look at http://perl.apache.org/embperl/pod/doc/Config.-page-3-.htm, there is a filename and uri methods. If you have an

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: 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: only static messages via Embperl::Mail ?

2006-02-21 Thread RobertCZ
no, input => \$mail is ok as long as you also specify inputfile => 'somename' (as is said clearly in the docs) otherwise embperl can't cache it correctly PILCH Hartmut wrote: > just use something like > > $mail = "error message"; > Embperl::Mail::Execute({ input => \$mail, mtime => undef

OT: How to use PerlSetVar in section?

2006-02-25 Thread RobertCZ
sorry for off-topic: how to move the following conf from plain text to section? specifically, what is PerlSetVar equivalent in section? PerlFixupHandler Apache::ImageMagick PerlOptions +GlobalRequest PerlSetVar AIMScriptDir /ho

Re: OT: How to use PerlSetVar in section?

2006-02-25 Thread RobertCZ
[ AIMScriptDir => "/home/www/_cms/doc/$vhost/img/aim" ], [ AIMCacheDir => "/tmp/aimcache/$vhost" ], [ AIMCache => "Off" ],

Re: object life

2006-02-27 Thread RobertCZ
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? if I dont understand, would you mind showing us some simplified code? - robert Daniel wrote: Hi, I'm running two websites from the same

different Embperl_Cookie_Expires for different virtual hosts?

2006-02-28 Thread RobertCZ
Hi, can I set Embperl_Cookie_Expires per-virtual host? I don't want any problem with my main application but need to experiment on other vhosts... Thanks. - Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: different Embperl_Cookie_Expires for different virtual hosts?

2006-03-05 Thread RobertCZ
RobertCZ wrote: can I set Embperl_Cookie_Expires per-virtual host? I don't want any problem with my main application but need to experiment on other vhosts... Thanks. abybody? - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Win32 Embperl fails to run with libxml2.dll error

2006-04-20 Thread RobertCZ
Randy Kobes wrote: Wow, I'm impressed! Yes, that does fix the problem. I've placed an Embperl ppm package up at http://theoryx5.uwinnipeg.ca/ppms/ for ActivePerl 8xx, based on 2.2.0; this doesn't have mod_perl-1 support built in, as I'm having (local) difficulties with this, but it does includ

curr_esc_mode error in 2.2

2006-11-18 Thread RobertCZ
Hello, I've just upgraded to 2.2 and now one of my vhost says [22750]ERR: 24: Error in Perl code: Can't locate object method "curr_esc_mode" via package "Embperl::Component" at /home/www/_cms/doc/parkhotel-pruhonice/cms/hotel_en.html line 2. Apparently the problem is in this syntax file

Re: curr_esc_mode error in 2.2

2006-11-18 Thread RobertCZ
. RobertCZ wrote: Hello, I've just upgraded to 2.2 and now one of my vhost says [22750]ERR: 24: Error in Perl code: Can't locate object method "curr_esc_mode" via package "Embperl::Component" at /home/www/_cms/doc/parkhotel-pruhonice/cms/hotel_en.html line 2.

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' in file /

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 against

Re: Subrequest to remote server

2007-05-21 Thread RobertCZ
I remember vaguely I had similar problem some time agou - solved it using LWP - Robert Frank Wesemann wrote: Hello list, 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:

Embperl on Mac OS X ?

2007-06-05 Thread RobertCZ
Hello, is anybody using Embperl 2 (with Apache 2 & mod_perl 2 and perhaps Imagemagick & postgresql ) on recent Mac OS X? I'm thinking about new MacBook Pro but I'm not everything will work fine without a lot of black magic... Comments? - Robert P.S. I found perhaps a year ago a repository

Re: Embperl on Mac OS X ?

2007-06-08 Thread RobertCZ
g very similar, and I can't remember the name of that. (Fink does source code, with local compilation; it's therefore a bit more complicated than the other - but as a programmer, it means I can fiddle with the packages easily. The other project shipped binaries.) Ed On Tue, 5 Jun 200

Re: Apache::ImageMagick for mod_per2

2008-04-01 Thread RobertCZ
Adam Hasselbalch Hansen napsal(a): Hey. Saw here http://www.gossamer-threads.com/lists/modperl/embperl/17312 that you got a working copy of Apache::ImageMagick on Apache2/mod_perl2. Something you still have? Cheers, Adam Hi, it's old and ugly hack - it works for what I do quite fine, but