Post new topic Reply to topic  [ 7 posts ] 
 Post subject: Online Voting Configurator
PostPosted: 2008-08-16 (19:11) 
Site Admin

Joined: 2003-07-27 (00:49)
Posts: 7357
I have whipped up an online configurator that allows you to create a Voting Script configuration file without actually editing the configuration file.

Step 1

Create your poll and download the file

Voting Script Online Configurator


Step 2

Upload the file to your voting script on your server. You can either rename the voting.php to index.php or call the voting.php in your browser.

Enjoy.

Ralf


Top
 Profile  
 
 Post subject: Re: Online Voting Configurator
PostPosted: 2010-01-28 (10:48) 

Joined: 2010-01-28 (10:27)
Posts: 2
Thanks for a very good site!

I have downloaded the polling scripts and uploaded it to the webserver running win xp...
I have some initial (configuration/installation) problems getting the system running, (or I might have problems understanding how the system functions).

I get the following error message
when I try to run the system:
\polltest\index.php

"
Warning: fopen(./logfiles/log.txt) [function.fopen]: failed to create stream: Permission denied in c:\inetpub\wwwroot\polltest\inc\voting.class.inc.php on line 66
"

What is the problem, and
how do I solve it?

Best,
Jarle


Top
 Profile  
 
 Post subject: Re: Online Voting Configurator
PostPosted: 2010-01-28 (11:22) 
Site Admin

Joined: 2003-07-27 (00:49)
Posts: 7357
You need to make the log file writable.

Ralf


Top
 Profile  
 
 Post subject: Re: Online Voting Configurator
PostPosted: 2010-01-28 (13:19) 

Joined: 2010-01-28 (10:27)
Posts: 2
I thing you are right. The problem persist when running the scripts on WindowsXP IIS. But when I upload it to a unix/linux-server, everything is OK.


What could be the problem when I try to run the system on a WindowsXP IIS ?
Best,
Jarle


Top
 Profile  
 
 Post subject: Re: Online Voting Configurator
PostPosted: 2010-01-28 (15:06) 
Site Admin

Joined: 2003-07-27 (00:49)
Posts: 7357
As I said, the log file is not writable. I know that it is possible to change file permissions on IIS and make a file writable. Unfortunately, I don't know how.

Ralf


Top
 Profile  
 
 Post subject: Re: Online Voting Configurator
PostPosted: 2010-06-16 (21:18) 

Joined: 2010-01-20 (22:04)
Posts: 5
Hi Ralf

I have just downloaded this script, and it works great :o)

Before I purchase a license, I would like to know if its possible to save the voting.php on the server, instead of downloading it and upload it?

I found this piece of code in admin/index.php, and think something could be changed here to do the job?

Code:
      // Send the finished file to download   
        if (isset($this->post['downloadFile'])) {
            file_put_contents('./files/' . time(), $this->processConfigurationFile());
           
           
            $this->sendDownload(
                $this->processConfigurationFile(),
                $this->downloadFileName,
                self::data
                );
        }


Looking forward to hearing from you


Top
 Profile  
 
 Post subject: Re: Online Voting Configurator
PostPosted: 2010-06-18 (09:22) 
Site Admin

Joined: 2003-07-27 (00:49)
Posts: 7357
You would have to change the path in the function file_put_contents().

Ralf


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


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
cron

Resources:   Schwerin    Private Krankenversicherung    Krankenversicherung    Website Tools Collection    Speed Camera Database    Radarfallen-Datenbank    Speed Camera Database    Teeny Weeny URL
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr