You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by k0STEk <ko...@ustka.org> on 2008/09/22 22:09:01 UTC

newbie question

Hi!

I have problem running one site using Apache::ASP,

errors from apache log:
[Mon Sep 22 21:48:07 2008] [error] [asp] [9930] [debug] Bareword found 
where ope
rator expected at /var/www/gptgruppe/_proced.asp line 4, near ") <--> 
\tUrl" <--
 >
[Mon Sep 22 21:48:07 2008] [error] [asp] [9930] [debug] \t(Missing 
operator befo
re Url?) <-->
[Mon Sep 22 21:48:07 2008] [error] [asp] [9930] [debug] Bareword found 
where ope
rator expected at /var/www/gptgruppe/_proced.asp line 5, near ") <--> 
\tIf" <-->

[Mon Sep 22 21:48:07 2008] [error] [asp] [9930] [debug] \t(Missing 
operator befo
re If?) <-->
[Mon Sep 22 21:48:07 2008] [error] [asp] [9930] [debug] Bareword found 
where ope
rator expected at /var/www/gptgruppe/_proced.asp line 20, near "If" 
<-->   (Migh
t be a runaway multi-line '' string starting on line 6) <-->

the _proced.asp script consist of few functions:
like this:

<%

Function HrF (Link, Alt, Group)
        Url = Request.ServerVariables ("URL")
        If Url = "/" & Link  Or Url = "/gptgruppe/" & Link Then
        'If InStr(Url, Left(Link, 5)) <> 0 Then
                HrF = "<div class=Dmenu><span>" & Alt & "</span></div>"
        Else
                HrF = "<div class=Dmenu><a href=" & Link & ""
                if isNumeric(group) then HrF = HrF & " 
onclick=""doSwitchGroup(" & Group & ");"" "
                HrF = HrF & ">" & Alt & "</a></div>"
        End If
End Function


Is it possible to fix it.. ??

Best regards
k0stek

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


Re: newbie question

Posted by Warren Young <wa...@etr-usa.com>.
k0STEk wrote:
> Function HrF (Link, Alt, Group)

Would you be surprised to learn that your newbie question is answered in 
the FAQ?  http://apache-asp.org/faq.html#VBScript%20or%2007fa600d

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