Page 1 of 1

problem with function.fopen failed to open stream

Posted: Fri Apr 03, 2009 12:33 pm
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..?

Re: problem with function.fopen failed to open stream

Posted: Fri Apr 03, 2009 1:28 pm
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..

Re: problem with function.fopen failed to open stream

Posted: Sat Apr 04, 2009 8:47 am
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?