in reply to mod_perl & ajax
"Doesn't work" isn't enough information. What errors are you seeing?
Frank Wiles <frank@revsys.com>
www.revsys.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: mod_perl & ajax
by artemave (Beadle) on Apr 11, 2007 at 10:56 UTC | |
But the errors produced by Error.pm seem to be irrelevant. Ok, I'll post the workable code without Ajax and the same after putting some. Here we go: Now the one with Ajax: And the httpd.confL And here is the error message I get when I rum this: Can't locate Apache2/Request.pm in @INC (@INC contains: C:\Program Files\ActiveState Perl Dev Kit 6.0\lib\ C:\cygwin\home\artem\perl_projects\web c:/Perl/site/lib c:/Perl/lib . C:/Program Files/Apache Software Foundation/Apache2.2) at c:/Perl/site/lib/Error.pm line 38 Error::throw_Error_Simple('HASH(0xc5f508)') called at c:/Perl/site/lib/Error.pm line 297 Error::subs::run_clauses('HASH(0xc5f4b4)', 'Can\'t locate Apache2/Request.pm in @INC (@INC contains: C:\P...', 'undef', 'ARRAY(0xc99978)') called at c:/Perl/site/lib/Error.pm line 416 Error::subs::try('CODE(0x107b1b0)', 'HASH(0xc5f4b4)') called at C:\cygwin\home\artem\perl_projects\web/dir_browse/dir_browse.pm line 55 dir_browse::dir_browse::handler('dir_browse::dir_browse', 'Apache2::RequestRec=SCALAR(0x107b15c)') called at -e line 0 eval {...} called at -e line 0 I'm using the latest mod_perl2, ActiveState 5.8.8.819, WinXP SP2. Thanks a lot, Artem. | [reply] [d/l] [select] |
by randyk (Parson) on Apr 11, 2007 at 17:59 UTC | |
| [reply] |
by artemave (Beadle) on Apr 12, 2007 at 11:41 UTC | |
The problem now is that I can't install libapreq2. nmake says: In fact, there is such a header in C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include (which I included manually in libapreq2.mak). Don't know what to do. Artem. !!!!!!!!!!!!!!! THE ABOVE IS SOLVED !!! Just install libapreq2 from ppm... So easy. | [reply] [d/l] |
by Anonymous Monk on Jul 05, 2008 at 10:35 UTC | |
Hello</html> EOF return Apache2::Const::OK; } 1; result -- nothing will appear on web please give me solution... | [reply] |
by ides (Deacon) on Apr 11, 2007 at 16:06 UTC | |
Hmmm, it appears something in your code is trying to use Apache2::Request ( aka libapreq2 not to be confused with Apache2::RequestRec, etc. ). Give this a try, "use Apache2::Ajax;" in your code, but don't actually call any of it's methods, etc. See if you can just load it up without getting that error.
Frank Wiles <frank@revsys.com> | [reply] |