Hi
I've successfully installed this on a Linux server before - no problems.
However, this is my first time (for this version) on a windows server.
It's a Windows NT4 SP6a server, runing activestate perl. It's been running Perl scripts for about three years - never seem to have had any problems with it (unusual I know!).
I'm upgrade a previous version of Calendar Script to the latest, following the usual instructions, but when I try to run calendar.pl the following error is returned: -
Can't locate TimeLocal.inc in @INC (@INC contains: d:\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib D:/Perl/lib D:/Perl/site/lib .) at d:\Inetpub\wwwroot\cgi-bin\calendar\calendar.pl line 32.
BEGIN failed--compilation aborted at d:\Inetpub\wwwroot\cgi-bin\calendar\calendar.pl line 41.
Naturally my next step is the fire the depug.pl up: -
The file does not exist d:\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars.txt
Many more lines of this, but you can see that that path is skewed as though the script is getting into a mess with it's slashes/backslashes.
If I un-comment the BASE_DIR line and add the 'real' server path (d:\inetput\wwwroot\cgi-bin\calendar\calendarscript\) the following error is returned: -
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Bareword found where operator expected at d:\Inetpub\wwwroot\cgi-bin\calendar\debug.pl line 17, near "print "Set"
(Do you need to predeclare print?)
Bareword found where operator expected at d:\Inetpub\wwwroot\cgi-bin\calendar\debug.pl line 19, near "print "Content-type: text/html"
(Might be a runaway multi-line // string starting on line 17)
(Do you need to predeclare print?)
Backslash found where operator expected at d:\Inetpub\wwwroot\cgi-bin\calendar\debug.pl line 19, near "html\"
Backslash found where operator expected at d:\Inetpub\wwwroot\cgi-bin\calendar\debug.pl line 19, near "n\"
String found where operator expected at d:\Inetpub\wwwroot\cgi-bin\calendar\debug.pl line 20, near "print ""
(Might be a runaway multi-line "" string starting on line 19)
(Missing semicolon on previous
Help!
------------------