Loading ...
Sorry, an error occurred while loading the content.

newbie question

Expand Messages
  • k0STEk
    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
    Message 1 of 2 , Sep 22, 2008
    View Source
    • 0 Attachment
      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@...
      For additional commands, e-mail: asp-help@...
    • Warren Young
      ... 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
      Message 2 of 2 , Sep 22, 2008
      View Source
      • 0 Attachment
        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@...
        For additional commands, e-mail: asp-help@...
      Your message has been successfully submitted and would be delivered to recipients shortly.