How do i get poll it 2.0 to work?

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
Johii
-


Joined: 23 Dec 2003
Posts: 2

PostPosted: Tue Dec 23, 2003 4:24 am    Post subject: How do i get poll it 2.0 to work? Reply with quote

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 View user's profile Send private message
Johii
-


Joined: 23 Dec 2003
Posts: 2

PostPosted: Tue Dec 23, 2003 4:32 am    Post subject: Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Dec 23, 2003 6:00 pm    Post subject: Re: How do i get poll it 2.0 to work? Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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


Powered by phpBB phpBB Group