Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunitySetup and InstallationInstallation and Setup (Moderators: scott, DanO, Marty)It ask me to save the .pl file when I click
Pages: [1]   Go Down
Print
Author Topic: It ask me to save the .pl file when I click  (Read 878 times)
0 Members and 1 Guest are viewing this topic.
newkid
Guest
« on: April 04, 2002, 10:59:00 AM »

hi.
i installed and run from the browser calender.pl and calender_admin.pl. Everything is perfect! BUT. when i click on any of the date, month, etc., [just any link clickable,] a window will come out and say if I want to save the file "calender.pl" [if i'm running calender.pl]. It's something like when u click on your favorite website to download file and a window will always pop out to ask u if u want to open the file from the location or save the file to disk.

I dont know what's up with this error. Anyone could please?  I'm running Apache server on win2000. My browser is IE 5.0.

Thank you!!

Logged
Scott
Guest
« Reply #1 on: April 04, 2002, 11:04:00 AM »

Could you give an example URL?

------------------
Scott
CalendarScript.com


Logged
newkid
Guest
« Reply #2 on: April 04, 2002, 11:07:00 AM »

i dont have url since i'm running my apache server on the localhost at home. i've tried doing the same thing on the PC in my company and there was no such problem. I wonder is there anything to do with IE 5? The only difference between my PC at home and work is I've IE 5.0 at home and IE 5.5 at work. What should I try?
Logged
TubaDave
New Member
*

Karma: 0
Offline Offline

Posts: 0

Student


WWW
« Reply #3 on: April 04, 2002, 01:50:00 PM »

Here's something to check.  Click on My Computer, then Tools in the menu, then Folder Options.  Click on the File Types tab, and scroll down to the PL extension.  Click it, then click the Advanced button.  Make sure that the "Confirm Open after Download" checkbox is not checked.  Note: these instructions are for XP, but I think it's about the same for Win2k.

------------------
David Whittaker
http://www.uabcm.com/
http://www.csworkbench.com/

Logged

newkid
Guest
« Reply #4 on: April 05, 2002, 01:01:00 AM »

Hi thanks. I checked what you said about my computer etc. Still the problem exists. I tried using a second computer connected to my apache server. This time I didnt get the window that ask you to "save the file to disk or open the file from it's current location" etc. Instead, I get an error page on my browser that says cannot find server on it's title and wrote "The page cannot be displayed" error.
What is going on? This is really driving me nuts. Please help me.  
Logged
newkid
Guest
« Reply #5 on: April 05, 2002, 01:30:00 AM »

I've one more piece of infomation to add.
When I click on any one of those clickable link (dates/month, day, etc.), the address shown on my browser change to "d:\program files\apache group\apache\cgi-bin\calendar.pl". It should remain as something like www.xxx.com/cgi-bin/calendar.pl.
What shoudl I try now?!??? Thank you!!
Logged
TubaDave
New Member
*

Karma: 0
Offline Offline

Posts: 0

Student


WWW
« Reply #6 on: April 05, 2002, 02:51:00 AM »

Are you using localhost to view your calendar?  If so try viewing it from your ip address instead and see what happens.  If you used localhost to view the setup screens, that could have caused it to set up incorrectly.  For that matter, have you run calendar_admin.pl and gone through all 3 screens of the setup wizard?  If you have then your path was probably set up incorrectly.  To change it to the correct path, look in calendarscript/config.txt, make sure that calendar_admin_url and calendar_url have the correct web path to those two files (the http:// address).

Try those and let me know what happens.

------------------
David Whittaker
http://www.uabcm.com/
http://www.csworkbench.com/

Logged

newkid
Guest
« Reply #7 on: April 07, 2002, 10:21:00 PM »

I checked my path and found that something is wrong with the path. After I got them set up, everything runs! Thank you very much. I'm going to test drive it this week!
Logged
Jb
Guest
« Reply #8 on: May 24, 2002, 09:02:00 AM »

that helped me too with a problem I **had**
Thanks!
Joerg
Logged
Gaz
Guest
« Reply #9 on: May 27, 2002, 10:48:00 PM »

 http://www.aarkenuk.pwp.blueyonder.co.uk/cgi-bin/calendar/calendar_admin.pl

I have a similar problem, When i run this it asks me to download the file etc.

Reading the Documentation it shows the requierments. I think they are all met, but im unsure. Blueyonder support is crap at the best of times but I found this website.
http://help.blueyonder.co.uk/publish/commguide.html#cgi

Cheers.

Logged
TubaDave
New Member
*

Karma: 0
Offline Offline

Posts: 0

Student


WWW
« Reply #10 on: May 27, 2002, 11:43:00 PM »

Did you check that your permissions were set to 755 and that you uploaded in ASCII (not Auto)?

------------------
David Whittaker
http://www.uabcm.com/
http://www.csworkbench.com/

Logged

Hamhead
Guest
« Reply #11 on: October 27, 2004, 02:05:00 PM »

I got it working!

Apache2 for win32 with ActivePerl was prompting me to download .pl when I tried putting quotes around my shebang.  Having spaces in the path didn't help either:

#!"c:/PROGRAM FILES/PERL/BIN/PERL.EXE" ## 500 Internal Server Error
#!C:/PROGRAM FILES/PERL/BIN/PERL.EXE ## 500 Internal Server Error
#!C:/PROGRA~1/PERL/BIN/PERL.EXE ## works!

Oddly, lower case doesn't work either:
#!c:/progra_1/perl/bin/perl.exe ## 500 Internal Server Error

Logged
Hamhead
Guest
« Reply #12 on: October 27, 2004, 02:06:00 PM »

Hmm nevermind.  Lower case works.  I had a persistent typo!

#!c:/progra~1/perl/bin/perl.exe ## works!

Logged
Pages: [1]   Go Up
Print
Jump to: