You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Remi Fasol <re...@yahoo.com> on 2003/10/10 23:07:57 UTC

diff between 1.95 and current?

hello.

i am trying to update a system that has been running
perfectly under v1.95. most of my pages transfered
over fine, but so far, one of them doesn't.

there really isn't anything special about the problem
page, so i'm having a hard time figuring out how to
track down the bug.

i receive errors like the following:

 Can't use an undefined value as a HASH reference at
/usr/lib/perl5/site_perl/5.005/Apache/ASP/Server.pm
line 127. ,
/usr/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1514

the page only consists calls like this:

<a href="<%=$Server->URL('/')%>">

nothing else. and strangely, the page works when i
switch back to v1.95.

thanks again!
remi.

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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


Re: diff between 1.95 and current?

Posted by Josh Chamas <jo...@chamas.com>.
Remi Fasol wrote:
> hello.
> 
> i am trying to update a system that has been running
> perfectly under v1.95. most of my pages transfered
> over fine, but so far, one of them doesn't.
> 
> there really isn't anything special about the problem
> page, so i'm having a hard time figuring out how to
> track down the bug.
> 
> i receive errors like the following:
> 
>  Can't use an undefined value as a HASH reference at
> /usr/lib/perl5/site_perl/5.005/Apache/ASP/Server.pm
> line 127. ,
> /usr/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1514
>
 > the page only consists calls like this:
 >
 > <a href="<%=$Server->URL('/')%>">
 >

It looks like in the latest release that $Server->URL($url, {})
needs to be called, but this should not be the case and I will fix this
so that you can call it without params still.

Regards,

Josh
________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checker                 http://www.nodeworks.com


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