View previous topic :: View next topic |
Author |
Message |
Johii -
Joined: 23 Dec 2003 Posts: 2
|
Posted: Tue Dec 23, 2003 4:24 am Post subject: How do i get poll it 2.0 to work? |
|
|
My problem is that when i run the script: http://127.0.0.1/cgi-bin/Poll_It_v2.05.cgi It says: Template : File '/pollit_files/_poll.html' does not exist
Any surgestions and i would be werry happy ! :) |
|
Back to top |
|
|
Johii -
Joined: 23 Dec 2003 Posts: 2
|
Posted: Tue Dec 23, 2003 4:32 am Post subject: |
|
|
By the way my log says:
'pwd' blev ikke genkendt som en intern eller ekstern kommando,
et program eller en batchfil.
Witch in english means:
'pwd' was not reconised as an internal or external command, a program or a batchfile. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Dec 23, 2003 6:00 pm Post subject: Re: How do i get poll it 2.0 to work? |
|
|
Johii,
The problem comes from the script which is made to run on UNIX only. With some hacking you can avoid that 'pwd' error (pwd is UNIX command).
Open the cgi script and locate the lines:
Code: | if ($0=~m#^(.*)(\\|/)#) { $cgidir = $1; }
else { $cgidir = `pwd`; chomp $cgidir; } |
and change them to:
Code: |
$cgidir="c:/the/path/to/poll_it/directory"
|
Of course, change the value of $cgidir to the full path to the directory where your polli_it script is. Use / instead of \. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|