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

2283Re: Error

Expand Messages
  • Fagyal Csongor
    Apr 27, 2010
    • 0 Attachment



      I have migrated our telephone service from Windows to Linux.
      When I open our page the error occure:
      "error compiling Pr_alf_b.asp: maybe use strict error: Bareword found where operator expected at /srv/www/htdocs/Inetpub/Telefony/Pr_alf_b.asp line 5, near ") <---> fileName" <---> , /usr/lib/perl5/site_perl/5.10.0/Apache/ASP.pm line 1466"

      Pr_alf_b.asp file:
        OK  = false
        Server.MapPath (".")
        fileName = Server.MapPath(".") & "/Alf_All.txt"
        set fileSys = Server.CreateObject("Scripting.FileSystemObject")
        set schFile = fileSys.OpenTextFile(fileName)

      This gets asked periodically on this list.

      Apache::ASP is a (mod_)perl based system. What you have is MS ASP. They are not "compatible".

      - Fagzal
    • Show all 3 messages in this topic