When I execute debug.pl I get a whole list of:"The File does not exist". Pretty much the whole calendarscript tree. The "file/Dir" syntax listing looks correct.i.e. /cgi-bin/calendarscript/yada-yada-yada.ext
I've tried making the $BASE_DIR an absolute i.e.$BASE_DIR = www.PowellButteCommunityCenter.com/cgi-bin/calendarscript;
And still the issue exists. The Host Server Support team says they support Perl 5 version 8 something.
Any more suggestions on what I can do?
-Dennis
quote:I've tried making the $BASE_DIR an absolute i.e.$BASE_DIR = ht tp://www.PowellButteCommunityCenter.com/cgi-bin/calendarscript
quote:# Be sure to remove the # before $BASE_DIR, and change the path between the quotes
If you don't know what the absolute path to your script files on the server is, check your host's CGI FAQs or ask their support.
JMO
Dan O.
------------------
Clearly there is a fundamental issue with the PATH variables! Something is really amiss between what standard rules Host Providers operate under and what stardard perl scripts should expect to operate under. The Host Provider is "Net Solutions" and I see other entry's to this same vendor, same problem - with no apparent resolution in this site's blogs. I also see other Host providers listed with simular issues. I checked Network Solutions Technical support page for CGI FAQs and nano-nano.
I have absolutely no clue what's next. The folks at Net Solutions are looking into this and hopefully if they've dealt with this issue before, a fix may be forth-coming. This has certainly pop the balloon on this project. I think it's a great Application, when things are setup and working. It's late, I'm tired and I'm starting to rant!Certainly any further info would be greatly appreciated.-Dennis
That is quite possible, it depends on how the server is set up. That information should be covered in the specific host's CGI FAQ's.
That is the main reason for the $BASE_DIR variable, so you can point the script files (which could be in the cgi-bin directory) to the data files which may be elsewhere on the server.
JFYI
You must have installed the script on one server and then moved those files to a different server where it will actually be used. The script should be installed and run for the first time on the server it is going to be used on as some variable are set the first time it is run.
** I found it in config.txt **
Yes. If you're moving the script files from one server to another, some variable valves will likely have to be manually altered as discussed in the previous forum message, "Saved, Moved & Restored".
** The script should be installed and run for the first time on the server it is going to be used on as some variable are set the first time it is run.**
What scripts are available in the .tar.gz distribution for installing on a Unix plateform. All I saw was a DOS .bat file.
It shouldn't need to be "installed", just unzipped on the server once uploaded (in binary form BTW). Any manual changes necessary would have to be performed after that.
I myself however, usually just extract the files locally (either .zip or .tar.gz) and then FTP those files in ascii mode to the server, preserving their directory structure. Once there i chmod the three .pl files if necessary (it often isn't).