Ok, I seem to have managed to install and set up the calendarscript after 2 months of headbanging!
I thought it may be helpful to someone else and save them a lot of trouble, if I expained how I did it.
I am uploading from a Windows PC to a remote Apache server,
First off I tried the install.bat method
I found that calendar.pl & calendar_admin.pl only returned a white "file not found" screen unless I modified the path to perl to "!# user/bin/perl -w" the "-w" apparently is simply to tell the server to report errors, search me but, it wouldn't work without it! I do believe some other Apache users have also encountered this anomaly.
After that my next problem was that events were not appearing in the calendar or the list for approval, although they were listed in the event files.
Debug returned a huge list of files "Not transferred in ASCII" No matter what I did, and whatever ftp program I tried I got the same result. I even tried uploading every file indiviually whist setting the default ftp to ASCII and resetting it before each transfer. STILL NO LUCK! I tried AceFTP, CuteFTP, WSFTP, FileZilla you name it!
Next I tried downloading the tar.gz version. I learned about tar files and gzip....in the end I found a program called 7-ZIP that untarred and unzipped the files in a jiffy.
still the same event and FTP problems and debug.pl was the same.
I looked at the untarred files on my PC in notepad and immediatly recognized that there were no line breaks and that the code looked slightly different from the files in the 321.zip download.
Working on a hunch that somehow in the ftp process these files were getting corrupted or the ftp was not really transferring in ASCII despite my efforts, I resorted to the command prompt.
First, I used my ftp program and uploaded the whole application to the cgi-bin on the apache sever, then I deleted all the files in Calendarscript so that I was left simply with the emplty directory structure.
I went to the command prompt and used the "cd" command to get to the local files on my PC and then used the ftp command and logged into my server. I then "cd'd" to the calendarscript directory. Taking one folder at a time I first used the command "ascii" and then "mput * folder.name" I then had approve every individual transfer. It took a long time and I had to log out and back in a number of times, but eventually I had refilled all the directories with the correct files.
Then I went through and reset the file permissions as stated in the setup instructions.
I tried to view calendar.pl and once again, "file not found"! but then I remembered the "!#user/bin/perl -w" anomaly and made the change and.......hey presto!
can you believe it, it works!
I know, it doesn't make sense but that how I did it!
This is a really cool app, but the set up problems appear to differ greatly across different platforms, and there are a bunch of queries in the "Getting Started" thread that address similar issues to the ones I faced.
It would be useful if someone took the time to compile a list of the "quirks" that have been discovered with differrent OS and servers (there are many scatterred across this forum) so that the "blind or stupid" LIKE ME do not have to suffer...quite as much!
Now I have it working, I just need to persuade my bosses to cough up the $50 to pay for my 2 months of headbanging!
The moral of this story?....DON'T GIVE UP!
I hope this saga will be a help or " a warning" to someone!
------------------
[This message has been edited by mc_sassenach (edited August 05, 2005).]