tilttalk  

RE: More You Make the Call Strangeness

Signs, Molly
Fri, 27 May 2005 10:45:01 -0700

It sounds like you still don't have the correct permissions on the text
file that the poll writes to.  Check the path to the file in line 1 of
poll.phtml and make sure that users are able to write to that file.  My
path on a windows computer is to:
$past_votes1 = "D:\myfile\votes_poll1.txt"

I moved it so that it is not in the same folder as the rest of the tilt
files and I gave it proper permissions at the folder and file level.

You may have already checked this.
 Molly


-----Original Message-----
From: [EMAIL PROTECTED]
[EMAIL PROTECTED] On Behalf Of Andrea R. Lee
Sent: Wednesday, May 25, 2005 12:05 PM
To: tilttalk@lists.cc.utexas.edu
Subject: More You Make the Call Strangeness


Again, many thanks to everyone who responded to my questions about You
make 
the Call. I have modified the poll.phtml file to make it php. I have
updated 
the permissions on the call.htm file so it is executable. 

What I have now is very odd. Fillinf out the poll, then clicking "make
the 
call", brings up the response page with the numbers displaying the
numbers 
that are already in the text files, with the graphs showing up, but
nothing 
increments. Then, the top half of the screen is a series of error
messages 
that I can't figure out. If the results are working, why am I still
getting 
errors?

These are the messages. If anyone can help me decipher these, I'd really

appreciate the input!

Warning: fopen(votes_poll1): failed to open stream: Permission denied 
in /var/www/html/library/tilt_files/module3/poll.php on line 231

Warning: fputs(): supplied argument is not a valid stream resource 
in /var/www/html/library/tilt_files/module3/poll.php on line 237

Warning: fclose(): supplied argument is not a valid stream resource 
in /var/www/html/library/tilt_files/module3/poll.php on line 239

Warning: fopen(votes_poll2): failed to open stream: Permission denied 
in /var/www/html/library/tilt_files/module3/poll.php on line 242

Warning: fputs(): supplied argument is not a valid stream resource 
in /var/www/html/library/tilt_files/module3/poll.php on line 248

Warning: fclose(): supplied argument is not a valid stream resource 
in /var/www/html/library/tilt_files/module3/poll.php on line 250

Warning: fopen(votes_poll3): failed to open stream: Permission denied 
in /var/www/html/library/tilt_files/module3/poll.php on line 253

Warning: fputs(): supplied argument is not a valid stream resource 
in /var/www/html/library/tilt_files/module3/poll.php on line 259

Warning: fclose(): supplied argument is not a valid stream resource 
in /var/www/html/library/tilt_files/module3/poll.php on line 261

Warning: fopen(votes_poll4): failed to open stream: Permission denied 
in /var/www/html/library/tilt_files/module3/poll.php on line 264

Warning: fputs(): supplied argument is not a valid stream resource 
in /var/www/html/library/tilt_files/module3/poll.php on line 270

Warning: fclose(): supplied argument is not a valid stream resource 
in /var/www/html/library/tilt_files/module3/poll.php on line 272


Andrea R. Lee
Information Integration Architect
Bowman Library, Menlo College
[EMAIL PROTECTED]
(650)543-3934

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/