I am clueless about PERL so any help would be much appreciated!! The calendar was moved to another machine, NT server, with a newer version of PERL (5.6.1). When trying to access the calendar, I receive the message below. I cannot provide a link because it's on a LAN.
I have:
1. Re-FTPed in ASCII mode
2. Check the permissions
3. Looked online for help.
Thanks for your help!!
John L.
Backslash found where operator expected at (eval 1) line 2, near "LAST\" Backslash found where operator expected at (eval 1) line 2, near "YEAR\" Backslash found where operator expected at (eval 1) line 2, near "LINK\" Backslash found where operator expected at (eval 1) line 2, near "NEXT\" Backslash found where operator expected at (eval 1) line 2, near "YEAR\" Backslash found where operator expected at (eval 1) line 2, near "LAST\" Backslash found where operator expected at (eval 1) line 2, near "WEEK\" Backslash found where operator expected at (eval 1) line 2, near "LINK\" Backslash found where operator expected at (eval 1) line 2, near "NEXT\" Backslash found where operator expected at (eval 1) line 2, near "WEEK\" Backslash found where operator expected at (eval 1) line 2, near "LINK\" Backslash found where operator expected at (eval 1) line 2, near "PREVIOUS\" Backslash found where operator expected at (eval 1) line 2, near "DAY\" Backslash found where operator expected at (eval 1) line 2, near "LINK\" Backslash found where operator expected at (eval 1) line 2, near "NEXT\" Backslash found where operator expected at (eval 1) line 2, near "DAY\" Backslash found where operator expected at (eval 1) line 2, near "LINK\" Backslash found where operator expected at (eval 1) line 2, near "$CGI_URL_QUERYSTRING\" (Missing operator before \?) Backslash found where operator expected at (eval 1) line 2, near "$CGI_URL_QUERYSTRING\" (Missing operator before \?) Backslash found where operator expected at (eval 1) line 2, near "$CGI_URL_QUERYSTRING\" (Missing operator before \?) Backslash found where operator expected at (eval 1) line 2, near "$CGI_URL_QUERYSTRING\" (Missing operator before \?) ERROR PROCESSING TEMPLATE
There was an error in your template file. Below is the template file and also the perl code generated from it to help you with debugging.
syntax error at (eval 1) line 2, near "LAST\" syntax error at (eval 1) line 2, near "NEXT\" syntax error at (eval 1) line 2, near "LAST\" syntax error at (eval 1) line 2, near "NEXT\" syntax error at (eval 1) line 2, near "PREVIOUS\" syntax error at (eval 1) line 2, near "NEXT\" syntax error at (eval 1) line 2, near "$CGI_URL_QUERYSTRING\" syntax error at (eval 1) line 2, near "$CGI_URL_QUERYSTRING\" syntax error at (eval 1) line 2, near "$CGI_URL_QUERYSTRING\" syntax error at (eval 1) line 2, near "$CGI_URL_QUERYSTRING\" (eval 1) has too many errors.
--------------------------------------------------------------------------------
vti_encoding:SR|utf8-nl
vti_timecreated:TR|27 Nov 2001 23:30:40 -0000
vti_timelastmodified:TR|29 Mar 2002 14:55:10 -0500
vti_filesize:IR|16995
vti_extenderversion:SR|4.0.2.4022
vti_backlinkinfo:VX|
vti_author:SR|BLEE4
vti_metatags:VR|HTTP-EQUIV=expires now HTTP-EQUIV=Pragma no-cache
vti_nexttolasttimemodified:TR|29 Mar 2002 18:53:47 -0000
vti_title:SR|Calendar
vti_cacheddtm:TX|29 Mar 2002 18:55:10 -0000
vti_cachedlinkinfo:VX|H|<%\\ LAST\\ YEAR\\ LINK\\ %> H|<%=$CGI_URL_QUERYSTRING%>month=<%=($monthnum+1)%> H|<%\\ NEXT\\ YEAR\\ LINK%> H|<%\\ LAST\\ WEEK\\ LINK\\ %> H|<%\\ NEXT\\ WEEK\\ LINK\\ %> H|<%\\ PREVIOUS\\ DAY\\ LINK\\ %> H|<%\\ NEXT\\ DAY\\ LINK\\ %> H|<%=\\ $CGI_URL_QUERYSTRING\\ %>style=Grid H|<%=\\ $CGI_URL_QUERYSTRING\\ %>style=List H|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Day&datestring=<%=$TODAY_DATESTRING%>&selected_datestring=<%=$TODAY_DATESTRING%> H|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Week H|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Two-Week H|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Three-Week H|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Four-Week H|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Month H|http://iceberg.cc.telcordia.com/switch/calendar.htm H|<%=$ADMIN_CGI_URL%> H|<%=$ADMIN_CGI_URL%> H|<%=$ADMIN_CGI_URL%> H|<%=\\ $CGI_URL_QUERYSTRING\\ %>command=logout H|<%=\\ $CGI_URL_QUERYSTRING\\ %>template=login.html H|<%=$CGI_URL_QUERYSTRING%>selected_datestring=<%=$DAY->{'datestring'}%>&datestring=<%=$DAY->{'datestring'}%>&view=Day H|<%=$CGI_URL_QUERYSTRING%>view=Event&event_id=<%=\\ EVENT\\ FIELD(id)\\ %> H|<%=$CGI_URL_QUERYSTRING%>selected_datestring=<%=$DAY->{'datestring'}%>&datestring=<%=$DAY->{'datestring'}%>&view=Day H|<%=$CGI_URL_QUERYSTRING%>view=Event&event_id=<%=\\ EVENT\\ FIELD(id)\\ %> H|<%=$CGI_URL_QUERYSTRING%>view=Event&event_id=<%=\\ EVENT\\ FIELD(id)\\ %> H|<%=$CGI_URL_QUERYSTRING%>view=Event&event_id=<%=\\ EVENT\\ FIELD(id)\\ %> A|<%=\\ $CGI_URL\\ %>
vti_cachedsvcrellinks:VX|UHUS|<%\\ LAST\\ YEAR\\ LINK\\ %> UHUS|<%=$CGI_URL_QUERYSTRING%>month=<%=($monthnum+1)%> UHUS|<%\\ NEXT\\ YEAR\\ LINK%> UHUS|<%\\ LAST\\ WEEK\\ LINK\\ %> UHUS|<%\\ NEXT\\ WEEK\\ LINK\\ %> UHUS|<%\\ PREVIOUS\\ DAY\\ LINK\\ %> UHUS|<%\\ NEXT\\ DAY\\ LINK\\ %> UHUS|<%=\\ $CGI_URL_QUERYSTRING\\ %>style=Grid UHUS|<%=\\ $CGI_URL_QUERYSTRING\\ %>style=List UHUS|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Day&datestring=<%=$TODAY_DATESTRING%>&selected_datestring=<%=$TODAY_DATESTRING%> UHUS|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Week UHUS|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Two-Week UHUS|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Three-Week UHUS|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Four-Week UHUS|<%=\\ $CGI_URL_QUERYSTRING\\ %>view=Month NHHS|http://iceberg.cc.telcordia.com/switch/calendar.htm UHUS|<%=$ADMIN_CGI_URL%> UHUS|<%=$ADMIN_CGI_URL%> UHUS|<%=$ADMIN_CGI_URL%> UHUS|<%=\\ $CGI_URL_QUERYSTRING\\ %>command=logout UHUS|<%=\\ $CGI_URL_QUERYSTRING\\ %>template=login.html UHUS|<%=$CGI_URL_QUERYSTRING%>selected_datestring=<%=$DAY->{'datestring'}%>&datestring=<%=$DAY->{'datestring'}%>&view=Day UHUS|<%=$CGI_URL_QUERYSTRING%>view=Event&event_id=<%=\\ EVENT\\ FIELD(id)\\ %> UHUS|<%=$CGI_URL_QUERYSTRING%>selected_datestring=<%=$DAY->{'datestring'}%>&datestring=<%=$DAY->{'datestring'}%>&view=Day UHUS|<%=$CGI_URL_QUERYSTRING%>view=Event&event_id=<%=\\ EVENT\\ FIELD(id)\\ %> UHUS|<%=$CGI_URL_QUERYSTRING%>view=Event&event_id=<%=\\ EVENT\\ FIELD(id)\\ %> UHUS|<%=$CGI_URL_QUERYSTRING%>view=Event&event_id=<%=\\ EVENT\\ FIELD(id)\\ %> UAUS|<%=\\ $CGI_URL\\ %>
vti_cachedtitle:SR|Calendar
vti_cachedbodystyle:SR|<BODY BGCOLOR="<%=$_BGCOLOR%>" LINK="<%=$_LINK%>" ALINK="<%=$_ALINK%>" VLINK="<%=$_VLINK%>" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
--------------------------------------------------------------------------------
package Template;
print "vti_encoding:SR|utf8-nl\nvti_timecreated:TR|27 Nov 2001 23:30:40 -0000\nvti_timelastmodified:TR|29 Mar 2002 14:55:10 -0500\nvti_filesize:IR|16995\nvti_extenderversion:SR|4.0.2.4022\nvti_backlinkinfo:VX|\nvti_author:SR|BLEE4\nvti_metatags:VR|HTTP-EQUIV=expires now HTTP-EQUIV=Pragma no-cache\nvti_nexttolasttimemodified:TR|29 Mar 2002 18:53:47 -0000\nvti_title:SR|Calendar\nvti_cacheddtm:TX|29 Mar 2002 18:55:10 -0000\nvti_cachedlinkinfo:VX|H|";\\ LAST\\ YEAR\\ LINK\\ print " H|";print $CGI_URL_QUERYSTRING;print "month=";print ($monthnum+1); print " H|";\\ NEXT\\ YEAR\\ LINK print " H|";\\ LAST\\ WEEK\\ LINK\\ print " H|";\\ NEXT\\ WEEK\\ LINK\\ print " H|";\\ PREVIOUS\\ DAY\\ LINK\\ print " H|";\\ NEXT\\ DAY\\ LINK\\ print " H|";print \\ $CGI_URL_QUERYSTRING\\;print "style=Grid H|";print \\ $CGI_URL_QUERYSTRING\\;print "style=List H|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Day&datestring=";print $TODAY_DATESTRING;print "&selected_datestring=";print $TODAY_DATESTRING; print " H|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Week H|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Two-Week H|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Three-Week H|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Four-Week H|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Month H|http://iceberg.cc.telcordia.com/switch/calendar.htm H|";print $ADMIN_CGI_URL; print " H|";print $ADMIN_CGI_URL; print " H|";print $ADMIN_CGI_URL; print " H|";print \\ $CGI_URL_QUERYSTRING\\;print "command=logout H|";print \\ $CGI_URL_QUERYSTRING\\;print "template=login.html H|";print $CGI_URL_QUERYSTRING;print "selected_datestring=";print $DAY->{'datestring'};print "&datestring=";print $DAY->{'datestring'};print "&view=Day H|";print $CGI_URL_QUERYSTRING;print "view=Event&event_id=";print \\ EVENT\\ FIELD(id)\\; print " H|";print $CGI_URL_QUERYSTRING;print "selected_datestring=";print $DAY->{'datestring'};print "&datestring=";print $DAY->{'datestring'};print "&view=Day H|";print $CGI_URL_QUERYSTRING;print "view=Event&event_id=";print \\ EVENT\\ FIELD(id)\\; print " H|";print $CGI_URL_QUERYSTRING;print "view=Event&event_id=";print \\ EVENT\\ FIELD(id)\\; print " H|";print $CGI_URL_QUERYSTRING;print "view=Event&event_id=";print \\ EVENT\\ FIELD(id)\\; print " A|";print \\ $CGI_URL\\;
print "\nvti_cachedsvcrellinks:VX|UHUS|";\\ LAST\\ YEAR\\ LINK\\ print " UHUS|";print $CGI_URL_QUERYSTRING;print "month=";print ($monthnum+1); print " UHUS|";\\ NEXT\\ YEAR\\ LINK print " UHUS|";\\ LAST\\ WEEK\\ LINK\\ print " UHUS|";\\ NEXT\\ WEEK\\ LINK\\ print " UHUS|";\\ PREVIOUS\\ DAY\\ LINK\\ print " UHUS|";\\ NEXT\\ DAY\\ LINK\\ print " UHUS|";print \\ $CGI_URL_QUERYSTRING\\;print "style=Grid UHUS|";print \\ $CGI_URL_QUERYSTRING\\;print "style=List UHUS|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Day&datestring=";print $TODAY_DATESTRING;print "&selected_datestring=";print $TODAY_DATESTRING; print " UHUS|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Week UHUS|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Two-Week UHUS|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Three-Week UHUS|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Four-Week UHUS|";print \\ $CGI_URL_QUERYSTRING\\;print "view=Month NHHS|http://iceberg.cc.telcordia.com/switch/calendar.htm UHUS|";print $ADMIN_CGI_URL; print " UHUS|";print $ADMIN_CGI_URL; print " UHUS|";print $ADMIN_CGI_URL; print " UHUS|";print \\ $CGI_URL_QUERYSTRING\\;print "command=logout UHUS|";print \\ $CGI_URL_QUERYSTRING\\;print "template=login.html UHUS|";print $CGI_URL_QUERYSTRING;print "selected_datestring=";print $DAY->{'datestring'};print "&datestring=";print $DAY->{'datestring'};print "&view=Day UHUS|";print $CGI_URL_QUERYSTRING;print "view=Event&event_id=";print \\ EVENT\\ FIELD(id)\\; print " UHUS|";print $CGI_URL_QUERYSTRING;print "selected_datestring=";print $DAY->{'datestring'};print "&datestring=";print $DAY->{'datestring'};print "&view=Day UHUS|";print $CGI_URL_QUERYSTRING;print "view=Event&event_id=";print \\ EVENT\\ FIELD(id)\\; print " UHUS|";print $CGI_URL_QUERYSTRING;print "view=Event&event_id=";print \\ EVENT\\ FIELD(id)\\; print " UHUS|";print $CGI_URL_QUERYSTRING;print "view=Event&event_id=";print \\ EVENT\\ FIELD(id)\\; print " UAUS|";print \\ $CGI_URL\\;
print "\nvti_cachedtitle:SR|Calendar\nvti_cachedbodystyle:SR|<BODY BGCOLOR=\"";print $_BGCOLOR;print "\" LINK=\"";print $_LINK;print "\" ALINK=\"";print $_ALINK;print "\" VLINK=\"";print $_VLINK;print "\" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>\nvti_cachedhasbots:BR|false\nvti_cachedhastheme:BR|false\nvti_cachedhasborder:BR|false";package main;