 |
| View previous topic :: View next topic |
| Author |
Message |
cglase
Joined: 14 Feb 2006 Posts: 3
|
Posted: Tue Feb 14, 2006 Post subject: How irritating is it to have to train newbees! |
|
|
But...this calendar is exactly what I've been looking for. I am a web developer, however not familiar with Perl implementations in an IIS environment. For the life of me I can not get the plans.cgi to execute or even come up. I'm pretty sure it's because I have to modify the first line of the plans.cgi script. I did not put the perl executable in the /usr/bin/perl location. I've looked at this script (using notepad) and can not figure out how or where to modify it? I've memorized the help documentation, but just can't get past this step. Is there a "Plans implementation for Dummies" posted anywhere? I have ASP, Dreamweaver, HTML, CSS, and a very little IIS experience, but continue to have difficulties with what I'm sure should be a very quick and easy implementation. Any help that anyone can provide would be greatly appreciated. IIS 6.0, IE 6.0
Thanks,
Chris |
|
| Back to top |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1482
|
Posted: Wed Feb 15, 2006 Post subject: |
|
|
> I'm pretty sure it's because I have to modify the first line of the plans.cgi
> script. I did not put the perl executable in the /usr/bin/perl location.
An understandable mistake, but that's not the reason In windows, there is no "/usr/bin". The first line of the script is also ignored on windows. It only has meaning to a unix shell, and only if the script itself is invoked. On unix, the first line is also ignored if the script name is passed to another executable explicitly, like by typing:
/usr/perl plans.cgi
(That doesn't answer your question, it's just background information).
A common problem is for IIS to not be mapping the .cgi extension to the perl interpreter. These mappings are usually created when ActivePerl is installed, but not always. Some solutions for that are described here:
http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/Windows/ActivePerl-Winfaq6.html
However, your problem may be different:
| Quote: | | I can not get the plans.cgi to execute or even come up. |
What exactly do you get when you point your browser at it? 500 server error?
If you're getting a "500 server error", you may want to open a command-line window, cd to "C:\path\to\your\plans\install" and type "perl plans.cgi"
This should print out a bunch of html. If it prints an error, it means something is wrong with the plans.cgi file itself.
If you edited it using notepad with word wrap on, it's probably totally mangled. Notepad is not a good editor to use. Wscite is probably the best:
http://prdownloads.sourceforge.net/scintilla/Sc167.exe
Hope this helps.
- Lloyd |
|
| Back to top |
|
 |
cglase
Joined: 14 Feb 2006 Posts: 3
|
Posted: Wed Feb 15, 2006 Post subject: |
|
|
Thank you for the quick reply. I restored a new copy of the plans.cgi, so that if I messed it up, it's now back to its original state.
When I attempt to view the plans.cgi script in my browser I receive a
HTTP Error 404 - File or directory not found. Which is strange because I can browse to it directly from the location, so I know it's there?? I am not getting the 505 server error.
I did as you asked and went to the path where I placed the plans.cgi, typed "perl plans.cgi" and it looks as if it listed the contents of the file, html as you indicated.
I still think my problem is that the .cgi extension does not seem to be recognized, however I established an extension relationship to the perl executable.
Ugh...can you think of anything else I can attempt? Thanks a million for the help. I'm determined to get this to work.
Chris |
|
| Back to top |
|
 |
cglase
Joined: 14 Feb 2006 Posts: 3
|
Posted: Wed Feb 15, 2006 Post subject: |
|
|
Got it! As I further read the "How do I configure Microsoft IIS 6 to support ActivePerl?" I found the information that I needed and now have success viewing the calendar. <relief>!
Now it's onto customization, etc. Thank you very much for your help. I hope to soon be able to post a link to our calendar on your example page.
Thanks again!
Chris |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|