Re: bad free() error

2004-12-05 Thread Stas Bekman
[Marc, please don't forget to Reply-All, so the list is CC'ed]
Marc Lambrichs wrote:
I'm not sure it should be on the mp-list either. AFAIK, XML::LibXSLT and 
  XML::LibXML are involved and I can't copy the same behaviour using a 
cmdl app. I'm using mp1 on FreeBSD 4.10. If it's not mp related, my 
apologies, but, then again, could someone tell me that it's not? 
And...possibly, why?
OK, in which case you need to say that an equivalent command line 
application works fine.

Normally that means that Apache (not mod_perl) loads some kind of XML 
library which your perl code has a conflict with. For example:
http://perl.apache.org/docs/1.0/guide/troubleshooting.html#Segfaults_when_using_XML__Parser

Also try to search the archives [1] and google for the error you have.
[1] http://perl.apache.org/maillist/modperl.html#Searchable_Archives
--
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


I'm lost, how do I get POST data in MP2?

2004-12-05 Thread Cristóvão Dalla Costa




Hello

I must be missing something because I looked all over the docs and
couldn't find a method to retrieve POST form data.

I also tried CGI.pm and param(), but using that gives the following
error:
Can't locate object method "read" via package
"Apache::RequestRec" at (eval 16) line 5.\n, referer:
http://localhost:8000/_admin/page/1

Please help, otherwise I'll have to waste a whole day installing Apache
1 and adjusting our other applications to work with apache 1.

Versions: mod_perl2 1.99r17 (FreeBSD port)
apache 2.0.52
CGI.pm 3.0.5

Thanks in advance,

Cristóvão Dalla Costa




Re: I'm lost, how do I get POST data in MP2?

2004-12-05 Thread Stas Bekman
Cristóvão Dalla Costa wrote:
Hello
I must be missing something because I looked all over the docs and 
couldn't find a method to retrieve POST form data.

I also tried CGI.pm and param(), but using that gives the following error:
   Can't locate object method "read" via package "Apache::RequestRec"
   at (eval 16) line 5.\n, referer: http://localhost:8000/_admin/page/1
Please help, otherwise I'll have to waste a whole day installing Apache 
1 and adjusting our other applications to work with apache 1.

Versions: mod_perl2 1.99r17 (FreeBSD port)
apache 2.0.52
CGI.pm 3.0.5
You don't show the code that you have the problem with. Take a look at the 
tests:

t/response/TestModules/cgi2.pm
t/response/TestModules/cgi.pm
t/response/TestModules/cgipost2.pm
t/response/TestModules/cgipost.pm
t/response/TestModules/cgiupload2.pm
t/response/TestModules/cgiupload.pm
in the mp2 distribution, to see how to get POSTed data.
--
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re[2]: [mp2] Can't change AuthName

2004-12-05 Thread Maxim Nechaev
GY>   $ t/TEST t/api/access.t -v

This gives:
.

# testing : auth_name
# expected: modperl
# received: modperl
ok 6
# testing : auth_name
# expected: modperl_test
# received: modperl_test
ok 7

.

In my code i can change "auth_name()" from Response handler easy, but
can't do this from Authen handler.
Is this error? Need bug report?


Maxim Nechaev


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



OpenInteract 2.0 beta 5 released

2004-12-05 Thread Chris Winters
OpenInteract 1.99_05 (2.0 beta 5) has been released to CPAN. This
release has a number of feature enhancements and bugfixes, including:

 * Full support for observable actions. Previous versions used them
for filtering content only; this version allows you to step in before
or after common actions and use the actionable object to do
interesting work (like post it as a use.perl journal -- see CPAN
soon).

 * Better support for action types which allow you to create
components requiring only configuration to be useful. See
OpenInteract2::Action::RSS just uploaded to CPAN as an example.

 * Overhauled full-text indexing framework, allowing for new search
engines. (A full_text_plucene package is a distinct possibility.)

 * Tons and tons of smaller enhancements focusing on streamlined
development, simpler objects, flexibility and consistency. Many of
them are in JIRA:

 http://jira.openinteract.org/secure/IssueNavigator.jspa?pid=10010&fixfor=10002

Chris

-- 
Chris Winters ([EMAIL PROTECTED])
Building enterprise-capable snack solutions since 1988.

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html