Re: chdir / startup issues

2003-10-02 Thread Gerald Richter
Kevin C Miller wrote:
>
> I'm looking for some insight as to why Embperl::Mail (using 2.0b9)
> might be trying to stat its way to the filesystem root when it starts
> up. This is causing me some problems with networked filesystems, as
> it stats all the directories on the way.
>
> Thoughts?
>

Embperl.pm does a Cwd::fastcwd() on startup, you might replace this with
Cwd::cwd() or Cwd::getcwd(), which might avoid to stat paraent directories

Gerald


--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with charset in embperl 2

2003-10-02 Thread Gerald Richter
>
> i have this file:
>  this is the title
> 
> 
> special chars in spanish:
> áéíóú
> 
> if i save this file using UTF-8 and i get it using embperl 2 i see
> this: special chars in spanish: áéíóÃ
>
> if i save the file using ISO-8859-1 everything works fine(but what
> happen with thecharset?).
>
> if i change and use embperl 1.3.6 i do not have the problem in any
> condition.
>
> Why this difference between both embperl versions?
>

1.3.6 scans the meta tag and adds it to your http header Embperl 2 has not
impleented this feature, use %http_headers_out instead:

[- $http_headers_ut{'Content-Type'} = 'text/html; charset=UTF-8' -]

Gerald

P.S. It shouldn't be hard to add the meta tag to the
EMbperl/Syntax/EmbperlHTML.pm so it is also supported in 2.0


> Thank you in advance
>
> Carlos Kassab
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: fdat problem

2003-10-02 Thread Gerald Richter
>
> it seems this was the problem coz all vars that had my before then
> only got set once.
>

This is because you create a closure with this my's in EMbperl, because the
code is wrapped in a sub.

See the perlfaq for more information on closures

Gerald


--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: A TABLE-processing-with-[$ while $]-blocks-involved question

2003-10-02 Thread Gerald Richter
> The postgres log reported the following for the rsmbacontracts query:
>
> LOG:  query: SELECT * FROM clientcontracts WHERE accountguid =
> 'b6ea9cafe2d1997392d166b96e5697b1';
> LOG:  pq_recvbuf: unexpected EOF on client connection
>

THe only reason I can image is that Embperl segfaults because of the
inproper nesting, instead of gving an error message like it should.

Which version of Embperl?

Do you see anything in the error log when this happens?

Gerald



--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Embperl/2.0b6 returns httpd/unix-directory instead of index.phtml

2003-10-02 Thread Gerald Richter
Add a  like below to solve this problem:

>
> 



>  Options +FollowSymLinks
>  AddType text/html .phtml
>  DirectoryIndex index.phtml
>  SetHandler  perl-script
>  PerlHandler Embperl
>  Options ExecCGI
>  PerlSetEnv EMBPERL_ALLOW \.phtml$
>  PerlSetEnv EMBPERL_OPTIONS 2064
>  PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS no



> 
>

Gerald

BTW. You should upgrade to 2.0b9.  2.0b6 has some bugs...


--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: form data going astray

2003-10-02 Thread Gerald Richter
>
> The problem is that sometimes when a user clicks a button to submit
> form data, the values in the form are apparently not sent back to the
> server. The result is that the user sees either an error message or
> the application's entry page (because the application doesn't find
> form data that indicates what it should do).
>
> The last few reports of this problem have all come from people using
> Netscape Navigator 4.7x, and I don't know if that's a coincidence or
> not. I think the problem has occurred with other browsers, but I don't
> have figures to show how often.
>

This is not a familar problem and you need not to accept it. This should
also work with NS 4.71. Maybe you have some HTML code that the old Netscape
doesn't like.

Can you create a short form, with just an input field and a submit button
that shows this behaviour?

Gerald


--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: check boxes

2003-10-02 Thread Gerald Richter
> 

Could you try without the enctype="multipart/form-data" ? Does it behave the
same way?

There maybe an problem when more the one checkbox is checked in 1.3.4, but I
am not sure.

Gerald



> one
> two
> three
> 
>
> 
>
> 
> 
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DBIx::Recordset status

2003-10-02 Thread Terrence Brannon
The Perl object-oriented Persistence group ([EMAIL PROTECTED]), has
stated that their list of reviewed modules will drop DBIx::Recordset within
six months unless it appears that the module is being maintained (ie, new
releases are made).

I told them that I am creating a set of docs for Recordset which include
running code samples for every aspect of Recordset:


http://theoryx5.uwinnipeg.ca/CPAN/data/DBIx-Recordset-Playground/Playground.
html

Which is based on a fairly comprehensive sample database schema:


http://theoryx5.uwinnipeg.ca/CPAN/data/DBSchema-Sample/DBSChema/Sample.html


But they were wondering if a new release were coming out or if there were
any outstanding bugfixes/features to be done to the code.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DBIx::Recordset status

2003-10-02 Thread Ruben Safir Secretary NYLXS
Isn't there such a thing as - Hey it just works and is good enough

Ruben

On Thu, Oct 02, 2003 at 05:41:36PM -0700, Terrence Brannon wrote:
> The Perl object-oriented Persistence group ([EMAIL PROTECTED]), has
> stated that their list of reviewed modules will drop DBIx::Recordset within
> six months unless it appears that the module is being maintained (ie, new
> releases are made).
> 
> I told them that I am creating a set of docs for Recordset which include
> running code samples for every aspect of Recordset:
> 
> 
> http://theoryx5.uwinnipeg.ca/CPAN/data/DBIx-Recordset-Playground/Playground.
> html
> 
> Which is based on a fairly comprehensive sample database schema:
> 
> 
> http://theoryx5.uwinnipeg.ca/CPAN/data/DBSchema-Sample/DBSChema/Sample.html
> 
> 
> But they were wondering if a new release were coming out or if there were
> any outstanding bugfixes/features to be done to the code.
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
__
Brooklyn Linux Solutions
__
DRM is THEFT - We are the STAKEHOLDERS http://fairuse.nylxs.com

http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from 
around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn

1-718-382-0585

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]