Error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
stanko
Forum Newbie
Posts: 2
Joined: Sun Jun 26, 2005 6:16 am

Error

Post by stanko »

what is it? :(

Warning: fopen(poll/data/1119350930.txt): failed to open stream: Permission denied in /domains1/gh021400/public/www_root/poll/vote.php on line 57

Warning: fwrite(): supplied argument is not a valid stream resource in /domains1/gh021400/public/www_root/poll/vote.php on line 58

Warning: fclose(): supplied argument is not a valid stream resource in /domains1/gh021400/public/www_root/poll/vote.php on line 59

on local all runing normal?
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

need to make sure that the user that is executing the script has sufficient rights to open the file...
stanko
Forum Newbie
Posts: 2
Joined: Sun Jun 26, 2005 6:16 am

Post by stanko »

How? :?:
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

well, you need to know who is executing the script
and then you need to know how to check/give sufficient rights

-> time to hit your operating system/filesystem manual...
Post Reply