problem with function.fopen failed to open stream

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
georgila
Forum Newbie
Posts: 3
Joined: Fri Apr 03, 2009 12:32 pm

problem with function.fopen failed to open stream

Post by georgila »

hello.
i have a php file and got stuck with this error :

fopen(/choise_out.txt) [function.fopen]: failed to open stream: No such file or directory in C:\wamp\www\system\askisi.php on line 140

after hours of googling , i didnt find a solution..

the paradox is that in the first times, it was working.. i work with VISTA and i think that is something about permissions , or something to change in php.ini..

any help please..?
georgila
Forum Newbie
Posts: 3
Joined: Fri Apr 03, 2009 12:32 pm

Re: problem with function.fopen failed to open stream

Post by georgila »

o no... i want to open the C:\\choise_out.txt.. Have i to write it in another way?

and sometimes works and some others, no..and i have tested and with XP and with VIsta..

Maybe it is something with permisions for opening files? or some line to change with php.ini?
I ve found after googling that a guy solved that, cleaning the cache files in his unix system.
but with windows??
which cache files? wamp-php have their own cache files?

thank you so much for your reply..
georgila
Forum Newbie
Posts: 3
Joined: Fri Apr 03, 2009 12:32 pm

Re: problem with function.fopen failed to open stream

Post by georgila »

thank you for the reply..

some times it works fine , and some others no. Most of them, no.
i am searching two days for that....i dont know what else to do...

is there something like php cache that i must clear?
Post Reply