Search the web
Sign In
New User? Sign Up
apache-asp · Apache::ASP
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Apache::ASP::Demo   Message List  
Reply | Forward Message #2200 of 2277 |
Re: Apache::ASP::Demo

John Evans wrote:
> Hello,
>
> I have just fixed Demo issue,there was also /tmp_demo
> path which had to be set to /tmp, but now i am getting
> this error
>
> Errors Output
> error compiling results.asp: Global symbol "$Response"
> requires explicit package name at
> /home/mis/public_html/results.asp line 202. ,
> /usr/local/lib/perl5/site_perl/5.8.8/Apache/ASP.pm
> line 1465
>
>
> Line 202 states
> 202: <td valign="bottom">'));
> $Response->Include('/home/mis/public_html/footer.asp',
> ); ; &Apache::ASP::WriteRef($main::Response, \('</td>
>
> I guess this eror contains more fix info ?
>

You might need to post more of the script, and/or more of the
compilation error (which shows the compiled script).

I am wondering what "package" your script thinks its in.
If you set GlobalPackage to be Apache::ASP, this is likely a
problem, I would suggest not setting GlobalPackage at all.

Finally, you might set "PerlSetVar Debug -2", and show output
from the Apache error_log.

Regards,

Josh


>
> --- Joshua Chamas <josh@...> wrote:
>
>> mynamak wrote:
>>> Hello,
>>>
>>> I have recently installed Apache ASP but when i am
>> opening my ASP pages
>>> i am getting this error
>>> Errors Output
>>>
>>> 1. Undefined subroutine
>> &Apache::ASP::Demo::request called
>>> at /home/mi/public_html/results.asp line
>>> 1. ,
>> /usr/local/lib/perl5/site_perl/5.8.8/Apache/ASP.pm
>> line 1521
>>>
>>> I guess something is wrong wither in .htaccess
>> eitehr in httpd.conf.
>>> Can you please advice ?
>> You likely have this setting "PerlSetVar
>> GlobalPackage Apache::ASP::Demo"
>> which causes the scripts to execute in the Demo
>> package.
>>
>> Then, my bet is that you are trying to execute
>> vbscript by referencing
>> "request", but Apache::ASP only support Perl
>> scripting, so $Request
>> is what you use here.
>>
>> For examples, please see:
>>
>> http://www.apache-asp.org/eg/index.html
>>
>> Regards,
>>
>> Josh
>>
>
>
>
>
>
________________________________________________________________________________\
____
> 8:00? 8:25? 8:40? Find a flick in no time
> with the Yahoo! Search movie showtime shortcut.
> http://tools.search.yahoo.com/shortcuts/#news
>


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@...
For additional commands, e-mail: asp-help@...




Mon Jul 9, 2007 3:18 am

josh@...
Send Email Send Email

Forward
Message #2200 of 2277 |
Expand Messages Author Sort by Date

Hello, I have recently installed Apache ASP but when i am opening my ASP pages i am getting this error Errors Output 1. Undefined subroutine...
mynamak
mynamak@...
Send Email
Jul 7, 2007
9:51 am

... You likely have this setting "PerlSetVar GlobalPackage Apache::ASP::Demo" which causes the scripts to execute in the Demo package. Then, my bet is that you...
Joshua Chamas
josh@...
Send Email
Jul 7, 2007
10:04 am

... You might need to post more of the script, and/or more of the compilation error (which shows the compiled script). I am wondering what "package" your...
Joshua Chamas
josh@...
Send Email
Jul 9, 2007
3:19 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help