|
|
Choosing A Webhost: |
Re: Help: Can't coerce GLOB to string...: msg#00456apache.mod-perl
On Wed, 26 Feb 2003, Stas Bekman wrote: > > use threads; > > use threads::shared; > > why do you need to load threads? Do you plan to spawn your own threads? No, they're not supposed to be there. > > ### TRANSFORM > > my $results; > > eval { > > $results = $stylesheet->transform($document); ### <--- ERROR HERE > > It's expecting a scalar as an argument, right? could it be that $document is > not a scalar? try to print ref($document)? It's expecting an XML::LibXML::Document which is a blessed scalar, yes. And that's what it gets. I've also done some further tests now and all objects ($document, $stylesheet, etc) are identical for ok'ed and failed requests. Also, I've found that not all threads fail on the first request (but most do) and, older requests may fail as well... I've also tried adding the following to httpd.conf: PerlInterpMaxRequests 10 PerlInterpStart 1 PerlInterpMax 1 This would limit the number of threads to 1, right? Well, it doesn't. Multiple threads are still being created. I'll post this to the dev list. There isn't a bugzilla or something for the mp2, is there? thanks, -Kurt. __________ kurt george gjerde <kurt.gjerde@xxxxxxxxxxxxxxxxx> intermedia uib, university of bergen Will work for money.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | mod perl && libapreq make test problem, Lamotte Denis |
|---|---|
| Next by Date: | Browser doesn't stop loading a page, Martin Moss |
| Previous by Thread: | Re: Help: Can't coerce GLOB to string..., Stas Bekman |
| Next by Thread: | Browser doesn't stop loading a page, Martin Moss |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |