Weird. The whole point of Apache::DBI (or so I understand it) is so that
your $dbh stays valid across CGI or Handler calls.
I can only think of two reasons why I get the error message:
1) My child process is dying, and the DBI code is telling me that I never
called disconnect() on that $dbh. I
On Mon, 24 Apr 2000, John S. Evans wrote:
> Dang. That "delete" code is in the Apache::DBI code (Apache/DBI.pm line
> 119). Is this a known bug in Apache::DBI, then?
No, I don't know of any problems with Apache::DBI. Typically the error
message that you are talking about happens when your $dbh
Hi all,
In my error_log, a few lines of
[Wed Apr 19 18:45:10 2000] null: Attempt to free unreferenced scalar.
generated during server restart and shutdown.
Is this a known potential memory leak documented anywhere?
I'm running Apache-1.3.12/Perl-5.6.0/mod_perl-1.22
mod_* is compiled statica
>
> In the end, there may still be some threading issues that should
> be watched
> out for I suspect. If mod_perl 2.0 follows a similar design to
> ActiveState's PerlEx, PerlEx also has some problems when the Perl modules
> themselves link to stuff that is not threadsafe as a shared library.
>
Y
Dang. That "delete" code is in the Apache::DBI code (Apache/DBI.pm line
119). Is this a known bug in Apache::DBI, then?
-jse
> From: Tom Mornini <[EMAIL PROTECTED]>
> Date: Mon, 24 Apr 2000 17:49:35 -0700 (PDT)
> To: "John S. Evans" <[EMAIL PROTECTED]>
> Subject: Re: Apache::DBI disconnect?
>
On Sat, 15 Apr 2000, John S. Evans wrote:
> So digging a little deeper (and through the magic of trial and error), the
> offending module seems to be Mail::Field.
>
> It has a bunch of code to dynamically load perl classes for various types
of
> fields (AddrList, Date, Content-Type, etc), and thi
Ken Williams writes:
> Huh? 3-arg open? I haven't seen this in the various writeups of
> new 5.6.0 features, and the docs at
> http://www.perl.com/CPAN-local/doc/ are still stuck on 5.005_02. My
> curiosity is piqued!
Here are the examples from the open entry in the perlfunc manpage.
open(D
[EMAIL PROTECTED] (Nathan Torkington) wrote:
>
>When you have 5.6.0, it's even easier:
>
> my $fh;
> open($fh, "< foobar") or die;
> # $fh autovivified to a filehandle
>
>Whee! You can even use the 3-arg open for maximum delight.
Huh? 3-arg open? I haven't seen this in the various writeups
> I'm getting too sleepy to finish this off, so tomorrow. (I have to
I guess I lied. Patch is at:
ftp://esdev.net/pub/mod_proxy/modproxybeta1.patch.gz
This adds the functionality that Josh was referring to. I'm still
thinking of adding the "tagged as down" functionality... maybe
tomorrow. If
Do any architectures other than mod_perl and C support access to the
Apache notes table? For example, can you write a servlet that accesses the
table, or use mod_py, or mod_php, and still have mod_perl process the
request (i.e. still have mod_perl be the PerlHandler part of the request)
?
The rea
> > I've been working on the mod_proxy code today, and it appears to me
> > that it already has this functionality. It has an apache array
> > (really a null terminated link list I'm pretty sure) of proxies it can
> > access. You just have to make multiple ProxyPassReverse declarations
> > and i
I've been using the Apache::DBI module, and it works great. However, I've
noticed that my error_log file has an occasional message that tells me:
Database handle destroyed without explicit disconnect at
/usr/local/lib/perl5/site_perl/5.005/Apache/DBI.pm line 119.
The "offending" line of code is
[EMAIL PROTECTED] (Alexei V. Barantsev) writes:
> I have the followin problem: HTML::Mason dhandler could not define
> path_info, it tries to select only first part. For example, if my
> request is http://server/test/hello/world and dhandler is in /test
> it decides that $r->path_info is /hello/.
Try using $m->dhandler_arg to get the path (note that the leading
forward-slash is stripped).
Thanks,
Tim Tompkins
--
Programmer / Staff Engineer
http://www.arttoday.com/
- Original Message -
From: Alexei V. Barantsev <[EMAIL PROTECTED]>
To:
The Apache XML Delivery Toolkit (AXDTK) solves several problems for web
developers interested in delivering dynamically transformed XML to
clients:
- It automatically associates XML documents with stylesheets according to
http://www.w3.org/TR/xml-stylesheet
- It enables xml stylesheet processor d
hi,
actually in order for this flaw to work one must have both enabled
on the browser.. was just giving people a heads up since the topic
was cookies.. and no IMHO cookies are not required to obtain good
info..
On Mon, 24 Apr 2000, Matt Sergeant wrote:
> On Mon, 24 Apr 2000, Marc Slemko wrote:
I get something similar when I wrap my call to Apache::Session::DBI in an
eval to try to catch it die()ing (ie. session id not found). IIRC, this is
a known bug in perl.
>> panic: POPSTACK
>> Callback called exit.
PMFFUTMOP: But ...
I've determined that the AuthDBMUserFile error I had under Perl was my own
scripting cross-eyed fingers and wasn't even related to mod_perl, Apache,
nor reality as we know it :)
Sorry for the noise! -Sneex- :]
- FCCJ * 501 W State St * Jacksonville, Fl 32202 * 904/632-3089
"Alexei V. Barantsev" wrote:
>
> Hello, All!
>
> I have the followin problem: HTML::Mason dhandler could not define
> path_info, it tries to select only first part. For example, if my
> request is http://server/test/hello/world and dhandler is in /test
> it decides that $r->path_info is /hello/.
Hello, All!
I have the followin problem: HTML::Mason dhandler could not define
path_info, it tries to select only first part. For example, if my
request is http://server/test/hello/world and dhandler is in /test
it decides that $r->path_info is /hello/.
Looks like the problem appears early - deb
On Mon, 24 Apr 2000, dreamwvr wrote:
> usally nothing but now everything as per bugtraq advisory.. what this means is
> javascript code is inserted into a cookie that is living on a client and
> executed there.. they can therefore read your bookmarks and so on..
I shudder at the thought of all t
On Mon, 24 Apr 2000, Marc Slemko wrote:
> Don't go holding slashdot up as a great example. They is a perfect
> example of what not to do. Last I checked, and this is probably still
> true, anyone could make a post that, when read, stole the password of the
> user reading it if they were logged
On Mon, 24 Apr 2000, Matt Sergeant wrote:
> On Sat, 22 Apr 2000, dreamwvr wrote:
>
> > hi,
> >most likely you will want to shut down cookies and use another method as per
> > advisories that currently there is a problem with javascript and cookies when
> > both enabled. b.t.w. exploder has
On Mon, 24 Apr 2000, Vivek Khera wrote:
> > "d" == dreamwvr <[EMAIL PROTECTED]> writes:
>
> d> to have cookies are a problem these days. besides most clueful
> d> users these days have cookies turned off..
>
> According to what survey? I'd like to see some real numbers before
> abandoning
On Sat, 22 Apr 2000, dreamwvr wrote:
> hi,
>most likely you will want to shut down cookies and use another method as per
> advisories that currently there is a problem with javascript and cookies when
> both enabled. b.t.w. exploder has simular problems so since javascript is nice
> to have
> "FA" == Forrest Aldrich <[EMAIL PROTECTED]> writes:
FA> simple ./configure --switch to enable them. I didn't see anything for
FA> mod_perl in the INSTALL, and it seemed there were a lot of manual things to
FA> be done, which made me think I wasn't reading it correctly.
FA> What's the m
> "d" == dreamwvr <[EMAIL PROTECTED]> writes:
d> to have cookies are a problem these days. besides most clueful
d> users these days have cookies turned off..
According to what survey? I'd like to see some real numbers before
abandoning a very useful technique.
"I heard it on TV so it must
Hi,
I keep getting the following error in the error_log:
panic: POPSTACK
Callback called exit.
What does this mean? They always come together :)
Thanks,
Yoav
Gunther Birznieks wrote:
> Why do you need to settle on one or the other?
>
> Anyway, the only reason you need Domino IMHO is because you have linked in
> with other Lotus notes applications. However, if this is a public site not
> an intranet, I would strongly urge them not to use this short c
Matt Sergeant writes:
> Nope, but often I do use the TomC "my $fh = do { local *FH; };" method,
> because I hate those ugly HANDLE capital letters everywhere - they use up
> more bytes than lower case ones... ;-)
When you have 5.6.0, it's even easier:
my $fh;
open($fh, "< foobar") or die;
Hey
Have anybody heard of
<:& ''some
perl
code''
> or
<:
''some perl
code''
>
tags ?
If so, what module is
responsible for handling those ?
I think it looks something like SSI, but SSI has
different style of tags and SSI
On 24 Apr 2000, (Randal L. Schwartz) wrote:
> > "Matt" == Matt Sergeant <[EMAIL PROTECTED]> writes:
>
> Matt> So do I have to use gensym(), or not?
>
> As long as you are aware of the package in which the symbol ends up, I
> can't see how it'd matter. And nobody uses string indirect
> file
> "Matt" == Matt Sergeant <[EMAIL PROTECTED]> writes:
Matt> So do I have to use gensym(), or not?
As long as you are aware of the package in which the symbol ends up, I
can't see how it'd matter. And nobody uses string indirect
filehandles ($x = 'FH'; print $x 'hello') these days, we'd hope
Is it necessary to use gensym() in a PerlHandler() - it doesn't seem
necessary to me. The book says "Ordinary bareword filehandles are prone to
namespace clashes". Is that the case for a perl module? I don't think
so. When I do:
open(FH, $filename) || die "Open failed: $!";
I get *__PACKAGE__::F
http://www.w3.org/TR/html4/struct/global.html#edef-META
Checkout the subheading on META and HTTP headers.
--Jeff
At 05:18 PM 4/24/00, Jaime Teng wrote:
>Hi,
>
>As I am developing WEB Applications with Apache and modperl,
>it came to my attention that there are some pages that I can
>'ALLOW' the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
At 2:28 PM -0600 4/22/00, dreamwvr wrote:
>to have cookies are a problem these days. besides most clueful users
>these days
>have cookies turned off..
The percentage of "clueful" users is extremely small. Furthermore,
since the vast majority of co
On Sat, Apr 22, 2000 at 02:28:44PM -0600, dreamwvr wrote:
> hi, most likely you will want to shut down cookies and use another
> method as per advisories that currently there is a problem with
> javascript and cookies when both enabled. b.t.w. exploder has simular
> problems so since javascript is
Hi,
As I am developing WEB Applications with Apache and modperl,
it came to my attention that there are some pages that I can
'ALLOW' the browser to cache the pages; I was able to do just
that with modperl by sending out this HTTP Header from within
the perl scripts:
print "Cache-Control: max-a
38 matches
Mail list logo