Apache::ASP error re: subroutines

2001-05-22 Thread Andrew Koebrick

Howdy,

I am attempting to move a few subroutines from my Apache::ASP pages into a central 
module, but get the error:

Undefined subroutine Apache::ASP::Demo::date_swap called at (eval 6) line 67. , 
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 1506 

Is there something funky in the Apache::ASP environment regarding how/where modules 
are handled?  The functions work when in the page, so I dont think there is an 
internal error there.  I am calling the module with a basic use ASK (ASK.pm is the 
module name).  The module has appropriate ownership/rights. 

I am especially curious why it is looking for dateswap under Apache::Demo::XXX

Any assistance appreciated.  This is my first module and so my error could be 
anywhere, as my ignorance is everywhere.

ASK

Andrew Koebrick
Web Coordinator/Librarian
MN-Planning (Office of Strategic and Long Range Planning)
658 Cedar St., Suite 300
St. Paul, MN 55155

651-296-4156 phone
651-296-3698 fax

www.mnplan.state.mn.us





Re: Apache::ASP error re: subroutines

2001-05-22 Thread Joshua Chamas

Andrew Koebrick wrote:
 
 Howdy,
 
 I am attempting to move a few subroutines from my Apache::ASP pages into a central 
module, but get the error:
 
 Undefined subroutine Apache::ASP::Demo::date_swap called at (eval 6) line 67. , 
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 1506

PerlSetVar GlobalPackage is set to Apache::ASP::Demo I bet, and you called
the sub date_swap() which was not defined there.

 
 Is there something funky in the Apache::ASP environment regarding how/where modules 
are handled?  The functions work when in the page, so I dont think there is an 
internal error there.  I am calling the module with a basic use ASK (ASK.pm is the 
module name).  The module has appropriate ownership/rights.
 

If you sub is in ASK.pm, then you can reference it like:

  ASK::date_swap()

or you could define the sub in the global.asa, which takes
on the package name from GlobalPackage, so the sub will be 
in the same package that all your scripts are compiled into.

 I am especially curious why it is looking for dateswap under Apache::Demo::XXX
 

This is the package that your ASP scripts  includes are compiled into.

Also there is a new mailing list for Apache::ASP at [EMAIL PROTECTED],
but I have been slow to update the docs at the ASP web site  README.

--Josh

_
Joshua Chamas   Chamas Enterprises Inc.
NodeWorks  free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com1-714-625-4051



Apache::ASP error

2001-04-18 Thread Rick Glunt

I have Apache::ASP setup and running.  The sample site works and very simple
asp pages I created work, however, I have a page that is generating the
following error in the Apache error log and will not display on my browser:

[error] Undefined subroutine
Apache::ASP::Compiles::_usr_local_apache_htdocs_www_aspdomain___global_asa:
:Form called at (eval 24) line 1. -- ,
/usr/local/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1506.

How can I track down what is causing the problem?

Thanks,

Rick




Re: Apache::ASP error

2001-04-18 Thread Joshua Chamas

Rick Glunt wrote:
 
 I have Apache::ASP setup and running.  The sample site works and very simple
 asp pages I created work, however, I have a page that is generating the
 following error in the Apache error log and will not display on my browser:
 
 [error] Undefined subroutine
 Apache::ASP::Compiles::_usr_local_apache_htdocs_www_aspdomain___global_asa:
 :Form called at (eval 24) line 1. -- ,
 /usr/local/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1506.
 

It looks like there is a function called Form that is being
called that does not exist. Make sure that you are trying to 
execute perl script only, Apache::ASP does not support VBScript.  
Also, if you would like more debug info, set PerlSetVar Debug 2, 
and you will see the script ASP is trying to compile in your browser.

--Josh

_
Joshua Chamas   Chamas Enterprises Inc.
NodeWorks  free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com1-714-625-4051



Apache::ASP [error] need AuthName

2001-01-21 Thread Pavel P. Zabortsev



Hello,
I'm using apache-1.3.12 at RedHat 7.0 
box.
Sometime I've installed Apache::ASP 2.07 and as 
result got strange error:

[Sun Jan 21 22:28:01 2001] [error] [client 
127.0.0.1] need AuthName: /index.shtml

There is some part from config:

Files"*.shtml$"SetHandler 
perl-scriptPerlHandler Apache::ASP
PerlSetVar Global 
/var/tmp
/Files
This error appear only when I try to fetch any 
*.shtml file.
Everything works fine, but I don't understand this 
strange error message...
Can anybody helps me?
Yours 
sincerely,PavelPavel 
P. 
Zabortsev 
e-mail: [EMAIL PROTECTED]Software 
engineer, Postmaster voice: 927-9523, 26-23 
(corp)CDO UPS 
Russia 
fax: 220-6542Moscow, 
Russia 
ICQ: 
133354




Re: Apache::ASP [error] need AuthName

2001-01-21 Thread Joshua Chamas


 "Pavel P. Zabortsev" wrote:
 
 Hello,
 I'm using apache-1.3.12 at RedHat 7.0 box.
 Sometime I've installed Apache::ASP 2.07 and as result got strange error:
 [Sun Jan 21 22:28:01 2001] [error] [client 127.0.0.1] need AuthName: /index.shtml
 

I'll have this bug fixed in Apache::ASP 2.09.  Till then, 
follow Andrew's advice.  -- Josh

_
Joshua Chamas   Chamas Enterprises Inc.
NodeWorks  free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com1-714-625-4051



Apache::ASP error

2000-09-27 Thread Phong Le Quoc

  I installed Apache::ASP. When test with a simple asp
page. I got an internal server error and the error_log
says:

[Wed Sep 27 02:11:07 2000] [error] Can't locate
Apache/ASP.pm in @INC (@INC contains: G:/Program
Files/Apache Group/Perl/5.6.0/lib/MSWin32-x86
G:/Program Files/Apache Group/Perl/5.6.0/lib
G:/Program Files/Apache
Group/Perl/site/5.6.0/lib/MSWin32-x86 G:/Program
Files/Apache Group/Perl/site/5.6.0/lib . /apache/
/apache/lib/perl) at (eval 4) line 3.

[Wed Sep 27 02:11:07 2000] [error] Undefined
subroutine Apache::ASP::handler called.


Thanks.

__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/



Re: Apache::ASP error

2000-09-27 Thread Rod Butcher

Souds like you need to include the library where ASP.pm is located in your
PATH.
Shold be something like
G:\Program Files\Apache Group\Perl\site\5.6.0\lib\Apache
Rod
- Original Message -
From: "Phong Le Quoc" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 27, 2000 7:52 PM
Subject: Apache::ASP error


   I installed Apache::ASP. When test with a simple asp
 page. I got an internal server error and the error_log
 says:

 [Wed Sep 27 02:11:07 2000] [error] Can't locate
 Apache/ASP.pm in @INC (@INC contains: G:/Program
 Files/Apache Group/Perl/5.6.0/lib/MSWin32-x86
 G:/Program Files/Apache Group/Perl/5.6.0/lib
 G:/Program Files/Apache
 Group/Perl/site/5.6.0/lib/MSWin32-x86 G:/Program
 Files/Apache Group/Perl/site/5.6.0/lib . /apache/
 /apache/lib/perl) at (eval 4) line 3.

 [Wed Sep 27 02:11:07 2000] [error] Undefined
 subroutine Apache::ASP::handler called.


 Thanks.

 __
 Do You Yahoo!?
 Send instant messages  get email alerts with Yahoo! Messenger.
 http://im.yahoo.com/






Apache::ASP Error

2000-07-23 Thread Hans Fuchs

Hello,

  I installed Apache::ASP. When test with a simple asp page. I got an
  internal server error and the error_log says:

  [Sun Jul 23 15:54:44 2000] [error] [asp] [14779] [error] Can't
  modify constant item in scalar assignment at (eval 11) line 66, at
  EOF -- , /usr/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1740

  What can I do?

Best,
   Hans

-- 
Gesendet an [EMAIL PROTECTED] am 23.07.2000 mit The Bat 1.42f
Homepage: http://www.enova.ch - EMail: [EMAIL PROTECTED]
Public Key: http://www.enova.ch/gucky/gucky.htm

"Funkybeats for ever!"

Anhang: none





Re: Apache::ASP Error

2000-07-23 Thread Dmitry Beransky

The error is in your simple asp page on line 66.  Most likely you forgot
to put '$' in front of a variable.

Dmitry

On Sun, 23 Jul 2000, Hans Fuchs wrote:

 Hello,
 
   I installed Apache::ASP. When test with a simple asp page. I got an
   internal server error and the error_log says:
 
   [Sun Jul 23 15:54:44 2000] [error] [asp] [14779] [error] Can't
   modify constant item in scalar assignment at (eval 11) line 66, at
   EOF -- , /usr/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1740