Fwd: Can't locate object method "TIEHANDLE"
Dear All, I enable mod_perl in apache2 for koha, Everything works fine, but there is one problem that is "barcode.pdf" generated by Home › Tools › Labels always corrupted. it works fine before enabling mod_perl. In koha-error log, there is a error that is [Tue Mar 10 16:53:40 2009] [error] [Tue Mar 10 16:53:40 2009] -e: Can't locate object method "TIEHANDLE" via package "Apache" at /usr/lib/perl5/site_perl/5.10.0/PDF/Reuse.pm line 297.\n please solve my problem.. Amandeep Kansal
[RELEASE CANDIDATE] mod_perl-1.31 RC6
Apologies, but RC5 was generated on a Mac and included bogus resource forks in the tarball, breaking MakeMaker on any non-mac platform. This RC is the exact same thing as RC5, without the resource forks. The mod_perl 1.31 release candidate 6 is ready. It can be downloaded here: http://www.apache.org/~gozer/mp1/mod_perl-1.31-rc6.tar.gz SHA1(mod_perl-1.31-rc6.tar.gz)= 1b917d51fd4b0030cd8d018a35d3d98cdfcca0a4 MD5(mod_perl-1.31-rc6.tar.gz)= db7b0bde837ba8b2ffef855218d9360f Please give it a spin in your favorite configuration and report any problems. Especially needed against Perl-5.10 and on Windows. The summary of what has changed since 1.30 are (from Changes): On Win32, mod_perl.h needs to include before the perl headers, at least when built with USE_ITHREADS [Steve Hay] Win32 needs PERL_SYS_INIT/PERL_SYS_TERM calls when built with USE_ITHREADS [sic--that's different to USE_THREADS]. In fact, they ought to be always called if they are defined [Steve Hay] Fix potential segfault when the environment contains NULL values [Mike Schilli] Fix static APACI build against newer apache-1.3.38+ [Gozer] Fixed modules/regex.t test 4 on Win32 [Steve Hay] Avoid possible segfault when PerlFreshRestart is On. [Michael Rendell ] Prevent segfault when running with perl >= 5.9.3 [Steve Hay] Fix shared libary extensions on Win32 to be .dll not .so [Nikolay Ananiev ] Patch to mod_perl.dsp to remove /D _WINSOCK2API_ on Win32 for perl >= 5.8.6 [Steve Hay] -- Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/ signature.asc Description: OpenPGP digital signature
set new environment variable
Hi, I want to set new environment variable with Apache. How can I do it ? For example I want to add the variable DEVICE=hello and I want to read with PHP program.. Idel
Re: Deployment strategies...
Perrin Harkins wrote: On Fri, Feb 27, 2009 at 3:06 PM, Mark Hedges wrote: What about PerlOptions +Parent? http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_ That's the thing I was referring to that I haven't tried. Can anyone confirm that this works? I can now. After a few days of internal testing, I deployed it onto our live servers yesterday. I've currently got two branches of the code-base running side-by-side fine. Carl
Re: set new environment variable
On 17:27 Fri 13 Mar 2009, Idel Fuschini wrote: >Hi, >I want to set new environment variable with Apache. How can I do it ? >For example I want to add the variable DEVICE=hello and I want to read >with PHP program.. > >Idel Are you using mod_perl to handle it? If so, please explain how you are shifting handlers or how exactly you are running it; otherwise, it's off-topic. D.
[ANNOUNCE] libapreq2-2.12 Released
libapreq2-2.12 Released The Apache Software Foundation and The Apache HTTP Server Project are pleased to announce the 2.12 release of libapreq2. This Announcement notes significant changes introduced by this release. libapreq2-2.12 is released under the Apache License version 2.0. It is now available through the ASF mirrors http://httpd.apache.org/apreq/download.cgi and has entered the CPAN as file: $CPAN/authors/id/J/JO/JOESUF/libapreq2-2.12.tar.gz size: 859412 bytes md5: 76e2acde0d82246dea6f2565f3746eec libapreq2 is an APR-based shared library used for parsing HTTP cookies, query-strings and POST data. This package provides 1) version 2.7.1 of the libapreq2 library, 2) mod_apreq2, a filter module necessary for using libapreq2 within the Apache HTTP Server, 3) the Apache2::Request, Apache2::Cookie, and Apache2::Upload perl modules for using libapreq2 with mod_perl2. Changes with libapreq2-2.12 (released March 13, 2009) - C API [joes] Make the cookie parser a little more flexible. - Interactive CGI module [issac] Allow cgi module to interactively prompt for parameters and cookies when running a script from the command line and not from a CGI interface - Perl Glue [joes] Fix the linking of the perl modules to libapreq2 and libapr on Solaris. - Perl Glue [joes] Fix install-time linking issue of the .so modules. Previously they would remain linked against the src library path, not the install path. - C API [joes] Add optional interface for apreq_handle_apache2(). - C API [joes] Clean up buggy apreq_hook_find_param(). - Perl Glue Build [Philip M. Gollucci] config.status format changed format yet again in autoconf 2.62+. - License [Mladen Turk] Add libapreq.rc and generate libapreq.res - Build [Mladen Turk] Add APREQ_DECLARE_EXPORT/APREQ_DECLARE_STATIC in the same way as APR declares so that dllexport/dllimport get correctly handled. - Build [Randy Kobes] Add appropriate manifest command to embed manifest files on Win32 when using VC8 - C API [Andy Grundman, joes] Add missing bytes_read initializer to apreq_handle_custom(). - C API [suggested by Vinay Y S, tested by Steve Hay and Peter Walsham] For Win32, remove the flag |= APR_FILE_NOCLEANUP | APR_SHARELOCK; in apreq_file_cleanup, to avoid problems with file uploads. - C API [joes] Fix leak associated to calling apreq_brigade_fwrite() on an upload brigade. - Build [Philip M. Gollucci] SunOS (Solaris) Users must use gmake not make for building. - Build [Philip M. Gollucci] SunOS (Solaris) Code around bug in libtool (at least in 1.5.18, 1.5.20, 1.5.22) causing mod_apreq2 to be built instead of mod_apreq2.so - C API [Philip M. Gollucci] Fix comparison signed vs unsigned comparison in apreq_fwritev() on SunOS/gcc where iovec.iov_len is a long. - Build [Philip M. Gollucci] SunOS (Solaris) fix duplicate link error to libexpat.so -- by using the one from httpd exclusively now. - Build [Philip M. Gollucci] code around |#_!!_#| autoconf 2.60 bug.